control-rutorrent

star 1

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 By wei schedule Updated 2/11/2026

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

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

from scripts.rutorrent_client import RuTorrentHttprpcClient

c = RuTorrentHttprpcClient("https://host/rutorrent", "user", "pass")
torrents = c.list_torrents()
c.start("INFO_HASH")
Install via CLI
npx skills add https://github.com/wei/rutorrent-skill --skill control-rutorrent
Repository Details
star Stars 1
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator