#dht #bittorrent #client #cli #partial #leechy

rustybit-leechy-dht

A partial (leechy) DHT implementation

1 stable release

1.0.0 Aug 25, 2024

#63 in #dht

Download history 133/week @ 2024-08-21 32/week @ 2024-08-28 7/week @ 2024-09-11

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

Apache-2.0

62KB
1.5K SLoC

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

~6–17MB
~201K SLoC