Live data from Hacker News

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

github.com

391–400 of 420 posts

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

#391
post #378

Earlier quoted context omitted.

There is an infamous "Dropbox comment" on HN that reads the same way as this comment. No idea is new, and novelty is almost never the point. I had seen people do similar things in the past but never approached it myself. Here is someone that has done the thinking for me and put it out there for free. I appreciate that.

Yeah, but the OP is more like the "all you have to do is rsync and cron job". It's an article about the relatively complex step by step process that people do to implement a functionality. It may be the inspiration for an analogous dropbox, but definitely not the dropbox article or post. A product that you could grab from the app store that does all of this out of the box would be the analogue to dropbox. That said,…

Y'all I'm as shocked as you are it's on the home page!

I'm new to hacking (come from an electrical/nuclear engineering background but never did much with software). For reference, just learned what postgres was 2 months ago.

Took a lot of tinkering to figure out but that's more a skill rather than complexity issue. Working from a laptop is certainly better, but was able to get good amount done (like building v1 of a backend and setting up a cloudflare tunnel for a PC) on a long bus ride where I would've gotten side eyes for using a laptop.

I'm no doctor but I'll bet "Doom Coding" is still not healthy but it's better than doom scrolling on X.

Thank you for the comments! I've been learning from these threads (Like tmux or dropbox article lore)

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

#392

> Great for parties where you rather be home tinkering. I know this is probably in jest, but when someone invites you to a party it's not because they just want your atoms in the same room as them. In regards to doom coding: I would chop off my arms before coding/prompting on a phone. Also, think about your cervical, neck etc! I feel like I'm taking crazy pills!

I'm with you... just with gesture input as it is, I hate using my phone for much beyond a quick comment or two. I can't imagine trying to do anything technical with a phone's onscreen keyboard. Even through an AI prompt... nope, just nope. At worst, put your ideas into a notes app and then go back to where you are... this is just anti-social and borderline psychotic imo.

Yes to the last two 100% - hence the "doom" in doom coding! I wrote the post more as a replacement to TikTok scrolling - it feels like a worse evil, but it's still not healthy.

The UI isn't as good as a laptop but maybe it's all my years of swiping, liking, and navigating between apps. In a very sad and concerning way, phone time feels like home.

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

#393
post #197

Earlier quoted context omitted.

Gastown, by Steve Yeggs is that, via tmux. It's rather opinionated and still in development, but it's worth a look if that's what you're looking for.

Steve Yegge is building awesome things in this space, but I've found them too heavy, started using bd when it was small, but now its trying to do too much IMO, so made a clone, tailored to my use case -> https://github.com/cloud-atlas-ai/ba

durch - just starred this repo! Looking forward to testing it out as I learn how to build with multiple agents.

I'm just starting out with building with Claude - after a friend made this post he sent me a Steve Yegge interview (https://m.youtube.com/watch?v=zuJyJP517Uw). Absolutely loved it. I come from an electrical/nuclear engineering background - Yegge reminds me of the cool senior engineer who's young at heart and open to change.

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

#394
post #198

Earlier quoted context omitted.

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've replied with this in another comment, but this seems more pertinent ;) Thats exactly the approach I took with https://github.com/cloud-atlas-ai/miranda , Telegram bot, PR is the human review point, tests + CodeRabbit catch most issues. Bot intercepts Claude's AskUserQuestion calls via a hook, sends me an inline keyboard, injects my answer back into the session. Claude keeps working, PR still happens—but I can un…

That looks really cool I'll have to check it out.

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

#395

I am still trying to understand how installing Tailscale and Claude Code then connecting to your home network externally and opening a mobile terminal on your phone is a novel idea that requires a full Github writeup. So, I do this when I am sitting on the couch and too lazy to boot up my laptop that I normally do work on, but it never gets much further than updating, pulling or pushing one or two containers, or more…

Why would it have to be novel? We now have a full interesting discussion about vibe coding on phones thanks to this GitHub writehub that we wouldn't have had otherwise.

I haven't set up a vibe coding phone environment, nothing has stopped me at all as I agree it is really simple/"basic", but this post made me actually go do it.

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

#396
post #87

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 is funny - maybe as a backup. Prompting is chatting.

Okay, IRC then!

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

#397

Earlier quoted context omitted.

> 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 Yeah that's one of my favorite parts. Same about living in the terminal. I can be effective anywhere nearly instantly. I carry everything around in my dotfiles and keep it small (keep the .git folder small and don't add anything except text files)[0]. On that note, one thing I hig…

If you don't mind, I'd like to hear more about your setup. I have a bunch of bash scripts and python programs I've used to make working in the terminal easier (and more fun). Are you saving your dotfiles are a git project and then just syncing and pulling them down from there? I'm not an expert, just a tinkerer, but I like tinkering in the terminal. :) Thanks in advance!

Not the parent but a project (glorified Bash script) called vcsh[1] has served me well over the years for managing multiple Git repositories containing my dotfiles (separation of concerns).

Lately I have migrated some of that to Guix Home because the other half of the problem is having all the dependent programs necessary for the dotfiles installed automatically at the appropriate versions.

The latter one especially falls into the realm of tinkering. :)

[1]: https://github.com/RichiH/vcsh [2]: https://systemcrafters.net/craft-your-system-with-guix/guix-...

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

#398

Earlier quoted context omitted.

Why does it have to be a laptop, and why does it need to be new? There aren't that many places in 2025 where getting a phone with internet is significantly cheaper than getting some scrappy laptop or desktop.

>> There aren't that many places in 2025 where getting a phone with internet is significantly cheaper than getting some scrappy laptop or desktop. No, but it's not a choice between a phone and a laptop. You NEED a phone. So you use what you've got. I've done work helping developers in less developed countries and you frequently find they're sending screenshots of code they've written on phones.

I think I'll take any LLM slop code over the written-on-phone-by-"developers" slop code.

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

#399

Earlier quoted context omitted.

There is this guy: https://github.com/OXY2DEV/markview.nvim/issues/216#issuecom... . I haven‘t used his plugin, but it seems quite popular (+3k stars). I guess ergonomics don‘t matter so much yet when you are young..

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

There's always an edge case. Speaking of which, here's someone who would really benefit from a hard column width limit and limited nesting that modern programmers (particularly ones using various IDEs) so carelessly violate these days.

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

#400

Earlier quoted context omitted.

> 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 Yeah that's one of my favorite parts. Same about living in the terminal. I can be effective anywhere nearly instantly. I carry everything around in my dotfiles and keep it small (keep the .git folder small and don't add anything except text files)[0]. On that note, one thing I hig…

If you don't mind, I'd like to hear more about your setup. I have a bunch of bash scripts and python programs I've used to make working in the terminal easier (and more fun). Are you saving your dotfiles are a git project and then just syncing and pulling them down from there? I'm not an expert, just a tinkerer, but I like tinkering in the terminal. :) Thanks in advance!

Yeah my dotfiles, notes, and scripts are in a single repo. I think the most important thing to do is organize. I just match the system. So I put everything that a rc file in ~/ in one directory and everything in ~/.config in another. Then if you have your repo downloaded all you need is to run 2 find commands like this

  find "${DOTFILE_DIR%/}/configs/" \
        -maxdepth 1 \
        ! -name "*.md" \
        -exec bash -c 'ln -Fis "${0}" "${CONFIG_DIR%/}/${0##*/}"' {} \;
It baffles me that people are so unorganized in their dotfiles. A little goes a long way to making your life easier. But then again people suck at bash so they're probably not thinking of using find this way. You could also use xargs to parallelize if you want but there'd be no practical speed difference for me

Another key component is to break out files. For example I have the directory ~/.dotfiles/rc_files/zsh. My zshrc file sources different files from that location. So I have a Linux file and OSX file there for anything that is specifically system dependent. If you want different configs on different machines you can check the hostname and use the same pattern!

Speaking of which, use functions! At first this is going to sound crazy but it's worth the effort and let's be honest, the effort is very low (though the initial rebase might not be depending on how messy you are)

  function _exists() {
      command -v "$1" &> /dev/null
  }

  alias_ls() {
    alias_lsd() {
        alias ls='lsd'
        alias la='lsd -A' # A drops . and ..
        alias ll='lsd -l' # h is automatic
    }
    alias_base_ls() {
        alias ls='ls -v --color=auto -h' # numerical sort, color, human readable
        alias la='ls -A' # ignore . and ..
        alias ll='ls -lh'
    }
    if ( _exists lsd );
    then
        alias_lsd
    else
        alias_base_ls
    fi
  }
  main() {
    alias_ls || echo -e "\033[1;31mls aliasing fucked up!\033[0m"
  }
  main
Yeah, it is a bit more cumbersome but it's really not that bad and

  1) debugging gets so much easier
  2) you know where everything is and what everything does. 
  3) trying new aliases, command tools, scripts, etc also becomes a lot easier. 
Following Unix philosophy has more advantages than disadvantages. I also strongly suggest adding comments because you'll forget why you did something. I'll often link to posts for this and for giving credit.

Since we're speaking of bash, bookmark this website: https://mywiki.wooledge.org/BashPitfalls

Fwiw, my main language is Python but for pretty much everything in the terminal I write in bash. You can often make oneliners that would traditionally be a lot of lines in Python. Not to mention it's usually faster. It's a good way to help you learn bash too! ^__^

Post reply on HN