My CV as code, written in Typst. Published at https://larsvanasseldonk.com/cv.
| File | Purpose |
|---|---|
cv.typ |
Content |
template.typ |
Layout and styling |
pyproject.toml, uv.lock |
Dev tools (prek), managed with uv |
Install Typst once (brew install typst, winget install Typst.Typst, or see the
install options), then:
typst watch cv.typ # rebuilds cv.pdf on every save
typst compile cv.typ # one-off build
For live preview in VS Code, install the Tinymist extension.
Runs prek’s built-in whitespace and YAML checks, keeps uv.lock in sync,
formats .typ files with typstyle,
and checks that the CV compiles. prek is managed with
uv:
uv sync # installs prek into .venv
uv run prek install # enable the git hook (also replaces an existing pre-commit hook)
uv run prek run --all-files
GitHub Actions runs all hooks on pull requests and pushes to main.
Every push to main publishes the new PDF. Tag a commit when you send your CV
to someone (git tag 2026-10-acme), so you can always find that exact version.
The custom domain must point to GitHub Pages.