Skip to content

jorbush/GoTorrent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoTorrent

A BitTorrent client implementation in Go, designed to download files efficiently using the BitTorrent protocol.

demo.mp4

Requirements

Installation

Run the following command to install the project dependencies:

make install

Usage UI

Run the App

Run the client using the make command:

make start-ui

You can drag and drop a torrent file into the app to start downloading the content or select a file using the Browse button.

Once the download is complete, the downloaded file will be saved in the output directory.

Usage CLI

Download a Torrent File

Download a torrent file, for example, the Debian installation image:

curl -o input/debian.torrent https://cdimage.debian.org/debian-cd/current/amd64/bt-cd/debian-12.5.0-amd64-netinst.iso.torrent

Run CLI

Run the client using the make command:

make start-cli

This command will start the BitTorrent client, which will download the content of the torrent file saved in the input directory. For example, the Debian image.

Output

The downloaded file will be saved in the output directory.

Linting

Check the code for style issues:

make lint

References

About

A BitTorrent client implementation in Go

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published