Live data from Hacker News

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

github.com

101–110 of 420 posts

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

#101
I use a bespoke hacker software keyboard (ctrl/meta/custom keys for GNU screen and emacs) and also bespoke SSH client (fork of the original irssiconnectbot) for years.

My phone is the original Pixel Fold. You would think I use it unfolded but the passport form factor lends itself to be almost as productive folded that I use it that way most of the time. Unfolded it's just a bit better experience (bigger keys / more display real estate/ more characters per line/ etc).

With that said I'm looking forward to the Click Communicator: https://clicks.tech/communicator

I've also been meaning to write about my setup and open sourcing my tools.

Oh. Writing clojure helps due to the terseness of the language. Not sure it would be a pleasant experience writing something like Java with the 80 character line limit I try to impose on myself

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

#102
post #29

Does this approach work for anyone? For my life, I've found that if I'm not behind the computer then I'm not in a productive situation anyway, even with AI access. I don't have a setting where I can concentrate for a long time and think clearly. For examole when watching children, doing groceries, during transit (probably have to change train in 20m, or walking to next destination). No convenient access to a notepad…

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!

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

#103
post #64

Earlier quoted context omitted.

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)

You need tmux to be able to resume the same session from anywhere, mosh-server to make ssh resilient to sketchy mobile connections, and blink shell https://blink.sh/ to have a high quality iOS shell with a mosh and ssh client built right in to resume at any time. Far more resilient and performant than a web client.

Well the beauty is the logic lives on the server. The client is just a client.

If it disconnects you just reload the page. It can work just fine in the background because it’s not running on your phone.

Just like you can refresh the ChatGPT website, but OpenCode lives on your pc at home, not OpenAI servers.

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

#104

Earlier quoted context omitted.

Thanks! I did not sppof! I thought that since it was my local Tailnet, only devices on that net could connect. I just rebuilt the network as a precaution.

Most of the time it's probably fine, but we should assume we don't know about all the attack vectors bad actors might use, so better safe than sorry. I forgot to say that I _absolutely loved_ the photos!

Very true! Was that Rumsfeld, right? Unknown unknowns?

And thank you! I'm glad you appreciated the humor. I'm still a novice builder, so the thought of ssh-ing to my home computer from a plane geeks me out. I'm about 20 years late but I'm here now!

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

#106
Early on in my programming life, I had very limited access to a computer. I did much of my coding in my head while walking around. In some cases, I'd literally write code in my head and dump it out when I had computer access, but abstract and creative problem solving were especially natural in a detached setting. I truly believe this time was more valuable than the time at the keyboard.

If anything, I want to do more of that: get away from the device to let my mind wander. "Doom" coding sounds apt.

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

#107
post #103

Earlier quoted context omitted.

You need tmux to be able to resume the same session from anywhere, mosh-server to make ssh resilient to sketchy mobile connections, and blink shell https://blink.sh/ to have a high quality iOS shell with a mosh and ssh client built right in to resume at any time. Far more resilient and performant than a web client.

Well the beauty is the logic lives on the server. The client is just a client. If it disconnects you just reload the page. It can work just fine in the background because it’s not running on your phone. Just like you can refresh the ChatGPT website, but OpenCode lives on your pc at home, not OpenAI servers.

yes but I've never seen a terminal interface embedded in a browser that is as good as a native terminal app interface, and blink shell has been well worth the upfront cost to me (way better than Termius, which was suggested in the writeup)

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

#108

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’ve been doing some of this through a term on my phone, but it honestly sucks. Other interfaces (telegram, web ui, email) are gonna be much better experiences on your phone.

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

#109

this is literally my setup and it is a game-changer: tailscale, tmux, codex/claude code, mosh, blink shell (iOS) https://blink.sh/

Curious if you are directly running mosh on macOS. Last I checked, it was broken on macOS Tahoe, so I have been relying on tmux for surviving flaky ssh connections.
Post reply on HN