Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/billvog/my-torrent
Yet one more BitTorrent implementation.. this time in Zig 🦎
https://github.com/billvog/my-torrent
bittorrent zig
Last synced: 10 days ago
JSON representation
Yet one more BitTorrent implementation.. this time in Zig 🦎
- Host: GitHub
- URL: https://github.com/billvog/my-torrent
- Owner: billvog
- License: mit
- Created: 2024-12-01T12:14:53.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-12T16:59:53.000Z (2 months ago)
- Last Synced: 2024-12-12T18:18:19.077Z (2 months ago)
- Topics: bittorrent, zig
- Language: Zig
- Homepage:
- Size: 75.2 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 😎