April 1, 2020

I almost forgot about blog-cli for Blot

Now that I’ve (re)fired up this Blot.im-based blog, I needed to go through the usual round of learning how to easily create posts for it.

I nearly always post from my Mac, so this leaves the command line as a good option. I’d almost forgotten that I’d forked a repo from @kahlil and tweaked it for use with Blot. (His works for other static site generators like Hugo).

My fork is here: https://github.com/jackbaty/blog-cli

Note that I haven’t done any work to make this generally usable, so you’ll want to tweak things somewhat. Probably starting with ./lib/template.js.

Then set the path and editor (see usage instructions) and it’s ready to go.

It’s nice being in a terminal and typing something like blog cli-for-blot and being tossed into my editor du jour, ready to write.


Blot CLI Meta


Previous post
Theme change I ran a quick poll to see which theme people preferred for this blog. Opinion was split, but since I was already inclined to use the Daring
Next post
Making Day One permanent In Thoughs vs Records as Notes I didn’t address journaling directly, but I implied that journals fall into the Record category so work best as plain