Running GitHub Codespaces on an iPad

Editing a post using Codespaces on Safari iPadOS

I've been experimenting on and off with GitHub Codespaces since gaining access to the beta. My long term goal is to set up an environment for Drupal contribution, similar to Ofer Shaal's great ddev Gitpod project. In the meantime, I've used Codespaces for a slightly more frivolous pursuit.

I occasionally find myself using my iPad and wanting to do a small amount of coding, or a relatively minor update to this site. Codespaces finally makes this practical. You can update and commit code, run commands in a terminal, and even view your development site in Safari with live reload enabled. Paired with the Magic Keyboard (speaking of frivolous) this setup can do a surprisingly good job approximating an honest-to-goodness local development setup.

Here's an overview of how I configured Codespaces in the repository for this site:

In the future I'd like to automate a few things like installing node packages when the container starts up. I'm guessing that can just be added to the dockerfile.

Now that the iPad is running the same M1 chip as the MacBook, I have a suspicion (hope? dream?) that the line between MacOS and iPadOS will start to blur in some ways that will make web development on an iPad more practical. But in the meantime it is nice to have this option in repos where I might want to make quick updates without dragging out my big boy laptop.