Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Unified Rendering

One API. Infinite Diagrams.ยถ

Native Rust Performance.ยถ

Kroki-rs brings the simplicity of the unified Kroki API to the speed and safety of Rust. Lightweight, instant-start, and Docker-free rendering for all your documentation needs.

The Motiveยถ

Diagrams should be version controlled, reviewable, and effortless โ€” a lightweight, high-performance, and minimal dependencies rendering engine for all your documentation needs.

Managing multiple rendering enginesโ€”Mermaid, Graphviz, D2โ€”often leads to โ€œDocker bloatโ€ or complex CI/CD setups. We built Kroki-rs to solve this.

By leveraging native CLI tools and the safety of Rust, weโ€™ve created a drop-in replacement for the Kroki API that is:

  • Instant: Low latency rendering for local development.

  • Resource Efficient: Fraction of the memory footprint of Java-based alternatives.

  • Native: Runs directly on your host or edge devices.


Structure of the Documentationยถ

This guide is designed to get you from zero to production quickly:

  • Discover: Why Kroki-rs is the right choice for your stack.

  • Understand: Explore the supported engines and tool requirements.

  • Apply: Practical patterns for CLI and Server usage.

  • Developer Guide: Deep dive into the rust-native architecture.

Information is visual. Rendering should be effortless.