logoalt Hacker News

casualscienceyesterday at 6:37 AM1 replyview on HN

Hmm, whats stopping you from running claude code on a separate machine you can ssh into? I don't understand that point at all, I do that all the time.

Using a claude code instance through a phone app is certainly not something that is easy to do, so if there's like a phone app that makes that easy, I can see that being a big differentiator.


Replies

mcintyre1994yesterday at 9:01 AM

Something I learned while hacking on something recently is that claude’s non-interactive mode is super powerful. It uses all the same tools/permissions etc as interactive would, it can stream responses as JSON with tool use etc, and it can resume from a previous session. Together this means you can actually build a really slick chat-like UI for it.

I think this is a pretty cool example: https://github.com/mcintyre94/wisp

This is using Claude on VMs that don’t have SSH, so can’t use a regular terminal emulator. They stream responses to commands over websockets, which works perfectly with Claude’s streaming. They can run an interactive console session, but instead I built a chat UI around this non-interactive mode.

You can see how I build the Claude command here: https://github.com/mcintyre94/wisp/blob/main/Wisp/ViewModels...