ну нихуя себе, как это великая ZOV OS и без своего торрент клиента, qbittorrent сосиииииииииииииииииииии
Find a file
itexpert228 bd5ebf2fd7
228
2026-03-07 19:40:49 +03:00
cmd/torrent-client huy 2026-03-06 12:02:52 +03:00
internal govno 2026-03-06 14:47:54 +03:00
scripts залупа 2026-03-06 12:52:01 +03:00
ui 228 2026-03-07 19:40:49 +03:00
.gitignore f 2026-03-06 15:05:46 +03:00
go.mod залупа 2026-03-06 12:52:01 +03:00
go.sum залупа 2026-03-06 12:52:01 +03:00
LICENSE Initial commit 2026-03-06 07:12:47 +00:00
README.md залупа 2026-03-06 12:52:01 +03:00

Ztorrent

Minimal BitTorrent client skeleton in Go.

Run

go run ./cmd/torrent-client

App starts a native desktop GUI window.

Current features

  • Parse .torrent metadata and piece hashes
  • Compute info_hash from raw info bytes (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.