Skip to content

parekh0711/torrent-client

Repository files navigation

Project Description

A CLI Bittorrent client for peer to peer sharing of files written in Python using multithreading. It works with any torrent file. It can download as well as upload files.

Supported Platforms

  • Linux

Requirements

  • Python 3.5 or later
  • bencodepy pip3 install bencodepy

Compilation Instructions

  • The most basic way to run the program is python3 main.py <path to torrent file>
  • The optional parameters are:
Parameter Syntax Definition
path -path <output-path> This is used to define output folder for the torrent. It must end with a /. The folder must exist.
download speed -dk <speed> This defines maximum download speed in kilobits per second.
download speed -dm <speed> This defines maximum download speed in megabits per second.
upload speed -uk <speed> This defines maximum upload speed in kilobits per second.
upload speed -um <speed> This defines maximum upload speed in megabits per second.
peers -peers <integer> This is the maximum number of peers that it can connect to. Default is 100.

Screenshots

CLI-Downloading CLI-Completed

About

A fully functional command line torrent client which supports seeding and downloading.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages