How to use IPFS from Javascript app without running ipfs node? : <p>I have javascript app (ReactJs) which will run as an android hybrid app on mobile devices. I do not want to run full IPFS node on a mobile device, because it will consume a lot of its memory and energy. How can I connect my app to IPFS then?</p>

<p>I saw <a href="https://github.com/ipfs/js-ipfs-api#importing-the-module-and-usage" rel="noreferrer">https://github.com/ipfs/js-ipfs-api#importing-the-module-and-usage</a>, but it does not look usable for a mobile device again as it runs as a separated service.</p>

<p>Probably I have to connect to some IPFS node at the internet through IPFS API (<a href="https://ipfs.io/docs/api/" rel="noreferrer">https://ipfs.io/docs/api/</a>), however is there a way to discover running nodes on the runtime and also to choose the fastest/closest one?</p>
