A DIY approach to coding on-the-go!
As an aspiring builder, I sought out a way to keep coding while not at home. Thanks to some Claude-assisted research and troubleshooting, I can now code via the terminal on my phone anywhere at anytime via "Doom Coding" (think Doom Scrolling but more productive).
After this 5-minute setup guide, you'll be able to "doom code" anywhere you have Internet connection.
I've been amazed by how much I can get done while being so far away from home. In Taiwan, I could access my computer in Philadelphia and coded a prototype in my downtime.
Shameless plug: check out www.friendlyr.ai to help shape the future of connection!
Make sure to "Watch" this repo for future updates to this doom coding guide. As I tryout the latest mobile coding tools (e.g. Claude Code on the Web), I'll update this repository with comparisons.
Happy doom coding my friends!
- A Computer running 24/7 with Internet Connection
- A Smartphone
- A Claude Pro subscription
Use Tailscale, Termius, Claude Code, and a computer running 24/7 to continue building anywhere you have Internet connection.
- Disable sleep in power settings

- Enable SSH/Remote Login

- Install Tailscale and sign in

https://tailscale.com/download - Install Claude Code on your computer
https://docs.anthropic.com/en/docs/claude-code/overview
-
Install Tailscale → Sign in with the same account
https://apps.apple.com/us/app/tailscale/id1470499037 -
Install Termius (A Mobile Terminal Tool)
https://apps.apple.com/us/app/termius-modern-ssh-client/id549039908 -
Note the MagicDNS address of your computer (e.g. my-computer.tailnet-name.ts.net)

-
Create a new host in Termius:
- Label: What you want your connection to be called
- Hostname: The MagicDNS address (my-computer.tailnet-name.ts.net)
- Port: 22
- Username/Password: Your login for your computer
- If you're not able to establish a connection from your phone via Termius to your computer:
- Check your phone settings to make sure you are connected to the Tailscale VPN.
- Check the Tailscale app to make sure the Tailscale VPN is on. If your phone and doom coding computer do not have a green circle next to their labels, there is an issue with your Tailscale/Internet connection.
- When disconnecting/reconnecting power, make sure you unlock the computer. I've ran into this issue one too many times.
- New niche bug: If you're using a closed laptop to doom code, do not connect that laptop to a monitor. I've recently changed my setup from displaying my doom coding laptop 24/7 to connecting the doom code laptop display to a backup HDMI port I can switch too. Despite setting the doom code laptop to never sleep, it would still disconnect from tailscale after 10 minutes. Issue was resolved by disconnecting the doom code laptop from the monitor. Go figure.
End sessions by asking Claude to update CLAUDE.md with where you left off.
Go to your desired directory and start an HTTP server
python -m http.server 3005
then visit http://your-machine.tailnet-name.ts.net:3005/your-html-file.html in a browser on your phone.
Wherever you would use localhost:PORT to view an app on your computer, replace localhost with the computer's MagicDNS from the Tailscale app (e.g. your-computer.tailnet-name.ts.net)
Use the PostgreSQL app to view databases for your projects https://apps.apple.com/us/app/postgresql-client/id1233662353
On your computer, bookmark the sites you refer to during development (e.g. Google OAuth, GitHub) to make it easier to reference from your phone. I use the Chrome app to seamlessly access the sites I need.
Please contibute your best practices! I am looking forward to seeing all the places you will code!
I'm new to the world of hacking - so please share your ideas, feedback, and questions - you will help me learn! Please connect at [email protected] or https://www.linkedin.com/in/ryan-bergamini-223606107/




