A minimal BitTorrent client written in Rust, built to understand and implement the BitTorrent protocol from scratch.
- Parses
.torrentfiles - Communicates with trackers
- Establishes peer connections
- Downloads pieces using the BitTorrent protocol
- Written with a focus on correctness and learning
This project was built to deeply understand:
- The BitTorrent protocol
- Peer-to-peer networking
- Binary protocols and serialization
- Systems programming in Rust
It is intended primarily as a learning and experimental project.
- Rust (latest stable recommended)
cargo build --releasecargo run -- <path-to-torrent-file>