Skip to content

baarayy/MagnetFlow

Repository files navigation

MagnetFlow Logo

A simple BitTorrent client made as a side project for educational purposes. During the development of the MagnetFlow project, several key concepts and techniques were learned and applied. This document highlights the main areas of learning:

1. Parsing a Bencoded File.
2. Processing Pieces of the Torrent and Hashing Them.
3. Getting Trackers and Finding Peers.
4. Establishing the Handshake Between Peers.
5. Understanding How P2P Works.

Demo

Watch the video

Installation

Follow these instructions:

clone: git clone git@github.com:baarayy/MagnetFlow.git
change directory: cd MagnetFlow
build binary: go build
run the client: ./magnetflow fileName.torrent
outputFileName

Contributing

If you encounter any issues or have any recommended enhancement about MagnetFlow, feel free to fork the repository and make your own changes, or simply open an issue.

Releases

No releases published

Packages

No packages published

Languages