#bittorrent #protocols #peer #client #cli #following #messaging

rustybit-bittorrent-peer-protocol

An implementation of bittorrent peer messaging protocol

1 stable release

1.0.0 Aug 25, 2024

#129 in #bittorrent

Download history 146/week @ 2024-08-24 20/week @ 2024-08-31

166 downloads per month
Used in 2 crates (via rustybit-lib)

Apache-2.0

16KB
303 lines

RustyBit

A simple CLI bittorrent client.

It also partially supports the DHT protocol.

Installation

cargo install rustybit

Usage

To download a torrent into the $(pwd)/.downloads folder, run the following command:

rustybit <torrent_path>

If you want to change the output directory, use this command instead:

rustybit <torrent_path> -o <output_dir_path>

Missing features

It currently misses the following features (and I'm not sure whether I would add them):

  • Seeding torrents
  • Extension protocol support
  • Full DHT node
  • Downloading multiple torrents in parallel
  • Pausing/resuming torrents
  • Proper GUI/TUI

Dependencies

~3.5–9.5MB
~89K SLoC