Hacker News new | ask | show | jobs
Show HN: Detach – Mobile UI for managing AI coding agents from your phone (github.com)
2 points by salvozappa 97 days ago
Hey guys, about two months ago I started this side-project for "asynchronous coding" where I can prompt Claude Code from my mobile on train rides, get a notification when it's done and then review and commit the code from the app itself.

Since then I've been using it on and off for a while. I finally decided to polish it and publish it in case someone might find it useful.

It's a self-hosted PWA with four panels: Agent (terminal running Claude Code), Explore (file browser with syntax highlighting), Terminal (standard bash shell), and Git (diff viewer with staging/committing). It can run on a cheap VPS and a fully functioning setup is provided (using cloud-init and simple bash scripts).

This fits my preferred workflow where I stay in the loop: I review every diff, control git manually, and approve or reject changes before they go anywhere.

Stack: Go WebSocket bridge, xterm.js frontend, Ubuntu sandbox container. Everything runs in Docker. Works with any CLI AI assistant, though I've only used it with Claude Code.

Side project, provided as-is under MIT license. Run at your own risk. Feedback and MRs welcome.

EDIT: Removed redundant text

2 comments

Building on the video issue—if it's a self-hosted PWA, the real bottleneck is probably streaming Claude's agentic outputs over a mobile connection. Polling for completion works, but WebSocket or Server-Sent Events would let you skip the "notification when done" step and just watch the agent work live. That's where the UX gets interesting on mobile.
It actually works pretty well on mobile (tested on 5g, 4g on a train). I didn't show it in the video as I find the asynchronous workflow more useful
The demo video isn't playing. I'd really appreciate it if the videos worked properly for these kinds of installations
My bad, it should be fixed now.