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.

Architecture Overview

Kroki-rs is designed as a high-performance, modular rendering gateway. Its primary objective is to提供 exactly the same API as the original Kroki but with a modern, Rust-based engine that prioritizes speed and security.

Core Philosophical Tenets

  1. Container Parity: Local development, CI, and production must use identical environments.

  2. Lean Core: The core binary handles only coordination; rendering is delegated to optimized external tools.

  3. Security First: External processes are isolated with strict timeouts and resource limits.

High-Level Flow

Key Components

For more details on specific areas: