Simple BitTorrent client made for practice.
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
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/ |