Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
torrent -> http plumbing
Go
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
go.mod
go.sum
main.go

README.md

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.

You can’t perform that action at this time.