18 lines
428 B
Markdown
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
|