Its goals are simple:
The script is altogether ≈130 lines of Python code, and probably won’t ever be much larger (hopefully I’ll cut it down some). I chose markdown formatting, and Jinja2 for templating. My preferred editor (for prose/markdown) is iA Writer, and the site is deployed to S3.
I’m calling it
unn because naming things is hard.
Invoked from the command line, it knows how to do 3 things:
unn idea post-slug- start a new draft called “post-slug”
unn build- convert “published” files into an HTML site
unn deploy- deploy the site to S3 (& build it first)
To “publish” a post, I simply move the file from
/posts, and run
It’s not perfect, but if I wait until it is, I’ll be waiting forever. You can find it on GitHub.