It’s been quite a while since I’ve put any effort in to my blog. With the mess than is 2020 it’s been pretty hard to find the motivation to do much of anything, let alone write. But sometimes it comes from strange places.
I was running my blog on Wordpress, on a VM in Google Cloud Platform. This was fun for a little while, but I soon realised that I couldn’t be bothered to maintain it… and it wasn’t exactly cost effective.
I was cross-posting to medium anyway, so I made the decision to shut down the VM hosting my site. I figured i’d save some money and no one was reading it anyway, and I certainly couldn’t be bothered to write at the moment. Prior to this I had also moved a bunch of awful code referenced in blog posts in to private repos in GitHub… again, figured no one needed it.
Then a few days ago I had a twitter DM asking about something I’d blogged about and if the code was still available… and that same day a friend let me know my blog was down.
So I tweeted about my intention to just be lazy and blog on medium (if I could ever find the motivation) and I had a few people advise against it… and others tell me they actually did read my blog. There were some great alternative suggestions made to how I could host cheaply/easily.
I killed off my blog the other day. I didn't want to pay for hosting, & I didn't think anyone was reading it.— Mick Wheeler (@mickwheelz_) November 19, 2020
Turns out some people do... Still don't want to pay for hosting so I will be moving everything to @Medium . Might even fix the broken links on the posts already there 🤣
I took a look in to these, and also took a look into jekyll, as another friend of mine was hosting their blog on GitHub pages using it. I found that it ticked the boxes… It required no “hosting”, was pretty easy to set up, was easy to write in (you write in markdown, and can do it from GitHub’s web interface) and wouldn’t cost me anything (I was already paying for GitHub Pro and my domain).
After getting it setup, I needed to migrate my posts over. I found a useful little script that takes an extract from medium and converts the posts to markdown, including organising and embedding any images.
Migrating was easier than expected. I was already cross posting to medium and I found a neat little script from @bthdonohue that converts your medium posts to markdown for jekyll— Mick Wheeler (@mickwheelz_) November 19, 2020
He's written about it herehttps://t.co/NhTDVfJHqL
Took all of 5mins, excellent.
It worked perfectly, and as you can see all of my old posts are now on here. I will need to spin through them to update any broken links, but that won’t take long.
This whole move, and the fact people do actually read my blog has made me think about blogging again. The rest of the site is still a work in progress, but should also be done shortly.
I even have some ideas for some new posts about various things I’ve done recently. Not promising anything, but hopefully in spite of 2020 I can get some motivation to write again!