@garbados reminds me a bit of my friend @forestjohnson 's project to do in-browser p2p torrent stuff.

Follow

@starless @garbados

I gave up on using webtorrent for that. I wanted to support live video streams but BitTorrent in general is architecturally unsuited to dynamic / low-latency content.

BitTorrent/WebTorrent would probably work ok-ish for p2p DropBox.. but every time you add or remove a file you'll have to either make a new torrent and a new magnet link and somehow signal all the peers to reconnect, or else simply add a new additional torrent w/ its own swarm (network of peers).

P2P is hard and can't be perfect 😢 if you want it to be accessible in the web browser from an LTE/5G connection for example, you'll have to ensure that at least one of your peers has a publicly dial-able TCP listener, for example, via uPnP on the router/NAT it is hosted behind. But uPnP is often seen as "bad stuff that should be disabled" & it doesn't always work anyways.

In terms of an easy way to make the peers accessible in the web browser over HTTP (not webrtc) my other project called greenhouse can do that. but its not really ready for "prod" yet. still goes down all the time.

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.