Live data from Hacker News

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

github.com

321–330 of 420 posts

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

#321

Been using exactly this setup for a year now, works great. Have to be on the same WiFi to install from Xcode to iPhone. There is a “workaround” having it deploy to TestFlight, but it’s slow. Looking for a way to forward mDNS over VPN, to bad iPhone/Tailscale don’t support it. Only possibility I found is to have a separate mobile router that support forwarding mDNS.

Hmm, you could probably setup ad hoc builds and send them off to Firebase App Distribution or a similar service and get them a bit faster. Still pretty cumbersome but it skips the slow signing/slow uploads/slow processing that Test Flight provides for users.

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

#322

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.

Got a direct link to the app? The play store search is just offering me the Tom Hanks movie about a dude stuck in an airport ...

Edit: found it using these instructions.

https://github.com/nix-community/nixos-avf?tab=readme-ov-fil...

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

#323
been using the same setup for the past 2-3 months now. My company gave the employees old mac pro (intel) for free to use for whatever purpose they want to. I was using AWS for most of my personal projects which I have now migrated to this mac. I use the app 'Amphetamine' to not let the mac sleep, and rest of the setups are the same with Tailscale + termius etc

Fun fact: once you get ssh access to mac, you can control almost anything running on it. Like I added my mac air under termius, and I could mute/unmute any videos playing on chrome using osascript from my iphone :)

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

#324
Does anyone have any good advice or resources on a good workflow to do this with web apps? There's some stuff I'd really like to solve, for myself/family, that would require a front and back-end with persistent storage.

I would love to easily be able to set this up easily when a new idea pops into my mind and then have something running (locally or securely in some cloud) within a few hours/days. I wouldn't want to spend a ton of money for this though, nor have a lot of overhead to manage.

Edit: In addition, I'd like some safeguards where I can't have the LLM of choice accidentally delete stuff or do other unintended things on my network.

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

#325

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…

How did you make sure Claude wasn't doing anything unintended while allowing it to run scripts it wrote on your network?

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

#327

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…

How did you make sure Claude wasn't doing anything unintended while allowing it to run scripts it wrote on your network?

Run it inside a VM, make snapshots of the VM if needed (or use vagrant/ansible to rebuild), commit regularly, ...

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

#330

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 have custom scripts I use at home to keep track of various personal data, assisted by an LLM. The idea of using Telegram as a way to have a global, quick, and personal interface from my phone or tablet, is perfect and easy to set up. Claude is making it easier to have bespoke data and dashboards for anything. We're going to make a lot of them, for all reasons. I've also made apps with Django interfaces, but quick,…

I concur, but I also think that Home Assistant could be used as a rock bed to build many of those dashboards easily. They just need to revert the "go all in on UI first configuration" and keep YAML declarations as first-class citizen to let LLMs easily compose dashboards based on user's desires.
Post reply on HN