DigiNews

Tech Watch Articles

← Back to articles

A static site generator written in POSIX shell

Quality: 8/10 Relevance: 7/10

Summary

This post documents gen.sh, a static site generator written in POSIX shell that converts Markdown posts into a full blog site with templates, feeds, and a sitemap. It explains how frontmatter is parsed, how Markdown is rendered with comrak, and how envsubst is used for templating, all in a fast, one-pass build without incremental caching. It also covers practical aspects like self-hosting, image handling tweaks, and integrating with GitHub Actions for automated builds.

🚀 Service construit par Johan Denoyer