httorrent
A stupid torrent/http proxy.
Usage
go get -u github.com/q3k/httorrent
httorrent # (it's in your GOPATH, eg ~/go/bin)
Then, in a browser, go to
http://127.0.0.1:2137/t/magnet:?xt=urn:btih:E27D92C218134F1E3C54FCEF8513F9530294BCA3
(or any other magnet link)
This will either start streaming the first file, or show you a directory of available files (if more than one is present).
This also supports HTTP range requests, so mpv/ffmpeg should eat this up pretty nicely.
For status, go to
http://127.0.0.1:2137/
Options
Usage of ./httorrent:
-listen string
Address to listen on (default "127.0.0.1:2137")
License
Files in this repository are licensed under the WTFPL version 2. See LICENSE.