My website now runs on my own static site generator.

Zorto is a static site generator (SSG) I’m building. It now powers my static websites.

The goal is a SSG with a mix of Zola and Quarto:

  • Zola: Rust-based, fast, simple, single binary
  • Quarto: execute blocks of code (Python, etc.) during build

…and my own additions, like being AI-first (I haven’t read the code yet…) and simple distribution via Python (specifically uv). I’ve used Zola & Quarto (and other SSGs) and wanted a heavily-customized version I could call my own. Now I have the start of it!

installing and using Zorto #

Zorto is distributed as a Python package (Rust core with PyO3 bindings). You can install it from PyPI or crates.io or GitHub releases or dkdc.sh (recommended).

On Netlify, the build command I use is:

curl -sSf https://dkdc.sh/zorto/install.sh | bash && zorto build

The install script is short:

  1. installs uv if it’s not already available
  2. installs (or upgrades) Zorto via uv tool install --upgrade zorto

warning #

This is very early, very poorly reviewed code at this point. I just wanted to get my own sites moved over. I will improve the code over time.

code blocks #

Bash:

echo 'hello from Zorto!'
hello from Zorto!

Python:

for i in range(5):
    print(f'hello from Zorto, line {i}!')
hello from Zorto, line 0!
hello from Zorto, line 1!
hello from Zorto, line 2!
hello from Zorto, line 3!
hello from Zorto, line 4!

license #

Zorto is and will always remain MIT-licensed.