Skip to content

namvu9/bitsy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitsy

WIP: bitsy is a simple bittorrent client that I wrote as a learning experience and to better understand the BitTorrent P2P protocol. It implements only the core parts of the spec (BEP-3) needed for basic functionality (download/upload).

I've only tested this on my own local setup, so it's unlikely to work on other systems as is, but in theory it can be used as follows:

go install github.com/namvu9/bitsy/bitsy

bitsy download <torrent file|magnet url>
bitsy download --files 0,1 <torrent|magnet> # Download a subset of files in a torrent

bitsy

  • Only supports UDP trackers. HTTP trackers are not supported, but most trackers found in the wild are UDP trackers anyway.
  • Supports magnet links (BEP-9)
  • Only supports a single download at a time, but each download can be resumed (by invoking the client with the same torrent/magnet link).

Bitsy also comes with a few utilities. For example, the following command converts a magnet url to a torrent file:

bitsy getTorrent <url> > x.torrent

About

BitTorrent Client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages