Answer the question
In order to leave comments, you need to log in
Is there a script that can serve as a p2p to http converter?
That is, by specifying a torrent file, or a magnet link and give out an http stream to a file or files
Answer the question
In order to leave comments, you need to log in
Standalone JS script - no.
This should be a full-fledged service that has a torrent client on the server and downloads files via p2p, and then sends the file via http.
On the node - easily
https://github.com/webtorrent/bittorrent-tracker
And in the P2P browser you can arrange via webRTC , and if you find (or write) the appropriate torrent tracker, then you can send data via HTTP somewhere.
https://webtorrent.io/ not?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question