sukr

Minimal Rust static site compiler that ships zero JavaScript

Image 1 of 1: sukr documentation site, built with sukr, explaining why it renders at build time

A small Rust static site compiler that renders Markdown to plain HTML and does the rich parts at build time: Tree-sitter syntax highlighting with language injection, LaTeX to native MathML and Mermaid to inline SVG, with Tera templates and several sites from one repo.

Trade-offs

  • Highlighting, math and diagrams are rendered at build time instead of in the browser, so pages load without a JavaScript bundle but every change needs a rebuild.
  • Raw HTML in Markdown passes through per CommonMark, so content from untrusted sources needs review before building.

Q&A1

No. It runs at build time only; templates auto-escape by default, and deployment headers such as CSP are covered in its security docs.

Reviews

Loading reviews

    More in Static sites

    See all 13 →
    • Eclair CMSFlat-file PHP CMS for shared hosting, with SEO, AI and an MCP connector built in
    • nsite-clayA web page in one HTML file that edits and republishes itself on Nostr
    • BengalPure-Python static site generator built for free-threaded Python
    • DD PhotosStatic photo and video album site generator
    • greatgrampsStatic website generator for Gramps family tree databases
    • AmytisStatic digital garden framework on Next.js

    More in Rust

    See all 146 →
    • PaganelData migration engine that verifies the destination down to the row
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • AudioRouterVisual audio router for Windows 11: route, process and record on a canvas
    • ai-memoryPersistent memory for MCP clients in one Rust binary over SQLite
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • jc-rsjc rewritten as one static binary that turns command output into JSON