@casoon/renderreport
⚠️ Early Development Stage - This project is in active early development. APIs may change, and some features are still being implemented and optimized.
Data-driven report generation with Typst as embedded render engine.
Build professional PDF reports without learning Typst. Use components, themes, and template packs to create reports from structured data.
Website: renderreport.casoon.de · Docs and examples: casoon.github.io/renderreport
Features
- 80 components — score cards, findings, tables, charts, timelines, pricing cards, barcodes and more, each with a Rust builder and a JSON form.
- Theme tokens — colours, fonts, spacing and page layout as named tokens, merged per request.
- Template packs — page templates, components, themes and assets in a folder.
- Embedded Typst — no Typst CLI; the engine compiles PDF/UA-1 tagged PDFs as a library.
- CLI, Rust and Wasm — render from JSON on the command line, from Rust, or in a Cloudflare Worker.
Quick Start
use *;
Installation
Library
Add to your Cargo.toml:
[]
= "0.7"
CLI
|
Downloads the archive for your platform from the latest release, verifies it against the
published .sha256 file and installs the binary to /usr/local/bin. Set
RENDERREPORT_INSTALL_DIR to install elsewhere, or VERSION to pin a release. On Windows, take
the .zip from the releases page.
Official binaries come only from the GitHub releases of casoon/renderreport — built there by
the release workflow, never on a developer machine. The npm package is published from the same
workflow. To verify a download by hand, check the hash and the signed build provenance:
Documentation
The documentation covers everything beyond the quick start:
- Installation — library, CLI binaries, npm
- Components — all components, categories and page-break hints
- Themes and tokens
- The CLI and JSON
- Render request
- Template packs
- Report patterns
- The generated Typst source
- Wasm and Cloudflare Workers
- Library API — full API on docs.rs
Contributing: CONTRIBUTING.md. Changes: CHANGELOG.md.
License
MIT