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에서 보기