Skip to main content

Lightweight self-hosted session manager for Claude Code Remote Control

Project description

rcpilot

Claude Code RC is powerful but ephemeral. rcpilot gives it a home.

Self-hosted session manager for Claude Code Remote Control. Run it on a Raspberry Pi (or any always-on machine) and get a mobile-friendly web UI to launch, reconnect to, and manage your coding sessions from anywhere.

rcpilot on mobile


Features

  • Session management — launch, reconnect, kill, and name RC sessions per project; full history with terminal snapshots
  • Git integration — branch status, diff viewer, pull, and Claude-powered commit & push (auto-generates the commit message)
  • PR review — trigger a Claude code review on any open GitHub PR; results posted as a PR comment
  • Usage tracking — built-in Anthropic API proxy shows live 5h window utilization in the header
  • Schedulers — cron-based usage-window warmer and Claude CLI auto-updater, both configurable
  • Project import — clone a GitHub repo directly from the UI
  • YOLO mode — global toggle for --dangerously-skip-permissions
  • Watchdog — marks crashed or timed-out sessions automatically
  • Restart-safe — sessions survive rcpilot restarts and Pi reboots

Mobile-first UI, works great on iOS Safari and Android Chrome. No app install needed.


Quick start

uvx rcpilot          # one-shot, no install

Or install permanently and run as a systemd service:

uv tool install rcpilot

curl -o ~/.config/systemd/user/rcpilot.service \
  https://raw.githubusercontent.com/kjozsa/rcpilot/main/rcpilot.service
systemctl --user enable --now rcpilot

Open http://localhost:8000 (or your Pi's IP/Tailscale hostname on port 8000).


Configuration

Config is auto-created at ~/.config/rcpilot/config.toml on first run. All fields are optional.

projects_dir = "~/projects"   # each subdirectory becomes a project
host = "0.0.0.0"
port = 8000
db_path = "~/.config/rcpilot/pilot.db"

# Cron to fire "claude -p hi" and start the 5h rolling usage window
window_cron = "0 7,12,17 * * *"

# Cron to run "claude update" (set to "" to disable)
claude_update_cron = "0 6,18 * * *"

Supported cron syntax: *, */n, a-b, a,b,c (5-field, local time).


Requirements

  • Python 3.11+
  • claude — Claude Code CLI, on PATH and authenticated
  • gh — GitHub CLI, only needed for PR review

Security note

No authentication. Run on a trusted private network only (Tailscale, WireGuard, or local LAN). Do not expose port 8000 to the public internet.


MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rcpilot-1.0.2.tar.gz (37.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rcpilot-1.0.2-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

Details for the file rcpilot-1.0.2.tar.gz.

File metadata

  • Download URL: rcpilot-1.0.2.tar.gz
  • Upload date:
  • Size: 37.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for rcpilot-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e5bfb3705b843858d03649a8f4142a9bac4063412a2bdceb896d352e00842c77
MD5 ca434d54689fd162b18c27ec478493d5
BLAKE2b-256 87dae8378505b4cf4223bcb8bf29d49f893997c5349417ec483e6ae3d1efab65

See more details on using hashes here.

File details

Details for the file rcpilot-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: rcpilot-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 39.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for rcpilot-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6e2a4df830e5b9c240577ad1b3945b89ab1ee5a9eb22a23a54307da3f13ad6dd
MD5 d01a5db8525ee2744e04ff4a64105807
BLAKE2b-256 f542a6cf40b9ee470fb7e7657d8a79f4ecb4b2b47f5ad5a03ab0a943c6d0578c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page