A Grain of Salt

Writing a blog post on an iPhone

· Teddy Aryono

This post is outdated. I switched to 11-inch iPad with magic keyboard. Much more productive!

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.

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:

  • I deploy my blog in Cloudflare Pages. I setup my deployment pipeline there, and just trigger the deployment from their dashboard.
  • I created a shortcut in iOS to invoke Cloudflare deployment hook.

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.

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

#hack

Reply to this post by email ↪