Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone
https://github.com/rberg27/doom-coding
By rbergamini27 ⬆️ 397 💬 267 [comments]
Top comment by purrcat259:
If you don't want to run your machine 24/7 (whether for electrical consumption, environmental, noise, etc reasons), I wrote an ssh proxy [1] that will send WOL packets to a target machine and hold your connection until its alive.I then configured debian-autoshutdown [2] to turn the machine off if there's no traffic on ssh after 15 minutes.
This way I just ssh into my machine (whether via antigravity on my laptop or termius on my phone) and within 30 or so seconds its awake, no physical button presses needed. I documented the whole flow in more detail on my blog [3].
I'm now working on an improvement called machine on proxy (or mop) that will allow me to start Proxmox VMs instead of physical machines, so I can let gemini-cli run wild and if it decides to wipe the entire hard drive I can restore from a snapshot.
[1] https://github.com/simonamdev/ssh-wol-proxy