Gozzi

Built for learning. Simple by design.

v0.1.0

Static Site Generation

Generate blazing-fast static websites with Gozzi's powerful templating engine.

Markdown Support

Write content in Markdown with front matter support for metadata.

Powerful Templates

Flexible Go template system with partials, layouts, and custom functions.

Internationalization

Built-in i18n support for creating multilingual websites.

Shortcodes

Reusable components for code blocks, alerts, images, and more.

Taxonomies

Organize content with tags, categories, and custom taxonomies.

A simple static site generator written in Go. Built for learning, designed for clarity.

What is Gozzi?

Gozzi converts Markdown files into a static website. I built it to understand how static site generators work, and now I use it for tduyng.com with 100+ posts building in ~100ms.

Gozzi might be right for you if you:

  • Want to learn Go by using a real tool
  • Prefer simplicity over feature-rich complexity
  • Like understanding how your tools work

Quick Start

# Install (Homebrew)
brew install tduyng/tap/gozzi

# Or with Go
go install gitlab.com/tduyng/gozzi@latest

# Create site
mkdir my-blog && cd my-blog
mkdir -p content templates static

# Configure (config.toml)
echo 'base_url = "https://example.com"
title = "My Blog"' > config.toml

# Create first post (content/hello.md)
echo '+++
title = "Hello World"
date = 2024-01-15
+++

# Hello World

My first post!' > content/hello.md

# Serve
gozzi serve  # Visit http://localhost:1313

Core Features

  • Fast - Sub-second builds, instant live reload
  • Simple - Markdown + TOML config + Go templates
  • Complete - Taxonomies, series, pagination, RSS, sitemap, math, diagrams, i18n, data files built-in
  • Portable - Single binary, deploy anywhere

Next Steps

Resources

GitLab · Issues · Discussions