compile-typst-site

Crates.iocompile-typst-site
lib.rscompile-typst-site
version2.1.0-rc3
created_at2025-11-12 00:08:13.270103+00
updated_at2025-12-02 16:20:09.354201+00
descriptionCommand-line program for static site generation using Typst.
homepage
repositoryhttps://github.com/wade-cheng/compile-typst-site/
max_upload_size
id1928469
size109,812
Wade Cheng (wade-cheng)

documentation

README

compile-typst-site

compile-typst-site is a command-line program for static site generation using Typst. It takes a directory structure like this:

.
├── compile-typst-site.toml
├── src/
│   ├── about.typ
│   ├── blog/
│   │   ├── post-1.typ
│   │   ├── post-2.typ
│   │   ├── post-3.typ
│   │   └── ...
│   ├── blog.typ
│   ├── data.json
│   ├── index.typ
│   └── style.css
└── templates/
    └── base.typ

and after running compile-typst-site in the directory, it generates a _site like this:

.
├── _site/
│   ├── about/
│   │   └── index.html
│   ├── blog/
│   │   ├── index.html
│   │   ├── post-1/
│   │   │   └── index.html
│   │   ├── post-2/
│   │   │   └── index.html
│   │   ├── post-3/
│   │   │   └── index.html
│   │   └── ...
│   ├── index.html
│   └── style.css
└── ...

For more, visit the docs: https://wade-cheng.com/compile-typst-site/.

Commit count: 0

cargo fmt