Description
torrent is a set of BitTorrent packages and command-line utilities written in Go. It is aimed mainly at developers who want to use a BitTorrent client as a library inside their own projects, and files inside a torrent are exposed through Go's standard io interfaces. The README says the code has run 24/7 in production with downstream services since late 2014, and that it was built partly to explore Go's concurrency and to stream data directly from the BitTorrent network. Supported features include seeking, read-ahead, protocol encryption, DHT, peer exchange, uTP, WebTorrent, WebSeeds and BitTorrent v2. Several storage backends are included, among them blob, file, bolt, mmap and sqlite, and you can write your own, for example to store data in a database. The repository also contains packages that are useful on their own, such as go-utp, dht, bencode and tracker. The library installs with go get and the commands with go install, and a changelog lists changes by version.…
Highlights
- Go library for BitTorrent clients and tools
- Streaming, seeking and read-ahead on torrent files
- DHT, peer exchange, uTP, WebSeeds and BitTorrent v2 support
- Several storage backends including file, bolt and sqlite
Ratings & Reviews
No ratings yet
Be the first to rate Torrent.
People also visit
Torrent FAQ
What is this project?
A BitTorrent client package and command-line utilities written in Go. It is built mainly to be used as a library by other Go projects.
How do I install it?
Run go get github.com/anacrolix/torrent to add the library to a Go project, or go install github.com/anacrolix/torrent/cmd/...@latest to install the commands.
Which protocol features are supported?
The README lists protocol encryption, DHT, PEX, uTP, WebTorrent, WebSeeds and BitTorrent v2, along with holepunching and many other BEPs.
Is it free to use?
The source is public on GitHub. The text shown does not name a license, so check the repository's license file before using it in a commercial product.
What are the best Torrent alternatives?
Popular alternatives to Torrent include Instant.io. See all Torrent alternatives

.png)