Zorto

A fast static site generator with executable code blocks.

Features

Fast

Written in Rust. Render your website in milliseconds.

AI-native

Built for AI to create your website in minutes & maintain it with ease.

Executable code blocks

Run Python and Bash at build time. Output rendered inline.

Live reload

Preview server with automatic reload.

Shortcodes

Built-in shortcodes for common use cases; or build your own custom shortcodes to handle anything.

Free & open source

MIT-licensed forever.

Zorto #

Under construction. Zorto is in early development, check back soon.

A fast static site generator with executable code blocks inspired by Zola and Quarto.

Install #

Recommended:

curl -LsSf https://dkdc.sh/zorto/install.sh | sh

uv:

uv tool install zorto

cargo:

cargo install zorto

You can use uvx to run it without installing:

uvx zorto

Usage #

zorto --help
A fast static site generator with executable code blocks

Usage: zorto [OPTIONS] <COMMAND>

Commands:
  build    Build the site
  preview  Start preview server with live reload
  clean    Remove output directory
  init     Initialize a new site
  check    Check site for errors without building
  help     Print this message or the help of the given subcommand(s)

Options:
  -r, --root <ROOT>        Site root directory [default: .]
  -N, --no-exec            Disable execution of code blocks ({python}, {bash}, {sh})
      --sandbox <SANDBOX>  Sandbox boundary for file operations (include shortcode, etc.). Paths cannot escape this directory. Defaults to --root
  -h, --help               Print help
  -V, --version            Print version

Executable code blocks #

Use {bash} or {python} in code blocks to execute them.

echo "hello"
hello
for i in range(5):
    print(i)
0
1
2
3
4