AraBlocks / ara-file-manager

Electron-based desktop app to publish and purchase content with ARA
https://ara.one/app
GNU Lesser General Public License v3.0
26 stars 4 forks source link

Design HTTP seeds #564

Open zootella opened 5 years ago

zootella commented 5 years ago

BitTorrent protocol extension proposals 17 and 19 describe a problem and possible solution that I'd like us to take a look at for Ara as well:

Many websites that list a BitTorrent download also provide a HTTP or FTP URL for the same file. The files are identical. A WebSeeding BitTorrent client can download from either source, putting all the parts together into one complete file. The HTTP or FTP server acts as a permanently unchoked seed.

https://www.bittorrent.org/beps/bep_0017.html http://www.bittorrent.org/beps/bep_0019.html

The user flow for a creator on Ara could be something like this:

  1. Creator uses FM on laptop to publish a folder
  2. FM gives creator an encrypted .tar.gz to upload but not link to their Wordpress/SquareSpace/any website
  3. Creator pastes HTTP link to where they uploaded the file back into FM
  4. ✨ (new stuff happens under the hood) ✨
  5. Creator posts ara link to Twitter, then promptly closes laptop lid and leaves coffee shop
  6. Fan clicks tweeted link, gets FM, buys Creator's work, and FM downloads and decrypts it from HTTP seed (because there are no other seeds available yet)