Live data from Hacker News

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

github.com

71–80 of 420 posts

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

#71
post #60

"Even code at the club!" haha if you're coding at the club, just go home! but also, I really wish Sony still made their micro Vaio laptops (Sony Vaio P, for instance).

That phone was taken 5 minutes before departure lol - a micro laptop sounds sweet!

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

#73

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?

ive tried slack before, but a challenge is how well you can get results returned back in a way where you can actually see what it did and give proper next steps

getting a PR back and being able to put comments on it is fine, but ive had middling success getting qcli at least to actually match the comments with the code that was commented on. i get the sense that there isnt any training with the comments inlined well on a diff:/

it doesnt have to be a vpn though, i was on an oauth webbrowser terminal, and things like coder[0] let you run vscode on the browser, including on your phone browser. there's also happy coder[1] which i tried using to connect between the new builtin android linux vm, and skip all the remote stuff entirely, but the phone would inevitably kill the terminal runbing claude, killing the whole thing. you can currently just run claude from your phone in that, which only has the problem that when the vm crashes, all you can do is wipe the partition.

[0] https://coder.com/ [1] https://happy.engineering/

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

#74

It’s a simple idea but one that hadn’t occurred to me yet. I spend hours each week riding transit, and use Claude for a bunch of side projects and have Tailscale set up already, so looks like I’ll be giving this a try this week! Doom coding might be doomed while I’m in the transbay tube though, with awful cell service… How’s the diff review? I rely heavily on the vs code integration for nice side by side diffs, so lo…

I don’t compile from my phone but I do write code using it. I use fossil for version control. The in browser editor is good enough to get ideas down. It has great diffs which is also nice. I will check in code and move it to a branch then revisit it when I’m home.

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

#75

Pretty cool idea, I'm going to be trying this only using open source Cecli (with DeepSeek API) instead of Claude CLI because I don't have infinite $$$

Thanks! And great idea! I'm still new to hacking - definitely need to check out more of the open source tools out there

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

#76

It’s a simple idea but one that hadn’t occurred to me yet. I spend hours each week riding transit, and use Claude for a bunch of side projects and have Tailscale set up already, so looks like I’ll be giving this a try this week! Doom coding might be doomed while I’m in the transbay tube though, with awful cell service… How’s the diff review? I rely heavily on the vs code integration for nice side by side diffs, so lo…

I would guess a phone is way too small for side by side diffs, and a simple `git diff` would probably be more useful. If you want better syntax highlighting you could setup bat[0] as your difftool. If you insist on a side-by-side view (neo)vim has a diff mode with the -d flag. It is also possible to setup as the difftool that git uses. [0]: https://github.com/sharkdp/bat

Heh, many years ago I actually started writing a dedicated diff viewer app for Android [0] that specifically had synchronized horizontal scrolling between the two sides, and I remember finding it relatively usable in landscape, and I’m sure modern phones with larger and higher density screens would be even better.

But yeah, you definitely need a native experience to make side by side diffs viable on mobile.

[0] https://github.com/scottbez1/superdiff — I wish I had recorded some videos of the app back then. My code review workflow back then eventually stopped including diff attachments on code review emails, so I abandoned development on it.

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

#77
post #9

Using this with tmux and various VPN tech. Main issue is scrolling. Termius + tmux don't scroll very well. And I've been led to believe tmux is necessary to keep sessions open when I turn off my phone screen

try setting set -g mouse on in your tmux config. With this I'm able to scroll up by using two fingers in termius.

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

#79
post #70
post #53

Earlier quoted context omitted.

And what's the recommendation for iOS? Because, as it turns out, the Termux app on the App Store is not the same as the one on the Play Store, just uses the same name.

use blink https://apps.apple.com/nl/app/blink-shell-build-code/id15948...

Or shellfish. [1]

[1] https://secureshellfish.app/

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

#80

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?

It's amazing to me this is called coding at all. Who knew all project managers and business analysts coming up with business requirements were actually just coding gods sent from the future.
Post reply on HN