Skip to content
Tiny BitTorrent client written in Go
Go
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Add circleci file Jan 3, 2020
bitfield Add bounds checking to bitfield Dec 30, 2019
client Implement peer String() method Jan 3, 2020
handshake Rewrite handshake Serialize Jan 12, 2020
message
p2p Remove buffering from results channel Jan 4, 2020
peers Implement peer String() method Jan 3, 2020
torrentfile Test tracker Jan 2, 2020
LICENSE Create LICENSE Dec 30, 2019
README.md Update README.md Jan 4, 2020
go.mod Add go mod files Dec 30, 2019
go.sum Implement golden file test for torrentfile.Open Dec 31, 2019
main.go Simplify download interface Jan 2, 2020

README.md

torrent-client

CircleCI

Tiny BitTorrent client written in Go. Read the blog post: https://blog.jse.li/posts/torrent/

Install

go get github.com/veggiedefender/torrent-client

Usage

Try downloading Debian!

torrent-client debian-10.2.0-amd64-netinst.iso.torrent debian.iso

asciicast

Limitations

  • Only supports .torrent files (no magnet links)
  • Only supports HTTP trackers
  • Does not support multi-file torrents
  • Strictly leeches (does not support uploading pieces)
You can’t perform that action at this time.