Show HN: Kleks – declarative documents with live preview (in Rust+WASM)

3 sagering 1 6/4/2025, 2:49:38 PM kleks.io ↗
Hi HN,

I’ve been working on Kleks, a developer-oriented tool for generating documents like invoices, reports, contracts etc. using a declarative, code-based approach.

What it is Kleks is a local-first app written in Rust and compiled to WebAssembly, running entirely in your browser. It combines:

A template-based system with a configuration language called Kel

Modular widgets, similar to how UI frameworks like Flutter work

Live preview that updates as you type

A focus on developer experience from document authoring to serving

Think of it like a toolkit for documents.

Try it out https://www.kleks.io (on desktop, mobile experience is not great)

No signup needed. It runs locally in your browser.

Tech Rust + WebAssembly

Custom configuration language (Kel)

Inspired by Flutter’s widget system

Documents built from reusable components

What’s next Dynamic document serving via REST/gRPC

New widgets (images, layout transforms)

Language server for Kel

More docs and examples

Feedback? I’d love to hear what you think—especially about the language design, DX, and real-world use cases you’d like to see. You can also reach me at kleksdev@gmail.com.

Comments (1)

eniac111 · 1d ago
Awesome!