Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAbility to update torrent content #556
Comments
This comment has been minimized.
This comment has been minimized.
|
You would need a central server to provide the updated/latest torrent. I've been looking a lot into this kind of things. On way is to reference the location of where I can find the located version inside the torrent. Another way, and I'd prefer because it can be built in top for WebTorrent for the browsers is that you, in your website download the latest .torrent and then render it. Something like In BTorrent, I'm making a browser that will support the exact features I propose. The "URLs" would be the infohashes/magnets/.torrent . Instead of linking with href you'd link with wtref. |
This comment has been minimized.
This comment has been minimized.
|
Could the update url be via dht that points to a new magnet link (the new torrent)? No central server required? For webtorrent videos, it seems videos are streamed so the file pieces have to be served sequentially for optimal viewing of video. So instead of href, wtref is a replacement and the browser accesses different resources as needed on demand? Or would the entire torrent need to complete first before serving updated content? |
This comment has been minimized.
This comment has been minimized.
|
This can be accomplished by an extension to the bittorrent protocol. You can seed a public key file and distribute verifiable updates across the network by sending signed messages to any peers you can find, and rebroadcasting valid signed messages that you receive. |
This comment has been minimized.
This comment has been minimized.
|
This is probably best accomplished outside of WebTorrent right now, with something like BEP44. This lets you set, get, and update key/values on BitTorrent DHT nodes. So this will let you update a "pointer" to point at the latest torrent. And you can implement a kind of linked list structure where each new torrent points to the last.
The (It won't work in the browser because there's no WebRTC DHT yet.) |
This comment has been minimized.
This comment has been minimized.
|
Feel free to continue discussing this topic here, but I'm going to close this since it's not an issue with WebTorrent. :) |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
Not sure how others are using WebTorrent. I'm curious about the ability to create a web site and publish updates to the web site. ZeroNet does this well for small web sites, but not for web sites that hundreds of megabytes of HTML.
I noticed Bittorrent has an enhancement draft for update URLs in Bittorrent: http://www.bittorrent.org/beps/bep_0039.html
Curious if WebTorrent is useful for publishing and updating large amounts of HTML.