Minimalist static .md → .html site generator. Declarative and highly customizable. Built with personal sites and the small web in mind! uteri.klastriz.com
README.md

UTERI #

Minimalist static md → .html site generator. Declarative and highly customizable.

Use it with any folder of Markdown files!

uteri build --content ~/notes --out site

File names are slugified by default (My Note.md → /my-note/, ação.md → /acao/), YAML block lists and aliases: work, non-Markdown attachments are copied and relative links to them resolve at any depth, and missing templates/ or style.css use the built-in theme. Set routes = strict to require pre-slugged names. See docs/CONTENT.md.

Already have a vault? uteri import converts it, keeping wikilinks working:

uteri import --content ~/vault --out content

See docs/IMPORT.md.

Project page: uteri.klastriz.com.

0.1.2

Install #

cargo install --git https://tangled.sh/klastriz.com/uteri --tag v0.1.2

Then uteri init and uteri build. From a checkout, cargo install --path . works the same way; the HTTPS URL uses a slash, the colon form is for SSH.

Themes #

The default is uteri-night, a pink dark monospace theme. Switch to the light variant with one line in site.conf:

theme = uteri-day

Both themes share the same small layout: a skip link, a visible focus ring on every control, a reduced-motion block and print styles. The default build ships no scripts and no external URLs.

Add a project style.css or templates/ directory only when you want to override the defaults — the templates directory replaces all five as a whole, so copy them in one go with uteri eject. See docs/TEMPLATES.md.

Development #

cargo build --release
cargo test

Usage #

uteri init
uteri build
uteri check
uteri eject
uteri import --content ~/vault --out content --dry-run
uteri import --content ~/vault --out content
uteri enable atproto
uteri sync --dry-run
uteri sync

Run uteri --help for flags.

A pre_build hook can prepare or convert a content tree before the build; see docs/HOOKS.md and docs/IMPORT.md.

site.standard integration for publishing to AT Protocol is opt-in; see docs/ATPROTO.md. build, check and init stay offline; only uteri sync uses the network.

Preview #

uteri stays one-shot. Serving a built site is a separate development helper:

./scripts/serve.sh site
PORT=8080 ./scripts/serve.sh ~/uteri-test/site

It binds 127.0.0.1 and uses python3 or busybox httpd.