Skip to main content

The AI-native static site generator (SSG) with executable code blocks

Project description

Zorto

GitHub Release PyPI crates.io CI License: MIT

The AI-native static site generator (SSG) with executable code blocks, inspired by Zola and Quarto.

Install

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

Verify:

zorto --version
More install options

The curl | sh installer above wraps uv tool install zorto. On Linux and macOS it pulls a pre-built wheel from PyPI that bundles the Rust engine (no compile step). Windows is not covered by the installer — use cargo from source or run under WSL.

uv (PyPI wheel, no compile):

uv tool install zorto

uvx (run once without installing):

uvx zorto

cargo (build from source, requires Rust 1.85+):

cargo install zorto

Usage

zorto --help

Slide decks

Zorto ships a reveal.js-powered presentation mode: one markdown file per slide, with frontmatter for layout, background, and transitions. Arrow keys, speaker view, fullscreen, and overview mode are built in, so a deck is just a directory of .md files that a human or agent can draft, reorder, or hand off without touching HTML.

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.

What Zorto is not

  • Not a JavaScript SSG. The engine is Rust, output is static HTML/CSS. There is no Node toolchain, bundler, or framework runtime.
  • Not a notebook. Code blocks execute at build time; the output is static HTML rendered alongside the source. There is no in-browser kernel, no reactive cells, no stateful session.
  • Not a sandbox. {python} and {bash} blocks run in the author's environment with the author's credentials. Treat zorto sites the way you treat a Makefile: trust the author, or pass --no-exec.
  • Not a headless CMS. The --webapp mode is a local single-user editor for your own content tree. It is not multi-tenant and is not meant to be exposed on the public internet.
  • Not a general-purpose templating engine. Tera templates are a build-time detail. Zorto renders sites, not arbitrary programs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zorto-0.24.0.tar.gz (173.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

zorto-0.24.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ x86-64

zorto-0.24.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

zorto-0.24.0-cp311-abi3-macosx_11_0_arm64.whl (7.6 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

zorto-0.24.0-cp311-abi3-macosx_10_12_x86_64.whl (7.9 MB view details)

Uploaded CPython 3.11+macOS 10.12+ x86-64

File details

Details for the file zorto-0.24.0.tar.gz.

File metadata

  • Download URL: zorto-0.24.0.tar.gz
  • Upload date:
  • Size: 173.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for zorto-0.24.0.tar.gz
Algorithm Hash digest
SHA256 ce168e9e675c37773b0df497e4bc33c8c8ae175437a66e3b21e775d3c3ee7273
MD5 52b51f880a2d64070cdad3499504283e
BLAKE2b-256 bdaf074c7f8adf45bbdcc3bfd712bfa696e665e28e7fa3547dfdc205ab80b0cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for zorto-0.24.0.tar.gz:

Publisher: release-python.yml on dkdc-io/zorto

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zorto-0.24.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for zorto-0.24.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b5d41af3ed5b8906a3568eaf15068523a4f21195785c239579be18184e20d543
MD5 95cd462f69eb5edb2bdb28fe10ab9052
BLAKE2b-256 67e789b837cb893bcb7c3694d4824787bf1c4196a1b61d1023ec4ac083b833fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for zorto-0.24.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release-python.yml on dkdc-io/zorto

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zorto-0.24.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for zorto-0.24.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b6ad7c37f89ffa4fbe3c026994a63cddef3ad4f1166aa78b1658d082dcd30111
MD5 3d886125fee3492de3d961d7796d5b40
BLAKE2b-256 861337980f2d511a1565e670f378dd54f78ff409e69f36d3f4a914be454307e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for zorto-0.24.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release-python.yml on dkdc-io/zorto

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zorto-0.24.0-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zorto-0.24.0-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 812444d40bb2928f46f9e5e84b560bd6dc33ffa7dd7d36420187de16d2f1711e
MD5 58a05cc7bb373b78d6169d1b2d00f79f
BLAKE2b-256 ca9f0f293c993d9b040c221d8889d14ae1349c0aa601a993dafeb6d530070307

See more details on using hashes here.

Provenance

The following attestation bundles were made for zorto-0.24.0-cp311-abi3-macosx_11_0_arm64.whl:

Publisher: release-python.yml on dkdc-io/zorto

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zorto-0.24.0-cp311-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for zorto-0.24.0-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b7d9c9f5a5db717a896e92e366e89ef3ff36a5a3e901ab906b1a8fffbe15e68c
MD5 7f996aca4ffc7a66d8100ff4b428407e
BLAKE2b-256 94da2c1121a63d72d8adc02c504ece101e29848469186cf60995beda2f049c24

See more details on using hashes here.

Provenance

The following attestation bundles were made for zorto-0.24.0-cp311-abi3-macosx_10_12_x86_64.whl:

Publisher: release-python.yml on dkdc-io/zorto

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page