Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wait, what?

js-ipfs runs in the browser just fine. See https://filemap.xyz/.



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


An 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.


Both 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: