3 ms·
Only 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-s
by kodablah 9y ago
Only 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