BitTorrent client and library in Go.
- Core protocol
- Fast extension
- Magnet links
- Multiple trackers
- UDP trackers
- DHT
- PEX
- Message stream encryption
- Fast resuming
- IP blocklist
- RPC server & client
- Console UI
- WebSeed
Get the latest binary from releases page or install development version:
git clone git@github.com:cenkalti/rain $GOPATH/src/github.com/cenkalti/rain
cd $GOPATH/src/github.com/cenkalti/rain
dep ensure
go install
rain server
command runs a RPC server.rain client add <magnet_or_torrent>
adds a torrent and print it's ID.rain client stats <ID>
prints the stats of the torrent.
Run rain help
to see other commands.