Files
museion/spike/prose/my-current-posting.md
T
AlexKucera 3b3544e84d
CI / ci (push) Canceled after 0s
spike(corpus): pin eight-post prose corpus + PERF-3k for editor spikes
Pinned byte-identical editing corpus for the substrate spikes (#51):
eight posts as clean markdown plus the ~3k-word perf concatenation.
Site chrome stripped; content faithful to source structure.

[Generated by AI]
2026-09-30 11:07:31 +02:00

30 lines
5.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## My current posting workflow while on the go
February 6, 2017 Alexander Kucera
[Nick Parfene](http://parfene.com/) over in the Indie Microblogging Slack asked me to write about my posting workflow and since I haven’t written about how I blog for [over three years](http://blog.alexanderkucera.com/articles/blogging_workflow_again) it could do with an update.
## Why change?
First, why change the previous workflow? I got confused. Simple as that. My blogging schedule is erratic at best. And the old run and gun style workflow, while working, always left me scratching my head when I hadn’t touched it for a few months. I know, months is a sad amount of idle time between posts. But it is what it is.
So to keep myself in the loop what happened to my blog I decided to adopt Git for keeping a publishing history. Not only does it allow me to tinker with the blog’s templates and CSS without messing up, it also serves as a nice automatic history what I did when and for what reason. I just need to read the commit log to job my memory.
## The in-between workflow
The last workflow I wrote about three years ago relied on a desktop machine running. While I have a server machine running 24/7 I did experience too many hiccups with that approach to feel reliable. So I switched it to a two pronged process that worked pretty well. On the go I was posting with Workflow and Transmit and on the desktop I was using Hazel with a [custom Python script](https://alexanderkucera.com/uploads/2024/blog-post-transform.zip).
This tended to work pretty well. Especially the on the go version. Write stuff in whatever text editor suits you best (I use [Ulysses](https://geo.itunes.apple.com/de/app/ulysses/id950335311?mt=8&ign-mpt=uo%253D4)), send over to [Workflow](https://geo.itunes.apple.com/app/workflow-powerful-automation/id915249334?) for [processing](https://workflow.is/workflows/b0364be085534bb8b94003de824f8d4d) and upload to blog with [Transmit](https://geo.itunes.apple.com/us/app/transmit-ios/id917432930?mt=8&ign-mpt=uo%253D4). For images the procedure is similar only I use [ImageOptim](https://workflow.is/workflows/42d6d670bbd940148a8e3c945682bc15) or [Kraken](https://workflow.is/workflows/a70ddd60f996477385a2d5d2d934fa60) for image optimization before uploading. I use both at the moment and have not decided which one I like better.
## Micro.blog and Git
Now, beginning of this year [Manton Reece](http://www.manton.org) created a [Kickstarter project](https://www.kickstarter.com/projects/manton/indie-microblogging-owning-your-short-form-writing) about Microblogging (Kickstarter is over, but you can enter your details on a [mailing list](http://riverfold.us9.list-manage.com/subscribe?u=241a0ce5d267c19de7fcf819f&id=98f8896de4) if you are interested in it). I found the idea enticing and so I joined the project. This basically got me fired up to tinker with my blog again, which led to the adoption of Git since I couldn’t make heads or tails of whatever my latest changes to it had been.
The idea is really quite simple. Git has the ability to run scripts, so called [Hooks](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks), when certain events happen. In my case I use the [post-receive hook](https://www.kernel.org/pub/software/scm/git/docs/githooks.html) to check out the newest version of my site whenever I push something to my server’s repository. There are a [number](http://bobbelderbos.com/2012/03/push-code-remote-web-server-git/) of [guides](http://toroid.org/git-website-howto) available, but the one I found most helpful was [Nicolas Gallagher’s](http://nicolasgallagher.com/simple-git-deployment-strategy-for-static-sites/).
Once that is set up the writing pipeline is really pretty similar to what I had above.
Write stuff in whatever text editor suits you best (I still use [Ulysses](https://geo.itunes.apple.com/de/app/ulysses/id950335311?mt=8&ign-mpt=uo%253D4)), send over to [Workflow](https://geo.itunes.apple.com/app/workflow-powerful-automation/id915249334?) for [processing](https://workflow.is/workflows/1eb4469c83b145c8867311bdcb9cd986), which then sends the article to [Working Copy](https://geo.itunes.apple.com/us/app/working-copy-enterprise/id965019520?mt=8), an iOS Git client. In Working Copy I can check and if necessary correct the post or snippet and then commit and push the changes to my Git repository on the server. There is gets immediately checked out to the live site. For images I still use [ImageOptim](https://workflow.is/workflows/42d6d670bbd940148a8e3c945682bc15) or [Kraken](https://workflow.is/workflows/a70ddd60f996477385a2d5d2d934fa60).
The desktop version is almost the same really. I also use [Ulysses](https://geo.itunes.apple.com/de/app/ulysses/id623795237?mt=12&ign-mpt=uo%253D4) for my desktop writing. From there I go via a custom [Alfred workflow](https://alexanderkucera.com/uploads/2024/ulysses-blog-post.zip) that preps the article and then I push the changes up to my Git repository with [Tower](https://www.git-tower.com/mac/), but I could just as easily fire off a simple `git push` from Terminal.