P
P
pixal2018-11-05 22:05:57
JavaScript
pixal, 2018-11-05 22:05:57

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

2 answer(s)
D
dollar, 2018-11-05
@dollar

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.

S
Stalker_RED, 2018-11-06
@Stalker_RED

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 question

Ask a Question

731 491 924 answers to any question