Skip to content

KendrickAng/bittorrent-client-with-magnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BitTorrent Client (with 🧲 support!)

A command-line BitTorrent client implementing BEP 3: The BitTorrent Protocol Specification (torrent file support) and BEP 9: Extension for Peers to Send Metadata Files (magnet link support).

asciicast

💡 Interested in how this works under the hood? Check out the wiki!

Quickstart

First build the btclient binary:

go build

Next, either download a torrent starting from a magnet link:

./btclient -type=magnet sample.magnet

Or download a torrent starting from a .torrent file:

./btclient -type=torrent sample.torrent

Credits

CodeCrafters for their sample .torrent and .magnet files.

About

Bittorrent client implementation with magnet link support

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages