4 ms·
Wait, what? js-ipfs runs in the browser just fine. See https://filemap.xyz/ https://filemap.xyz/.
by fiatjaf 9y ago
Wait, what?
js-ipfs runs in the browser just fine.
See https://filemap.xyz/ https://filemap.xyz/.
- kodablah 9y agoOnly some features work in the browser. Notably DHT and relaying does not. See the repository's "Please read this" at https://github.com/ipfs/js-ipfs/#project-status https://github.com/ipfs/js-ipfs/#project-status
- yoshuaw 9y agoAn in-browser DHT cannot be created until until we can have something that's analogous to opening a port in the browser. For a DHT to work, you need to be able to able to connect to be discoverable and be able to connect to multiple peers. WebRTC unfortunately doesn't allow for this yet.
- lgierth 9y agoBoth js-ipfs and go-ipfs have the circuit relay which effectively makes you dialable in the browser: https://github.com/libp2p/specs/tree/master/relay https://github.com/libp2p/specs/tree/master/relay