open source · macOS

AI coding terminal
toolkit for Claude Code

Isolated dev environment with session management, multi-provider API switching, web-based remote access, and pre-installed productivity tools. No signup. Self-hosted. One command to install.

copied! $ curl -fsSL https://ttyd.ink/install | bash
xbsura/cc-term
cc-term — bash
~ $ cc-term [cc-term] Opening session: main [cc-term] Auto-recovering 2 saved session(s)... main:1 $ ccs [cc-term] Provider: my-proxy (https://api.example.com) ╭──────────────────────────────────────╮ Welcome to Claude Code! ╰──────────────────────────────────────╯ main:1 $ cc-term -r [cc-term] Registering: main URL: https://ttyd.ink/t/a8f3c1e2... main:1 $
// features
Everything included. Nothing to configure.
>_ Remote Terminal

One command to expose any tmux session over the web. Built-in WebSocket reverse tunnel through NAT. Open on your phone or any browser.

Multi-Session

Named tmux sessions with full lifecycle management. Aggregate dashboard shows all sessions. Click to connect, switch panes, all in browser.

Provider Switching

Manage multiple Claude API endpoints. Switch providers with ccs myproxy. Health checks, quota display, one-command swap.

💾 Auto Save & Recover

Session state automatically saved every 5 minutes. On next launch, tmux sessions and Claude Code conversations are restored with --continue.

📦 Pre-installed Toolkit

bat (cat), btop (top), duf (df), tig, lazygit, vim, tmux — all pre-configured with isolated configs. Git shortcuts, tmux aliases, syntax-highlighted output.

🔒 Session Protection

Optional username/password per session. Private sessions hidden from the aggregate page. Token-based access with TLS encryption.

📱 Mobile Terminal

Touch-optimized web UI with virtual keys, session switching, and pane navigation. Works on phones and tablets.

🛠 Fully Isolated

Everything under ~/.cc-term. Own Python venv, own tmux socket, own bash profile, own history. Zero impact on your existing setup.

// quick start
Three steps. Under a minute.
1

Install

Installs Homebrew packages, creates isolated environment, deploys configs.

curl -fsSL https://ttyd.ink/install | bash
2

Open a session

Creates a named tmux session in a new iTerm2 tab. Sessions persist across terminal closes.

cc-term  or  cc-term myproject
3

Go remote

Register the session for browser access. Get a URL, scan the QR code, open anywhere.

cc-term -r

Ready to start?

macOS only. No signup. No cloud dependency.

copied! $ curl -fsSL https://ttyd.ink/install | bash
Star on GitHub