StackMap
Subscribe
Explore / tailclaude
rohitg00

tailclaude

Claude Code from any browser via your Tailscale tailnet — streaming chat UI, session history, model switching and cost dashboards; no SSH, no terminal.

205 22 TypeScriptupdated 4 months ago
Curator's take

The 'doom coding from your phone' setup without the terminal: publish Claude Code to your tailnet, scan a QR code, get a touch-optimized chat UI with streaming, full session history and cost dashboards — Tailscale handles auth and transport, so nothing new is exposed. The caveats are serious though: the repo ships NO license (all rights reserved by default — you can run it, not fork or redistribute), it's young (~200 stars) and has been quiet for months. Treat it as a clever pattern to evaluate, NOT infrastructure to depend on.

Mapped by ShipWithAI editors · links verified
README.md

TailClaude — Claude Code from any browser

TailClaude

TailClaude Demo

Claude Code from any browser. No SSH. No terminal. Just a URL.

TailClaude publishes a full Claude Code web interface to every device on your Tailscale tailnet — or the public internet via Tailscale Funnel. Powered by the iii engine.

Scan a QR code from your phone, open the link, and start coding with Claude — streaming responses, full session history, model switching, real-time cost & usage dashboards, system metrics, request traces, live activity feed, and every Claude Code control in a touch-optimized UI styled with Anthropic's brand guidelines.

Why TailClaude?

Every "doom coding" setup — SSH, mosh, tmux, Termius, Moshi — still puts you in a terminal. You're still typing on a tiny keyboard, memorizing shortcuts, and managing connections.

TailClaude removes the terminal entirely.

Terminal (SSH/mosh + tmux) TailClaude
Client Terminal app + SSH/mosh + tmux Any browser
Phone setup Install app, configure keys/auth Scan QR code
Network switch mosh helps, SSH drops Browser reconnects automatically
Interface Terminal emulator Web chat UI with Markdown rendering
Streaming Raw terminal output Real-time SSE, token-by-token
Session history tmux attach (terminal only) Browse ALL sessions (terminal + web)
Model switching Edit CLI flags, restart Dropdown: Opus, Sonnet, Haiku
Permission modes CLI flags One-click: default, plan, acceptEdits, bypassPermissions
Cost tracking None Live tokens + per-message cost ($0.01 · 4.5K in / 892 out)
Stop mid-response Ctrl+C in terminal Stop button with instant feedback
Mobile UX Tiny terminal, keyboard shortcuts Touch-optimized, responsive, dark theme
Setup time ~15 minutes npm install && iii -c iii-config.yaml

Tailscale handles the secure connection. TailClaude handles everything else.

Architecture

+-----------------------------------------------------------------+
|  Browser (any device — phone, tablet, laptop)                   |
|  https://your-machine.tail-abc.ts.net                           |
+---------------------------------+-------------------------------+
                                  | HTTPS (auto-cert via Tailscale)
                                  v
+-----------------------------------------------------------------+
|  tailscale serve/funnel :443 -> http://127.0.0.1:3110           |
+---------------------------------+-------------------------------+
                                  |
                                  v
+-----------------------------------------------------------------+
|  Node.js Proxy (port 3110)                                      |
|                                                                 |
|  GET  /                  -> Chat UI (Anthropic brand, tabs)     |
|  GET  /health            -> Engine state + worker metrics        |
|  POST /chat              -> OTel-traced SSE streaming chat       |
|  POST /chat/stop         -> Kill active process + lifecycle      |
|  GET  /chat/active       -> Active streaming request IDs         |
|  GET  /chat/replay/:id   -> Replay buffered chat events          |
|  GET  /sessions          -> State-indexed sessions (sub-ms)      |
|  GET  /sessions/:id      -> Full conversation history            |
|  GET  /activity          -> SSE live activity feed               |
|  GET  /usage             -> 7-day cost & token usage stats       |
|  GET  /metrics           -> System metrics timeline + alerts     |
|  GET  /traces            -> Request traces (cost/tokens/model)   |
|  GET 

Continue your stack

What teams reach for next — and why each earns a place beside tailclaude. Ranked by curator confidence.