Live data from Hacker News

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

github.com

271–280 of 420 posts

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

#271
post #66

Historically I had thought there was a pendulum swing between using local computing resources vs. having a dumb terminal to access something remotely. But now instead of swinging back to local resources, apparently we're proposing to add a second layer of remote access (phone -> computer -> Claude servers).

Maybe in the future we'll all have a "hub" in our homes that contains our data, but we'll shell out to the local datacenter for AI compute, while our actual interface will be a VR headset or tablet located with us, anywhere in the world.

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

#272

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…

While I don't use the AI part I have a very similar scheme and it is one of the reasons I encourage people to live in the terminal. The idea is to create a modern "terminal"[0] My main computer is a Macbook Air, which I carry around with me. It's purpose is for: internet, using Microsoft products when I'm forced to, Zoom/meetings, and SSH (or Mosh). Most of my work is not done on this Macbook, instead I use it mostly…

How do you type? I get the ydotool usage but do you have a shortcut for each key then on your phone?

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

#273

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?

> So this is the 4th+ article I've seen on using a VPN to vibe code on your phone.

and all of them mentions Tailscale. I would not be surprised if we hear in a few days it got next big fund and all of this is just a preparation for it

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

#275
If you don't want to run your machine 24/7 (whether for electrical consumption, environmental, noise, etc reasons), I wrote an ssh proxy [1] that will send WOL packets to a target machine and hold your connection until its alive.

I then configured debian-autoshutdown [2] to turn the machine off if there's no traffic on ssh after 15 minutes.

This way I just ssh into my machine (whether via antigravity on my laptop or termius on my phone) and within 30 or so seconds its awake, no physical button presses needed. I documented the whole flow in more detail on my blog [3].

I'm now working on an improvement called machine on proxy (or mop) that will allow me to start Proxmox VMs instead of physical machines, so I can let gemini-cli run wild and if it decides to wipe the entire hard drive I can restore from a snapshot.

[1] https://github.com/simonamdev/ssh-wol-proxy

[2] https://github.com/mnul/debian-autoshutdown

[3] https://www.simonam.dev/ssh-wol-proxy/

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

#276
post #270

I have been doing this with toad and opencode and it is great for those unprompted ideas that pop up while in the big blue room, but not really useful for large projects.

Yeah but I wonder if there's a structure that can be used to make it useful for larger side projects.

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

#277

I'm using the Android terminal and Claude Code to vibecode on the go. Or rather, as a fairly boring father of two, when I'm tied up in the necessary chores of family life - cooking and cleaning. Nothing as complicated as this - just Claude Code and a fairly standard Linux dev term, but it's remarkable. Over the recent break, across four or five sessions, I wrote a set of prompts around ~500 words in total. The result…

I read the Readme. So this is all just stuff you can do with Claude's cli interface? It edits files and runs utilities? And it does this with few enough errors that you can be productive by just chatting with it over ssh? Is Claude the only one that can do this?

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

#278

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?

> Would an email interface to Claude code work better?

This might be the most "when your only tool is a hammer all your problems look like nails" suggestion I've ever read.

Email driven automation isn't a terrible solution to everything - it works very well for support tickets, for example - but it's really lacking in the immediacy required from a serious software development environment.

I'll go further: I think coding on my phone is a fun, neat, idea, and an interesting curiosity, but I don't actually want to do it. There are few situations where I'd feel comfortable getting my phone out to code where I don't also have my laptop with me, and that's going to provide a way better software development experience, so I'm always going to use that for anything serious.

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

#279
post #261

I've been using a similar workflow for the past couple of months.Heavily inspired by Simon Willison’s approach of building micro tools, I’ve started building micro-utilities. I do this mostly while I'm commuting or outside or waiting for something at work. Instead of just jotting down an idea in a notes app (and it sitting there for eternity), I’ll open up Jules, describe the tool, and have it scaffold the HTML. I ha…

Whats the cycle time here? This work flow makes sense to me.

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

#280

"2. Make sure your computer is ON and UNLOCKED When disconnecting/reconnecting power, make sure you unlock the computer. I've ran into this issue one too many times." - this is the biggest problem that needs to be solved - i dont want to keep my computer running 24x7 wasting power for stuff like this - why not make a robotic arm that you keep at the computer table which can use open cv to plug the computer on when re…

Lookup "wake-on-lan".

I'm not sure why I'm having so much difficulty with it, but I've never been able to get this to work on my machines despite my searching.
Post reply on HN