3 ms·
Does this mean you can actually connect to the real ipfs network from a browser without connecting to a gateway like ipfs.io?
by eitland 9y ago
Does this mean you can actually connect to the real ipfs network from a browser without connecting to a gateway like ipfs.io?
- dranoel0226 9y agothat, you cannot
- eitland 9y agoDo you now for certain? Because both the parent post and the repo seems to indicate otherwise and the only reason I ask is because that sounds a little to amazing.
- diggan 9y agoYes, you can. Please try to make sure the information you write is correct. Quick look at the repository I linked above would have made this clear.
- fulafel 9y agoWhat part of the repository says this? I'm having trouble imaginging how it would work, unless the mainstream IPFS network now supports WebRTC?
- diggan 9y agoLooking at the readme, I noticed our examples our not as featured as I thought so sorry for the harshness. But following the link to the examples, leads to a example called "Tutorial - Transfer files between the browser and other IPFS nodes" which explains how you can connect a js-ipfs node with other nodes, like go-ipfs that runs on desktop. Link: https://github.com/ipfs/js-ipfs/tree/master/examples/exchange-files-in-browser https://github.com/ipfs/js-ipfs/tree/master/examples/exchang... go-ipfs, which I guess you refer to with the mainstream network, has support for websockets which the browser nodes has support for as well, so they can interop.
- CryoLogic 9y agoIPFS can work in the browser via sharing over WebRTC but not UDP/TCP. So it is not great, but does work. WebTorrent is also WebRTC fyi. The tech isn't quite there yet, but eventually yes everyone's machine could be a CDN of sorts.