use-tracker-client
БесплатноБез исполняемых скриптовНе проверенMake BitTorrent announce and scrape requests to UDP and HTTP trackers with the tracker_client CLI. Use when testing a tracker with announce or scrape requests.
от torrust★ 539 звёзд на GitHubОб этом скилле
Use Tracker Client
Prerequisites
A running tracker. The default development config starts UDP trackers on ports 6969 and 6868, HTTP trackers on ports 7070 and 7171:
cargo run
Skill Links
This skill depends on these artifacts. If any of them change, review this skill.
console/tracker-client/src/console/clients/unified/app.rsconsole/tracker-client/src/console/clients/unified/http.rsconsole/tracker-client/src/console/clients/unified/udp.rsconsole/tracker-client/Cargo.tomlpackages/http-protocol/src/v1/requests/announce.rspackages/http-protocol/src/v1/responses/announce/
Use the marker skill-link: use-tracker-client in affected artifacts.
Quick Start
The unified tracker_client binary is in the torrust-tracker-client package:
tracker_clientwrites JSON to stdout and refuses to run when stdout is a terminal (exit 2, atty_refusalrecord on stderr), so the commands below pipe the output tojq. Pipe or redirect it the same way in your own commands.
cargo run -p torrust-tracker-client --bin tracker_client -- <protocol> <command> <args...>
The binary supports three top-level subcommands:
| Subcommand | Description |
|---|---|
http |
HTTP tracker announce and scrape |
udp |
UDP tracker announce and scrape |
check |
Tracker checker (health monitoring) |
HTTP Client
HTTP Announce
cargo run -p torrust-tracker-client --bin tracker_client -- http announce <tracker_url> <info_hash> | jq .
Example:
cargo run -p torrust-tracker-client --bin tracker_client -- http announce http://127.0.0.1:7070 9c38422213e30bff212b30c360d26f9a02136422 | jq .
Response (JSON):
{
"complete": 1,
"incomplete": 0,
"interval": 120,
"min interval": 120,
"peers": []
}
Options:
| Option | Type | Description |
|---|---|---|
--event |
enum | started, stopped, completed |
--uploaded |
u64 | Bytes uploaded |
--downloaded |
u64 | Bytes downloaded |
--left |
u64 | Bytes left to download |
--port |
u16 | Client port (non-zero) |
--peer-addr |
IpAddr | Peer IP address |
--peer-id |
PeerId | 20-byte hex-encoded peer ID |
--compact |
enum | 0 (not accepted) or 1 (accepted) |
--format |
enum | json (default) or text |
Example with options:
cargo run -p torrust-tracker-client --bin tracker_client -- http announce \
http://127.0.0.1:7070 \
9c38422213e30bff212b30c360d26f9a02136422 \
--event started \
--uploaded 0 \
--downloaded 0 \
--left 1000 \
--port 6881 \
--compact 1 | jq .
HTTP Scrape
cargo run -p torrust-tracker-client --bin tracker_client -- http scrape <tracker_url> <info_hash> [info_hash...] | jq .
Example:
cargo run -p torrust-tracker-client --bin tracker_client -- http scrape http://127.0.0.1:7070 9c38422213e30bff212b30c360d26f9a02136422 | jq .
Response (JSON):
{
"9c38422213e30bff212b30c360d26f9a02136422": {
"complete": 1,
"downloaded": 0,
"incomplete": 0
}
}
Options:
| Option | Type | Description |
|---|---|---|
--format |
enum | json (default) or text |
Multiple info hashes can be provided (space-separated):
cargo run -p torrust-tracker-client --bin tracker_client -- http scrape \
http://127.0.0.1:7070 \
9c38422213e30bff212b30c360d26f9a02136422 \
aabbccddeeff00112233445566778899aabbccdd | jq .
UDP Client
UDP Announce
cargo run -p torrust-tracker-client --bin tracker_client -- udp announce <host:port> <info_hash> | jq .
Example:
cargo run -p torrust-tracker-client --bin tracker_client -- udp announce 127.0.0.1:6969 9c38422213e30bff212b30c360d26f9a02136422 | jq .
Response (JSON):
{
"AnnounceIpv4": {
"transaction_id": -888840697,
"announce_interval": 120,
"leechers": 0,
"seeders": 1,
"peers": []
}
}
Options:
| Option | Type | Description |
|---|---|---|
--event |
enum | none, started, stopped, completed |
--uploaded |
u64 | Bytes uploaded |
--downloaded |
u64 | Bytes downloaded |
--left |
u64 | Bytes left to download |
--port |
u16 | Client port (non-zero) |
--ip-address |
Ipv4Addr | Peer IPv4 address |
--peer-id |
hex |
Установить use-tracker-client в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл use-tracker-client?
Make BitTorrent announce and scrape requests to UDP and HTTP trackers with the tracker_client CLI. Use when testing a tracker with announce or scrape requests.
Как установить скилл use-tracker-client?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл use-tracker-client запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic