A static site generator written in POSIX shell
Summary
The article documents a POSIX shell based static site generator called gen.sh used to convert markdown posts into a full blog with feeds and sitemap. It covers the design choices, front matter style, the use of comrak for markdown rendering, envsubst for templating, and several shell-based tricks to wire content to HTML and feeds. It also discusses tradeoffs like absence of incremental builds and the performance considerations, plus deployment via GitHub Actions.