So when the uploader uploads it the client can hash the file and use a nostr index like h while advertising so that we can search for it with nostr filters.
When someone is viewing a file we can search the network for who else has the same file, and even request for specific chunks from other peers. We're already chunking files in the PoC but its a little finicky.
Login to reply
Replies (9)
So the viewer themselves doesn't become part of the swarm? If so that's a missed opportunity for quickly scaling the number of available sources.
Lots of work happening in this vein right now. This from @Enki looks promising too.

Sovbit Git
torrent-gateway
A comprehensive unified content distribution system that seamlessly integrates BitTorrent protocol, WebSeed technology, DHT peer discovery, built-i...
That can happen too if we also hash chunks and broadcast them, and the viewer accepts that they would be rebroadcasting.
The protocol is simple the client side back breaking work is what will be required to do all this.
It can be the best idea ever, but if no clients integrate it doesn't matter. Even if only *some* major clients don't integrate it's probably a lost cause, because people won't use it due to lower reach. This happens often with Amethyst building in features, but damus & primal are nowhere to be seen.
I wish you luck though.
Thats how protocols work also thats what I like about the spec I've proposed here it can go from something as simple as a wormhole over nostr to a full blown torrent replacement. The clients can chose the complexity they wish to implement. TBH im just going to spec it out and only build out the parts I need for formstr.
The rest I may or may not build upon when I have time.
But the rest is here, waiting to be built upon, if someone wishes to continue.
I know my fair share about clients not adopting my useful specs (polls) 🤣
So now I only build stuff that would atleast be useful for me regardless of other clients adopting it.
Christ, that code is so old. I need to actually commit something again.
🤣

