Hello World: Building My Static Site Generator

Download PDF

Welcome to my new site! I’ve decided to build my own static site generator using Go, templ, and Tailwind CSS. Here’s why…

The Stack

  • Go 1.24: For the build system and content processing
  • templ: Type-safe HTML templating
  • Tailwind CSS v4: Modern, utility-first CSS
  • Alpine.js: Lightweight interactivity
  • DigitalOcean Spaces: Asset hosting
  • DigitalOcean App Platform: Static site hosting

Why Build My Own?

There are plenty of great static site generators out there, but I wanted something that:

  1. Handles multiple content types (writing, photography, projects)
  2. Optimizes images automatically
  3. Generates PDFs from articles
  4. Uses content-addressable storage for assets
  5. Integrates seamlessly with my workflow

Stay tuned for more details on how it all works!

Update

I’ve been working on adding git history tracking to show when articles were last edited. This helps readers see when content was updated.