# Zorto
[](https://github.com/dkdc-io/zorto/releases)
[](https://pypi.org/project/zorto/)
[](https://crates.io/crates/zorto)
[](https://github.com/dkdc-io/zorto/actions/workflows/ci.yml)
[](https://github.com/dkdc-io/zorto/blob/main/LICENSE)
A fast static site generator with executable code blocks inspired by [Zola](https://github.com/getzola/zola) and [Quarto](https://github.com/quarto-dev/quarto-cli).
**Warning**: While I use Zorto for many static websites including [zorto.dev](https://zorto.dev), I do not consider it production-ready for usage by others yet.
## Install
Recommended:
```bash
uv:
```bash
uv tool install zorto
```
cargo:
```bash
cargo install zorto
```
You can use `uvx` to run it without installing:
```bash
uvx zorto
```
## Usage
```{bash}
zorto --help
```
## Executable code blocks
Use `{bash}` or `{python}` in code blocks to execute them.
```{bash}
echo "hello"
```
```{bash}
echo "Built on $(uname -s) $(uname -m) at $(date -u '+%Y-%m-%d %H:%M UTC')"
```
```{python}
for i in range(5):
print(i)
```
> [!TIP]
> If you're reading elsewhere, see [https://zorto.dev](https://zorto.dev) for the rendered results of the code blocks above.