Giter Club home page Giter Club logo

bittorrent-client's Introduction

BitTorrent Client Implementation in Go

This is a BitTorrent client implementation in Go language. The client is capable of downloading and uploading files using the BitTorrent protocol.BitTorrent is a protocol for downloading and distributing files across the Internet. It is a peer-to-peer protocol because users of the BitTorrent network, known as peers, download data in parts from one another. Peers are introduced to one another by trackers, which are central servers.

Seeder is a user that is seeding the file which means they allow other users to take bits of their data that has been fully downloaded in their computer.

Requirements

  • Go version 1.16 or later
  • Git

Installation

  1. Clone this repository:

git clone https://github.com/kidussintayehu/BitTorrent-Client.git

  1. Change to the directory where the repository was cloned:

cd BitTorrent-Client

  1. Build the client using the go build command:

go build

Usage

  1. Run the client with the following command:

go run main.go

For example:

./bittorrent-client ~/testfiles/debian-10.2.0-amd64-netinst.iso.torrent ~/downloads/

  1. The client will start downloading the file. The progress of the download will be displayed in the terminal.

  2. Once the download is complete, the file will be saved to the download directory specified in the command.

Features

  • Download and upload files using the BitTorrent protocol.
  • Support for multiple peers.
  • Ability to resume downloads.

bittorrent-client's People

Contributors

eyasutesfu avatar gizaw-agodo avatar tibeb-dev avatar naolaklilu avatar brownoak avatar aklile-yilma avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.