Ztorrent/README.md
itexpert228 636fd5baa8
huy
2026-03-06 12:02:52 +03:00

18 lines
428 B
Markdown

# Ztorrent
Minimal BitTorrent client skeleton in Go.
## Run
```bash
go run ./cmd/torrent-client /path/to/file.torrent
```
## 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 request with compact peer mode
- Parse compact peer list
- Show loaded torrent status and files in the UI layer