Building a Static Site Generator

python web static

Published: 2026-01-23

Today I built a simple static site generator using Python, Jinja2, and Markdown.

Why?

Because existing solutions were too complicated. I wanted something simple that:

The Tech Stack

Code Sample

def generate_site(args):
    content_root = Path(args.content).resolve()
    output_root = Path(args.output).resolve()
    # ... generation logic

Achievements (2026-01-24)

Today I made significant improvements to the generator:

The generator is now more flexible and maintainable!

Achievements (2026-01-25) - Open Source Release!

Today I extracted the generator into a standalone open-source project and integrated it back into crap.solutions:

The generator is now open-source, reusable, and maintainable!

Home | We <3 Developers | About us | Generated with pagegen.py