Gone are the days of running my own, home-spun CMS. They were fun, and I learned heaps, but I was ready for a change. I’ve moved to blot.im. I am smitten.
Blot is “a blogging platform with no interface.” It allows you to plop a bunch of
doc, or even image files into a folder and automatically builds and deploys an update for you! Blot can use either Dropbox or git as its sync engine. “But what about all that indieweb goodness!?” you shout?
Aye — it is still here! Because blot templates are wicked extensible it is relatively trivial to extend them to do all kinds of things.
Getting off the ground with blot was a breeze.
As of right now (January 2019), blot doesn’t offer a free trial. The first thing to do is register an account.
Registration doesn’t ask for anything out of the ordinary, was wicked low friction.
- Payment details
Once registered you receive a confirmation and a receipt email — then you are up and running!
The next steps are to set up a username (which doubles as your subdomain at the blot.im domain) and choose a sync provider.
I don’t know why, but it is amazing to me that you aren’t locked into a sync provider after making your initial choice. If, down the road, you decide to swap git for Dropbox, or the other way round, that isn’t an issue! No lock in. Great for portability. 🕺
At this point you have a blot site. It has some basic boilerplate content, and is waiting for you to start adding content and configuring your template. Blot comes with a couple pretty templates out of the bag, but is also wicked extensible. The documentation is decent, but certainly has a few holes in it here in there. The good news is that blot is open source, so if you know what you are looking for you can poke around in the code. Or, and this is probably blot’s best feature, the primary (perhaps sole?) developer behind blot, David, is easy to contact, and happy to lend a hand.
After fiddling with a few settings, and switching a few switches I took a step back to take a look at my existing content. I needed to migrate just shy of 3,000 posts from my old website to blot, and I wanted to preserve their URIs if at all possible since, URIs shouldn’t change.
Luckily for me, migrating my content was as easy as writing a sloppy little bit of PHP to convert each
json file into a
markdown file. I added a bit more extra metadata durring the migration process, just to make sure I was preserving as much info as needed moving forward.
Once the data was re-formated, I just had to plop it into my fancy blot directory! ZAP BOOM!
It is pretty much magic.
Once my content was in place I set up a basic redirect rule to map my old URI pattern to a new one, and everything just sort of worked.
With content in hand, the next step was to create a custom theme. This was way more fun than I anticipated it would be. Blot uses mustache templates, which I’ve used a bit in the past and always found frustrating when compared to something more feature-full, like handlebars, but in this instance, mustache does the job wicked well — I didn’t have to jump through any hoops, or come up with any hack-y solutions to get around mustache’s lack of useful logic.
The custom theme I came up with supports a few fun things (if I might say so myself).
Two worth calling attention to are bespoke-css files, and IndieWeb compatibility.
When I create a new post or page I can add an optional bit of metadata,
bespoke-css with the name of a css file as its value. For instance, this post has the metadata:
title: A love letter to Blot, one week in
tags: meta, blot
bespoke-css will override the css file that would otherwise be associated with this post — that means I can tie particular css files to specific posts. No real reason to do this, it is just something I often want to do.
Finally — the IndieWeb goodness:
To set the stage, my old site had decent support for most of what I consider to be the core indieweb features, micropub, webmentions, and microformats.
My new site currently supports receiving webmentions (thanks to Amit) and includes all the necessary microformats markup.
All my posts are funneled through micro.blog, so that mostly handles my outgoing webmention needs, and, if not, sending a webmention manually is not difficult.
My new site does not currently have a micropub endpoint. They exist for blot, and seem easy to write, actually (I also noticed that David is thinking about adding one to blot’s core code), but so far, I haven’t needed/wanted one. I think I posted a wee bit mindlessly to my old site because it was so bananas frictionless. Posting is still wicked easy, but I want to bring a bit more intentionality to my posts…I mean, I want to try to do that. We’ll see how it goes.