Skip to content

Balzac

Fast, safe static site generator in Rust

Built with Rust for performance, memory safety, and reliability.

Memory Safe

Guaranteed memory safety with Rust. No null pointer exceptions, no data races, no crashes.

Handlebars Templating

Familiar, logic-less templates with partials and helpers. Clean separation of content and presentation.

Content Collections

Organize your Markdown content with frontmatter and powerful template features.

Build Hooks

Customize your build process with shell commands at any stage. Run tests, build assets, or deploy automatically.

Vite Integration

Modern asset bundling with Vite. Optimized production builds with automatic asset hashing.

Simple Configuration

Minimal setup with sensible defaults. Get started in minutes with just a few files.

Write content in Markdown, style with Handlebars templates, and deploy anywhere.

balzac.toml
[global]
site_name = "My Site"
pages/index.hbs
<!DOCTYPE html>
<html>
<body>
<h1>{{site_name}}</h1>
<p>Hello, World!</p>
</body>
</html>
Terminal window
balzac build