Skip to content

dkdc-io/zorto

Repository files navigation

Zorto

GitHub Release PyPI crates.io CI License: MIT

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

Warning: While I use Zorto for many static websites including zorto.dev, I do not consider it production-ready for usage by others yet.

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

Executable code blocks

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

echo "hello"
echo "Built on $(uname -s) $(uname -m) at $(date -u '+%Y-%m-%d %H:%M UTC')"
for i in range(5):
    print(i)

Tip

If you're reading elsewhere, see https://zorto.dev for the rendered results of the code blocks above.