control-rutorrent
Control ruTorrent/rTorrent via HTTPRPC. List torrents, inspect files/peers/trackers, add torrents from URL or magnet links, run lifecycle actions (start/stop/pause/unpause/recheck/remove), or read global transfer statistics.
ソース情報
- リポジトリ
- wei/rutorrent-skill
- ソースの最終更新活動
- 2026年2月11日 05:07
- 検出された SKILL.md の言語
- 英語
- スター
- 1
- フォーク
- 0
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
ファイルエクスプローラー
3 ファイルSKILL.md を表示中
SKILL.md
ソースの指示 · 読み取り専用プレビュー- name
- control-rutorrent
- description
- Control ruTorrent/rTorrent via HTTPRPC. List torrents, inspect files/peers/trackers, add torrents from URL or magnet links, run lifecycle actions (start/stop/pause/unpause/recheck/remove), or read global transfer statistics.
# ruTorrent HTTPRPC
Use `scripts/rutorrent_client.py` to call ruTorrent HTTPRPC endpoints.
## Prepare Connection
1. Verify that the ruTorrent `httprpc` plugin is installed and enabled.
2. Export connection variables:
- `RUTORRENT_URL`
- `RUTORRENT_USER` (Optional)
- `RUTORRENT_PASS` (Optional)
3. Run commands with `python scripts/rutorrent_client.py <command>`.
## CLI Examples
```bash
python scripts/rutorrent_client.py list
python scripts/rutorrent_client.py add "magnet:?xt=..."
python scripts/rutorrent_client.py start <hash>
python scripts/rutorrent_client.py stop <hash>
python scripts/rutorrent_client.py remove <hash>
python scripts/rutorrent_client.py global-stats
```
## Library Usage
```python
from scripts.rutorrent_client import RuTorrentHttprpcClient
c = RuTorrentHttprpcClient("https://host/rutorrent", "user", "pass")
torrents = c.list_torrents()
c.start("INFO_HASH")
```
GitHubで見る