Skip to content

Getting Started

Get up and running with Balzac in minutes.

Balzac is a fast, memory-safe static site generator built with Rust. It features:

  • Handlebars templating - Logic-less, familiar templates
  • Content collections - Organize Markdown content easily
  • Fast builds - Rust-powered performance
  • Simple configuration - Minimal setup, maximum flexibility
  • Build hooks - Customize the build process
  • Vite integration - Modern asset bundling support

Install Balzac using Cargo:

Terminal window
cargo install balzac

Create a simple site in 4 steps:

Terminal window
mkdir my-site
cd my-site

balzac.toml:

[global]
site_name = "My Site"

pages/index.hbs:

<!DOCTYPE html>
<html>
<body>
<h1>{{site_name}}</h1>
<p>Hello, Balzac!</p>
</body>
</html>
Terminal window
balzac build

Your site is ready in dist/!

Built in Rust for guaranteed memory safety. No null pointer exceptions, no data races, no crashes.

Rust performance means lightning-fast builds, even for large sites.

Minimal configuration, sensible defaults, and familiar Handlebars templates make it easy to get started.

Build hooks, custom helpers, and Vite integration give you the power to create exactly what you need.

Used in production sites with stable releases and active development.