the cyberwitchery blog engine. a small python script that turns markdown posts into a static site and uploads it over webdav.
each post is a markdown file in posts/ with yaml frontmatter:
---
title: "my post title"
date: 2026-01-15
author: "author name"
slug: my-post
tags: [topic-a, topic-b]
summary: "one-line summary shown on the index page"
---
Post body in markdown.title, date, and author are required.
optional frontmatter fields:
links?: set totrueto display a list of linkslinks: a list of{label, url}objects rendered below the post
posts with a date in the future are excluded from the build until that
date arrives.
python publish.py
this will:
- read every post from
posts/. - render html through the pystache templates in
templates/. - generate an rss feed (
feed.rss). - upload everything to the configured webdav endpoint.
install with:
pip install -r requirements.txt
have fun!