A Grain of Salt

Writing a blog post on an iPhone

Wait, before you read...

I do not use this approach anymore. I switched to 11-inch iPad with magic keyboard.

Finally, I managed to figure out how to write a blog post from my phone quite comfortably, not by typing on the screen. I write this post on my iPhone, on my dining table.

This is how I setup everything as my portable workspace.

Portable blog writing setup on a glass dining table showing an iPhone on a stand displaying a text editor, connected to a 40% ortholinear mechanical keyboard via a Bluetooth adapter and power bank

Writing a long-form post like a blog post is quite challenging on a phone. This setup by no means is perfect, but this is much better than typing on the screen. I can now write anywhere, anytime I want, without having to carry my iPad or my laptop.

There are a few things to improve with this setup.

Deployment

I blog using Jekyll. On my laptop, I usually just do a git push to deploy the post. It is doable on iPhone using a software like Working Copy, but it's too much hassle for me. So, I decided to deploy the post later when I have access to my laptop.

Update:

Another papercut with this setup is I need to copy and paste my post manually, including the assets — like images, static files, etc — to the git repository when I reach my laptop. I sometimes use github.dev on my phone, although it's quite painful to do in such a small screen.

File format

Speaking of static files, I usually attach photos to my blog post, taken with my iPhone. Unfortunately, iPhone captures photos as HEIC format by default. I can change the format to JPEG, but I am not willing to trade off the quality of the photos with the convenience. So, I made a shortcuts to convert HEIC to PNG, and store them in a designated album. Yet another friction to write.

iOS Shortcuts app showing a HEIC to PNG conversion workflow with three steps: Select photos, Convert Photos to PNG, and Save Converted Image to album

That said, this is my best setup so far for portability purposes.

#hack