Live data from Hacker News

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

github.com

151–160 of 420 posts

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

#151
post #142

Earlier quoted context omitted.

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.

Why would that be preferable to Termux?

Because, wonderful as Termux is, it has a very nonstandard filesystem layout, so installation scripts for something like Anaconda will not run without extensive modifications. And Termux has no access to /proc, /dev etc., so lots of utilities fail. Since Terminal provides a full Linux VM, all programs that will run on Linux just work as expected.

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

#152
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 was Claude scanning my network for active ports using nmap, fuzzing those ports with cURL, documenting its findings, self-directing web searches for API/SDK docs for my Hue bridge and ancient Samsung TV, then building a set of scripts to control my lighting system and a fully functional HTML+JS remote for my TV.

The most entertaining part was Claude prompting _me_ to pop into the living room and press the button on the Hue bridge so it could fetch an API key.

The most valuable part? The understanding I gained secondary to generative act. I now understand the button on a Hue bridge literally just tells the device to issue a new API key at the next request. I understand how Entertainment mode works, and why. I understand how Samsung SmartThings is mediated via websockets - and just how insecure decade old Samsung TVs are.

Around 500 words to gain all this? I hate to buy into the hype, but it feels inflectional.

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

#153

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?

Email might work, however if you're a Telegram user you could write a bot that runs on your home system that runs the cli commands on your behalf and then sends the output as a response to you. No need to open up any ports on your router.

I didn’t know until I read this comment, but this is exactly what I want. A telegram bot with Claude on the other side and GitHub app to check out the code

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

#154
post #68

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 have read of people doing remote coding with clause but through having Claude create pull request. The user then looks through the requests, and either approves or sends it back with edits. Seems like a good way to interact with Claude code, especially once one sets up a test suite and those proposed pull requests have proven not to regress.

This is how I do mobile device coding. Android terminal w. git and gh installed and authenticated. Claude manages the feature branching and PR process; I review the PR in the GitHub mobile app.

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

#155
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).

In the last 5 years I pretty much fully migrated to my laptop being a terminal for other machines. I more use it like a local machine in HPC: web browsing, word processing, scripting. Anything serious is done remotely. But I also live in the terminal and so realistically what's the difference? 99% of the time the result is that I get to use a "big" computer without having to carry it around. FWIW, I'm not a big fan o…

Same setup as mine, I have an OpenVPN server running in my router, and my main PC has wake-on-lan and a KVM as a backup to turn it on and off.

I have an old used Dell Latitude that I use as a pseudo thin client. I ssh into my PC, and everything just works.

I really like this setup because I only have one environment, so everything is there, and I don't have to install anything in the laptop

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

#156
post #29

Earlier quoted context omitted.

It worked for me for finishing my app (vps+shellfish+gemini-cli), I've done a lot of coding like this on the train and in between sets in the gym, picking up on the more complicated stuff when at home. But also all of the changes I made from the phone were incremental.

^^ I probably rely on AI slop than most people on this thread. I've found with the gaps with waiting on Claude Code output match the frequency I'm already checking my phone out of addiction. By no means the healthiest way to spend my time, but if I wanted to spin up a simple website or build out the framework for a project doom coding works for me! Agreed 100% there are healthier uses of my time!

I just have it send me a push notification.

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

#157
This can be done not just with Claude but also with codex and gemeni cli. Well technically anything that has a cli interface.

I run both gemeni (fee) and codex (paid), with tmux thrown in to switch between phone and laptop. Laptop runs vscode with ssh to my server but I could also use the web version of vscode.

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

#158

> What You'll Need > A Computer running 24/7 with Internet Connection > A Smartphone > A Claude Pro subscription Or.. just install Termux and do it the same way you do it anywhere else?

I just use ConnectBot to ssh to my house. It runs tmux and vim well, especially with a little pocket-size folding bluetooth keyboard to go with it.

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

#159

Earlier quoted context omitted.

My desktop is 11 years old, but I still feel like it does so much that I wouldn't want any cloud services except for AI. (And there's no way this thing would handle a useful local model, but I'm also really not very enthused about the kind of data sharing involved in remote AI use.)

I mean the power of the work machine really depends on what your needs are. Definitely should adapt to whatever your needs are. > And there's no way this thing would handle a useful local model So if you have a setup like mine then it is fairly trivial to incorporate that (or anything else). Either way you'll need a machine that can do the local AI though. Either that is on your "work machine" or you run the AI on a…

I appreciate the thought, but advice like this is completely irrelevant to my current circumstances (and personal principles) and would be very expensive (respectively, emotionally unpleasant) to implement.

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

#160
post #64

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?

Why not use a browser? OpenCode has a webUI, you can simply host that on your machine at home and VPN to it. https://opencode.ai/docs/server/ (sadly no screenshots, but its a pretty good GUI, looks like their desktop app)

From that page:

> The opencode serve command runs a headless HTTP server that exposes an OpenAPI endpoint…

Unless I missed it, there’s no mention of a web UI?

Post reply on HN