Publish to Blog from iPad

| in Deutsch lesen

Unfortunately, ideas for new blog posts often fizzle out because I find it too much of an effort to boot up my laptop in the evening and organize my thoughts. I am therefore always on the lookout for ways to lower the inhibition threshold as much as possible.

A good approach would be to remove the laptop from the equation and blog from a device that I have in my hand all the time anyway: Smartphone or tablet, for example. But because the cell phone display is perhaps a bit small, I’m going to see if I can blog well from an iPad today. And yes, this article was written entirely on the iPad.

I use Hugo as the foundation for my blog, which I run (as described here) on a uberspace. This has the advantage that I can outsource some of the magic to the server. Specifically, I have set up a post-update hook in the Git repository on the server. This automatically creates the static files after each commit.

So I don’t need to have Hugo installed on the i-Device, I just need a Git client and a text editor. I found both in Working Copy.

The app costs a bit, but in my opinion it’s worth every penny. Especially because it is perfectly integrated into iOS. For example, the repository can be accessed via the Files app - so I can edit the content with many different apps.

My workflow is now as follows:

  1. within Working Copy, I duplicate an existing Markdown file as the basis for the new article and adapt the YAML header.
  2. open the new file in the integrated text editor and write the article. For a little more syntax highlighting, you can also open the file in an external editor (e.g. Textastic).
  3. if I want to include screenshots or other files, I save them directly to the static folder of the repository via the iOS Files app.
  4. when I’m done, I use Working Copy to commit the changes and then push them to the repository. The uberspace then automatically updates the blog.

It could hardly be easier.


#Hugo #Blog #Tech

Reply to this post
I used to have a comments box on this blog, but found that maintaining another system and dealing with the cookies is cumbersome. So, if you have any thoughts on what I wrote in this article, please write me an email and we can have a conversation about it.
reply via email ✉️

Enjoyed reading this?
I put a lot of work into maintaining this blog and I really enjoy the interactions I get with you, dear readers. I you liked what you just read and want to do me a little favor, please tip me a cup of coffee as it's the fuel that keeps me going:
buy me a coffee ☕️