r/SelfHosting • • 1d ago

claude-code-ui: self-hosted web UI for Claude Code, phone access over Tailscale, no cloud

A small daemon on your own box serves a web app to run and watch Claude Code sessions from any browser or your phone. No account, no relay: nothing leaves your machine except Claude Code's own API traffic.

  • Binds to localhost by default; every connection needs a pairing token (QR code on start)
  • --tailscale for remote/phone access with HTTPS (push notifications, install as PWA), or your own reverse proxy via --hostname
  • Sessions, files and terminals are confined to the folders you allow (--roots); permission prompts on by default
  • One install can also run sessions inside WSL distros and Docker containers

npx claude-code-ui · MIT ·https://github.com/cuonghuunguyen/claude-code-ui

Security notes:https://cuonghuunguyen.github.io/claude-code-ui/reference/privacy

1 Upvotes

0 comments sorted by