GitHub - rberg27/doom-coding: A guide for how to use your smartphone to code anywhere at anytime. · GitHub

Source: original

doom-coding

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.

Code in the air!

image

Code on a run! image

Even code at the club! image

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 outwww.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!

What You'll Need

  1. A Computer running 24/7 with Internet Connection
  2. A Smartphone
  3. A Claude Pro subscription

Overview

Use Tailscale, Termius, Claude Code, and a computer running 24/7 to continue building anywhere you have Internet connection.

Getting Started

1. Set Up Your Computer

2. Set Up Your Phone

image

3. Connect and Code

image

Troubleshooting

1. Reset your Tailscale VPN

image

2. Make sure your computer is ON and UNLOCKED

3. Check your Access control settings on the web

Best Practices

Track your progress:

End sessions by asking Claude to update CLAUDE.md with where you left off.

Preview websites:

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)

View databases:

Use the PostgreSQL app to view databases for your projects https://apps.apple.com/us/app/postgresql-client/id1233662353

Bookmark useful sites:

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.

Happy Doom Coding!

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 rmb1@wharton.upenn.edu or https://www.linkedin.com/in/ryan-bergamini-223606107/