How to access IPFS content from browser instance

When a user adds content to IPFS in the browser the content is immediately available by ipfs.files.cating that content. But that same content does not seem to be available outside of the browser. So is there a way for other users to pin a CID that has been added in a browser?

Have come across quite a few examples that claim that this works but none have worked for us yet. That is, no CIDs added in the browser are viewable in the gateway.

Like this one: https://www.reddit.com/r/ipfs/comments/63yuw6/connect_to_peers_with_ipfsjs_in_browser/

Probably this is related to the lack of DHT and Resource Discovery in js-ipfs! Maybe next version? (Or use js-ipfs-api )

1 Like