Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rbt

BitTorrent client in Raku

Install

You will need raku.

You will also need to install those Raku modules using zef:

Usage

Its pretty basic and straightforward:

$ ./bin/rbt 
Usage:
  ./bin/rbt [-o|--output-path=<Str>] [--pipeline[=UInt]] <file>
  
    <file>                    .torrent file to download
    -o|--output-path=<Str>    where to download the file(s) [default: '.']
    --pipeline[=UInt]         pipeline size [default: 15]

Example of when downloading:

$ ./bin/rbt -o ./tmp ./resources/debian.torrent 
debian-12.6.0-amd64-netinst.iso:
[░░ ░░ ░  ░ ░  ░ ░░   ░░░ ░   ░░   ░  ░ ░  ░ ░░  ░░░  ░ ░    ░ ] 103/2524 pieces
41 peers

TODO

  • Allow users to specify a port, to send it to the tracker and listen for peers
  • Better handling of the last fiew pieces to download

About

BitTorrent client in Raku

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages