https://github.com/billvog/my-torrent
A simple BitTorrent client in Zig 🦎
https://github.com/billvog/my-torrent
bittorrent zig
Last synced: over 1 year ago
JSON representation
A simple BitTorrent client in Zig 🦎
- Host: GitHub
- URL: https://github.com/billvog/my-torrent
- Owner: billvog
- License: mit
- Created: 2024-12-01T12:14:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-15T12:40:26.000Z (over 1 year ago)
- Last Synced: 2025-02-01T14:45:31.205Z (over 1 year ago)
- Topics: bittorrent, zig
- Language: Zig
- Homepage:
- Size: 109 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# my-torrent
A simple BitTorrent client written in Zig ⚡️
## Supported Specifications
- [The BitTorrent Protocol Specification — bep 3](https://www.bittorrent.org/beps/bep_0003.html)
- [UDP Tracker Protocol — bep 15](https://www.bittorrent.org/beps/bep_0015.html)
- [Tracker Returns Compact Peer Lists — bep 23](https://www.bittorrent.org/beps/bep_0023.html)
## Build & Run
### Requirements
- Zig (version 0.13.0)
### Instructions
To build & run for **Debuging**:
`zig build run -- info -f ./samples/sample.torrent`
To build for **Release**:
`zig build -Doptimize=ReleaseFast`
and then run from `./zig-out/bin/my-torrent`.
## Contribute
I'll be happy to review your PR 😎