joriszwart.nl

snor

Moustache

Snor (Dutch for moustache 🥸) is a semi-static site generator. Markdown files are rendered to HTML at startup and kept in memory. Superfast.

This website runs on it.

Written in Go. Shows the usage of the standard library like wrapping and intercepting HTTP handlers, parsing Markdown, I/O, testing/mocking, logging, templating and more.

HTTP Handlers

Features

Content

Feeds

File content

Ontology

Misc

Authoring content

Content is written in Markdown. Metadata (tags, categories, publication) is also retrieved from Markdown.

A simple article Markdown:

snor
====


Published
:    2026-01-23 06:16:57 +0000

Category
:    Ramblings

Tags
:    CMS, Website, Golang, Markdown


Si sagittis
-----------

Lorem markdownum hausi externis praeterque, enim nostri, capillis quoque
lacrimis fumantis humano tabellae. Tua circum: est bos sic, priori et laboratum
relicta sanguine ipse obstitit `drive_graphics` vulnere Oeten; est. Venus me
incesto pudorem tremens veniebat invitum flexuque in parte timor Baucis pastorve
donec visa naribus quod, parte.

Metadata

As mentioned, metadata is extract from the document. The example will be filed under the category ‘Ramblings’ and published at the specified date. Title and images are also extracted to be used in overview and other pages.

Related