Skip to content

Latest commit

 

History

History
28 lines (26 loc) · 1.24 KB

README.md

File metadata and controls

28 lines (26 loc) · 1.24 KB

buttorrent

Simple BitTorrent client made for practice.

Quick start

To download your torrent file you can follow these steps.

  • Clone the repository and build source files:
git clone https://github.com/kirillgarbar/buttorrent
cd buttorrent && mkdir build && cd build
cmake .. && cmake --build .
  • Then you can download the example torrent file:
./Buttorrent -f ../../result/ComputerNetworks.torrent -o ../../result/
  • Output will look like this
32.00 KB/s, 264/298 Pieces, 88.59%, 02:21

Commandline Options

The program supports the following commandline options:

Options Alternative Description Default
-f --torrentFile Path to the Torrent file REQUIRED
-o --outputDirectory The output directory to which the file will be downloaded result/