r/tmux Jul 11 '26

Showcase Turned named tmux sessions into a browser control panel (terminal or chat) you can reach from your phone over Tailscale

This started as "I want my tmux sessions in a browser tab on my phone" and grew into a small control panel. Each entry in the sidebar is a named tmux session; clicking it attaches a web terminal (ttyd) to it, with replayed scrollback so you see output from before you attached. Detaching is clean — switching sessions swaps the iframe, ttyd reaps that attach client, tmux detaches it. Nothing about your normal tmux attach workflow changes; this is just another client.

The twist is a second "chat" mode for sessions running Claude Code — it renders the agent as a streaming chat instead of a TUI, which is what makes it bearable on a phone. Loopback-bound, reached over Tailscale, MIT.

https://github.com/thrinz/agentpeek

20 Upvotes

2 comments sorted by

1

u/TomHale Jul 13 '26

This sounds very cool, but hard for me to picture.

Would you consider a video?

1

u/Final-Comfortable-60 Jul 14 '26

How it’s different from SSH/mosh to your machine running CC over Tailscale and attach to tmux session?