Write Software on Your Phone
I am an active guy. I learned a long time ago that a day consisting of digging up the yard, cycling 30 kilometers and lifting weights for me is a good day. In the past this clashed with my aspirations of building software. If you want to get good at anything you have to do it a lot and so I spent a lot of time in front of the screen not only learning programming languages, frameworks and how to build good software (which you still should do today in my view) but also just typing the code.
These days however you can build great software from your phone. Sure you could type code before on your phone but that was very slow and cumbersome at best. I am talking about using Claude to build from your phone. Since Opus 5.5 my reservations about AI and the quality of code it is capabable of producing have vanished. This model is just awesome. So I decided to make the process portable.
The Setup
Claude Code has this feature called remote sessions. Basically you can start a code session anywhere and then connect to it through the Claude app on your phone. I set up a small VPS on Hetzner, set up mise to install tools and ran Claude Code as a non-sudo user on this VPS. It has its own git user on my self-hosted Forgejo. If I am building web apps I can expose the development server through Tailscale. Great! I can build a feature with Claude, review it through Tailscale and then push it to Forgejo - all from my phone! One piece however was missing.
Forgejo CLI
There is no real forgejo CLI in a sense of the dreaded GitHub CLI. There is no way to for example open a PR from the command line. The only thing that kind of seems to fit is the Gitea CLI - which was the original project forgejo was forked from. I have doubts about compatibility though. Thus, I had Claude build my own. You can find it here.
Now my phone-based software engineering setup is complete. I can open a PR through the CLI, review it on forgejo and then merge it. I build a lot of Rails applications lately and have configured my Forgejo workflows to auto-deploy on merge to main via Kamal.

