ну нихуя себе, как это великая ZOV OS и без своего торрент клиента, qbittorrent сосиииииииииииииииииииии
| cmd/torrent-client | ||
| internal | ||
| scripts | ||
| ui | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| README.md | ||
| TODO.md | ||
Ztorrent
Minimal BitTorrent client skeleton in Go.
Run
go run ./cmd/torrent-client
App starts a native desktop GUI window.
Current features
- Parse
.torrentmetadata and piece hashes - Compute
info_hashfrom rawinfobytes (spec-compatible) - Single-file and multi-file torrents
- Send tracker announce requests via HTTP(S) and UDP trackers
- Parse compact peer list
- Multi-tracker fallback (including public trackers)
- Native GUI for loading torrents by path and browsing files
- Show tracker states, discovered peers, and torrent file list in the GUI
Build (macOS/Linux/Windows)
./scripts/build-all.sh
Note: for non-host targets with native GUI, cross C toolchains are required; unsupported targets are skipped.