Live data from Hacker News

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

github.com

301–310 of 420 posts

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

#301

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?

Claude Code does a very decent UI, somehow the text mode is much more attractive. As if there is once in a lifetime opportunity to make the console great again.

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

#302

Earlier quoted context omitted.

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.

By “this scheme” I meant combining these several technologies for vibe coding on an iPhone with Claude Code. It’s been a bit of a viral meme on X this week.

I started doing this before it was viral - it's basically obvious and I'm sure many people simultaneously did it since it was so obvious and easy to do - I even have the same tech combination.

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

#304
post #208

Earlier quoted context omitted.

Huh, makes you wonder if it's actually doing it on his phone or if he has a keyboard and maybe dock and monitor he attaches it to. I suppose my original comment was too broad, there was a point not too long ago when everyone wanted to replace their laptop with their phone. Samsung even let you dual boot linux from your phone with DeX

Following that story as it happened, it was all on the phone with the phone keyboard and he somehow made multiple good Neovim plugins including that very popular one (which I use in multiple configs).

neovim is probably the only sane way you could code like this on a small screen. everything works pretty much the same way it does on a desktop terminal, the only thing you have to get used to is having so many lines wrapped, and not having quick access to some characters like $ or ^, but they can just be added to the toolbar in termux

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

#305

If you're on Android and can download QPython, it works just fine and has for years. This seems way overcomplicated, it depends on a remote computer that's on 24/7? Ick.

Also, if your Android phone is a Pixel, you can run the recently added Terminal app, which runs a plain vanilla Debian distribution within a VM. So you then have a pocketable Linux machine to develop code on. Not only does Python run on it, you can install the entire Anaconda Python suite.

I tried this a while back with. NET and Blazor. With split screen I was able to add some code and preview live in the browser and build and 'install' a simple pwa.

Presumably with an external monitor and the desktop mode it would be better.

Code from tiny llms such as Gemma are a waste of time but it "worked". It was neat to generate a working app completely offline.

The main problem was that the VM crashed on my pixel fairly frequently. Might be better by now.

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

#306

Why Tailscale instead of plain wireguard?

probably because you just install it, then you log in and youre done. tailscale takes care of the rest. going through any more effort just so you can write some slop code is probably not worth it

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

#307

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?

Possibly Codex, but I've only used Claude Code so far.

Worth pointing out I'm not SSHing to a different device. Claude Code installed and running directly in Android terminal on my phone.

I've built ASP.NET Core APIs on-device this way. Install dotnet in the terminal and Claude can write code, build, run unit tests, and even run the API on localhost. Then use `git` and `gh` to commit, push and raise a PR.

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

#308

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…

I do the same. I can SSH into my router at home (which is on 24/7), then issue a WOL request to my dev machine to turn it on.

You don't even have to fully shut down you dev machine, you can allow it to go into stand-by. For that it needs to be wired by cable to LAN, and configured to leave the NIC powered on on stand-by. You can then wake up the device remotely via a WOL magic packet. Maybe this is possible with WLAN too, but I have never tried.

Also, you don't need a Tailscale or other VPN account. You can just use SSH + tunneling, or enable a VPN on your router (and usually enjoy hardware acceleration too!). I happen to have a static IP at home, but you can use a dynamic DNS client on your router to achieve the same effect.

Post reply on HN