byr-cli
bởi 1morebuild
Search & ResearchTóm tắt
Use BYR CLI for auth, search, detail inspection, and safe torrent download planning with JSON envelopes.
Mô tả
Kỹ năng này làm gì
A CLI wrapper for the BYR torrent tracker. Handles authentication via cookie import, torrent search and browsing with category filters, detail inspection, and download execution with a mandatory dry-run step. All commands output JSON envelopes.
The --json flag on every command makes output machine-readable, enabling scripted pipelines without screen scraping the BYR web UI.
Khi nào nên dùng
- Search BYR torrents by keyword or IMDB ID
- Import Chrome or Safari session cookies for authentication
- Browse latest uploads filtered by category or seeder state
- Inspect torrent metadata before committing to a download
- Script automated download workflows with dry-run validation
Quy trình ví dụ
User asks: find the torrent for tt0111161 on BYR and download it to ~/Downloads
- 1
Run
byr auth status --verify --jsonto confirm authentication is valid - 2
Run
byr search --imdb tt0111161 --jsonto find matching torrents - 3
Run
byr get --id <torrent-id> --jsonto inspect title, size, and seeders - 4
Run
byr download --id <torrent-id> --output ~/Downloads --dry-run --jsonto verify sourceUrl and fileName - 5
Run
byr download --id <torrent-id> --output ~/Downloads --jsonto execute the download
Torrent file written to ~/Downloads with bytesWritten and outputPath confirmed in the JSON response
Yêu cầu
- byr CLI binary (Homebrew: 1MoreBuild/tap/byr-pt-cli, or npm: byr-pt-cli)
- BYR account with valid session cookies
Cài đặt
clawhub install 1morebuild/byr-cliChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.