Ztorrent/README.md
2026-03-06 12:14:23 +03:00

27 lines
611 B
Markdown

# Ztorrent
Minimal BitTorrent client skeleton in Go.
## Run
```bash
go run ./cmd/torrent-client
```
App starts a local GUI in your browser (auto-opens on macOS/Linux/Windows).
## 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
- Browser GUI for loading torrents by path or file upload
- Show loaded torrent status and files in the GUI
## Build (macOS/Linux/Windows)
```bash
./scripts/build-all.sh
```