A visual, band-based report designer and rendering engine written in Rust.
Alpha software: the report format and user interface may still change.
report-rs provides a graphical Designer, interactive Preview and PDF renderer
for JSON report templates. It is inspired by traditional band-based reporting
tools while keeping the model and layout engine independent from the renderer.
Key features:
- Report, page, data, group and footer bands with automatic pagination.
- SQLite queries, parameters, filtering and sorting.
- Text, lines, rectangles, file images and database BLOB images.
- Value formatting, report functions and group subtotals.
- Nested horizontal and vertical layouts.
- Visual table generation, including row numbers and multiple grouping levels.
- Preview progress, processing metrics and PDF export.
Requirements: a current stable Rust toolchain and a Linux desktop environment.
Linux runtime dependencies: zenity (file dialogs), xdg-open (external PDF
viewer launch), and installed fonts. DejaVu Sans is recommended for the examples;
Preview falls back to system fonts if its usual Linux font file is absent.
On Ubuntu/Debian, install zenity, xdg-utils and fonts-dejavu-core.
git clone https://github.com/debalex77/report-rs.git
cd report-rs
cargo run --release -p report-designerOpen a report directly:
cargo run --release -p report-designer -- examples/group_products.report.jsonRun Preview directly:
cargo run --release -p report-preview -- examples/group_products.report.jsoncargo build --workspace --release --locked
cargo test --workspace --locked
cargo fmt --all -- --checkRelease archives contain report-designer, report-preview, examples and the
license. Download them from GitHub Releases.
simple.report.json— basic static report.products_price.report.json— SQLite data and database BLOB images.group_products.report.json— products grouped by category.nested_group_products.report.json— nested grouping and subtotals.
The database-backed examples expect examples/test.sqlite3 beside the report.
The bundled database contains fictional demonstration data, as confirmed by
the maintainer; it is not production data.
crates/report-core report model, data and layout engine
crates/report-designer graphical report designer
crates/report-preview interactive preview and PDF export
crates/report-pdf PDF renderer
crates/report-cli minimal embedding example
Development notes and architecture are documented in docs/DEVELOPMENT.md. Changes included in each version are listed in CHANGELOG.md. End-user instructions are available in the User Manual.
Project code is licensed under the MIT License. Third-party artwork retains its own licenses; see Third-party notices.


