4 ms·
Beaker browser does look very cool. It would be even cooler if you used WebRTC to build p2p browsing into a website or browser extension.
by CuriouslyC 6y ago
Beaker browser does look very cool. It would be even cooler if you used WebRTC to build p2p browsing into a website or browser extension.
- jeswin 6y agoI don't think this is doable yet. To effectively do decentralized/p2p web in a mainstream browser, you'd need (some of) the features mentioned here - https://github.com/mozilla/libdweb https://github.com/mozilla/libdweb
- CuriouslyC 6y agoHow so? As I understand it, WebRTC gives you the ability to do a p2p web, you just need a bootstrap server to load scripts and do STUN. WebTorrent has DHTs working in the browser, not sure how much more decentralized you're talking about.
- jeswin 6y ago> WebTorrent has DHTs working in the browser, not sure how much more decentralized you're talking about. Not sure about how things work now, but IIRC WebTorrent web peers could not connect to native BitTorrent peers. Instead they would connect only to WebTorrent Desktop peers and other Web peers. The WebTorrent team of course is doing incredible work, and they've been able to convince some of the native torrent clients to support Web Torrent - so it kinda works in practice. So for a new protocol, the hard part would be to make all the non-browser peers speak WebRTC - which is nowhere as easy/robust as writing a TCP/UDP based peer [1]. [1]: Add - Things have certainly improved on this front. eg: https://github.com/webrtc-rs/webrtc https://github.com/webrtc-rs/webrtc