Skip to content

A torrent client written in go that use it's own bencode parser, for now it work both with UDP and http tracker, but it does not work with multi-file tracker yet.

Notifications You must be signed in to change notification settings

LeonardoKaftal/go-torrent-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GO-TORRENT-CLIENT

A tiny torrent client written in Go that uses its own bencode parser. It works with HTTP trackers and UDP trackers.

Compliant with the following parts of the BitTorrent protocol:

Build

  • git clone [email protected]:LeonardoKaftal/go-torrent-client.git
  • cd go-torrent-client
  • go build -o torrent-client

If you are on a UNIX-based system:

  • chmod +x torrent-client
  • ./torrent-client torrent-path output-path

If you are on Windows:

  • torrent-client.exe torrent-path output-path

TODO

  • Add multifile torrent support
  • Add magnet link support
  • Improve the performance (for example, by implementing a priority for each peer based on its speed)

Video

https://drive.google.com/file/d/1CYuAo63BMrtDNcvNxJpSbuE5hS-zbTUC/view

About

A torrent client written in go that use it's own bencode parser, for now it work both with UDP and http tracker, but it does not work with multi-file tracker yet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages