Hunim

A small, fast, and unopinionated static site generator written in Nim.

nimble install https://github.com/WyattBlue/hunim
Get Started GitHub

Tiny binary

The entire generator compiles to a single ~437 KB executable with no runtime dependencies.

Markdown + Frontmatter

Write content in Markdown with YAML frontmatter for titles, dates, authors, and more.

Go-style templates

Use {{ .Variable }} syntax to build reusable HTML layouts and components.

Blog feeds & RSS

Mark any directory as a feed and Hunim automatically generates an RSS feed and index page.

NimScript execution

Run .nims scripts at build time and inline their output directly into pages.

Dev server

Built-in dev server on port 8080 with auto-reload on file changes.

Quick start

Install Hunim via Nimble, then create your first site:

nimble install https://github.com/WyattBlue/hunim
hunim newsite mysite
cd mysite
hunim server

Open http://127.0.0.1:8080 in your browser. Edit files in src/ and the page will reload automatically. When you are ready to publish, run:

hunim

Output is written to the public/ directory, ready to deploy to any static host.

Read the docs