Live data from Hacker News

Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

github.com

181–190 of 420 posts

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#181
post #177

I recommend https://happy.engineering/ . It is very easy to set up. I can have an instance in a container which contains my repository and lots of packages/binaries necessary for the work. I can then use the different binaries to run commands in the container. I was able to easily do `ls -la` in the container and email that to myself, all done from my phone. You can also connect it to applescript and whatnot in order…

I'm looking at Opencode and it might be better because it allows you to abort a task. VPN needed.

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#182

Earlier quoted context omitted.

> Would an email interface to Claude code work better? No. > What is the downside to using email? Email is clunky and feedback is not immediate. > seems easier then getting a vpn working. Tailscale is easy for a dev to get going and very reliable. The author uses the Termius SSH app with Mosh, so it keeps the same SSH session going across device sleeps and disconnects. Tmux is helpful, too. I do exactly what the auth…

I'm fairly sure that levelsio didn't popularize SSHing into a computer from your phone to run a program. We were all doing it before LLMs.

I agree, I'm failing to see what's novel here... Running an ssh client from a phone has been a thing forever

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#183

So this is the 4th+ article I've seen on using a VPN to vibe code on your phone. Would an email interface to Claude code work better? - Email Claude to start the coding - Claude emails you with any thing it needs acked on. - you reply back to emails telling it what to do. - maybe Claude can run your program and send back screen shots. seems easier then getting a vpn working. What is the downside to using email?

E-mail is not secure (sent in plain text)

Unless you set up pgp in your email client...

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#184
I've been working on something similar: https://github.com/shepherdjerred/monorepo/tree/main/package...

Essentially you run a server on some machine. Sessions are created in Docker containers, K8s pods, or via Zellij (an app similar to tmux).

You can:

- Directly attach to sessions via Docker attach (built-in via a TUI). You get a normal Claude Code experience, but multiplexed. The switcher/UI shows you the status of Claude and the PR (pushed, merge conflicts, CI status, review status, etc.)

- Manage sessions via a web UI. Connect to Claude Code directly via your browser. You have access to the usual Claude Code terminal or a native chat view.

- Manage sessions via an app. You have access to a native chat view.

It achieves isolation via Git worktrees + a proxy so that containers have access to zero credentials (there aren't even any Claude code creds in the container), which allows you to more safely use bypass all permissions mode.

This works better for me that Claude Code on Web because I have control over the environment Claude is running in. I can give it any Docker image I want, I can have it connect to my local network, etc.

It's still a WIP (the core bits are there, but it's not polished yet), but I'm hoping it provides a friendlier UX with a similar goal for what the OP has in mind.

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#185
Being able to “code” from your phone really feels like a huge change; it never took before because coding from your phone was miserable, but if you’re just coding by having a conversation then it might even be better to do it from your phone. I don’t know what that leads to, but it’s let me fix bugs from bed and build an MVP while moving, so I can’t complain.

For anyone looking for a more integrated and smaller approach, I built an open source app builder + runtime: https://github.com/tinykit-studio/tinykit

Basically gives you a Lovable-like app builder with built-in services (database/files/auth/email/payments/etc), content and design fields, and a code editor. Code is a single Svelte 5 file, and you can build/host unlimited apps on one server. And the server is just node + PocketBase, so runs easy on a $2 VPS. And LLM is BYOKey.

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#186

So this is the 4th+ article I've seen on using a VPN to vibe code on your phone. Would an email interface to Claude code work better? - Email Claude to start the coding - Claude emails you with any thing it needs acked on. - you reply back to emails telling it what to do. - maybe Claude can run your program and send back screen shots. seems easier then getting a vpn working. What is the downside to using email?

I code from my phone via GitHub and the Claude actions plugin.

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#187
post #171

I've seen this concept a few times recently and am interested. However, what's the benefit over just using the "Claude Code for Web" feature built into the Claude Code mobile app? It clones your repo into a VM which has a bunch of dev tools installed, you can install additional packages, set env vars, and then prompt it remotely. The sessions can be continued from the web and desktop apps, and it can even be "telepor…

I’ve only used web codex version but everything about it was slower than what’s described here, broken flows, more rate limited and impossible to “human in the loop” before a PR.

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#188

Earlier quoted context omitted.

> Would an email interface to Claude code work better? No. > What is the downside to using email? Email is clunky and feedback is not immediate. > seems easier then getting a vpn working. Tailscale is easy for a dev to get going and very reliable. The author uses the Termius SSH app with Mosh, so it keeps the same SSH session going across device sleeps and disconnects. Tmux is helpful, too. I do exactly what the auth…

I'm fairly sure that levelsio didn't popularize SSHing into a computer from your phone to run a program. We were all doing it before LLMs.

New ideas build on existing ideas. He said SSH into a computer to run Claude Code on that computer.

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#190
post #171

I've seen this concept a few times recently and am interested. However, what's the benefit over just using the "Claude Code for Web" feature built into the Claude Code mobile app? It clones your repo into a VM which has a bunch of dev tools installed, you can install additional packages, set env vars, and then prompt it remotely. The sessions can be continued from the web and desktop apps, and it can even be "telepor…

I feel like there’s something special about connecting to a server to build and deploying on the same server. Claude Code on the web lets you connect to a repo, test the code, and deploy it, but then you have to host the app and data somewhere else to take it live. IMO the ideal is doing everything in one place and it seems like a lot of dev tools are going in that direction too (v0, val town, deno deploy).
Post reply on HN