1
0
mirror of https://github.com/veggiedefender/torrent-client.git synced 2025-11-06 09:29:16 +02:00
Go to file
Jesse Li 70713e028d Fix race condition
The download loop might finish and kill the worker goroutine before it's
done sending HAVE messages. Switching the order of these two lines
trivially fixes the issue (but it's still brittle)
2020-01-02 10:41:24 -05:00
2019-12-30 10:34:43 -05:00
2020-01-02 10:30:30 -05:00
2020-01-02 10:30:30 -05:00
2020-01-02 10:41:24 -05:00
2019-12-29 19:36:24 -05:00
2019-12-29 20:47:44 -05:00
2019-12-29 14:04:36 -05:00
2019-12-30 10:56:35 -05:00

torrent-client

Torrent downloader written in Go

Install

go get github.com/veggiedefender/torrent-client

Usage

Try downloading Debian!

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

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)
Description
Tiny BitTorrent client written in Go
Readme GPL-3.0 430 KiB
Languages
Go 100%