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

rustybit-leechy-dht

A partial (leechy) DHT implementation

1 stable release

1.0.0 Aug 25, 2024

#30 in #dht

Download history 137/week @ 2024-08-22 28/week @ 2024-08-29 17/week @ 2024-09-12 16/week @ 2024-09-19 21/week @ 2024-09-26 13/week @ 2024-10-03

52 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
~207K SLoC