# 1jehuang/mermaid-rs-renderer

A fast native Rust Mermaid diagram renderer. No browser required. 500-1000x faster than mermaid-cli.

Repository: https://github.com/1jehuang/mermaid-rs-renderer
Canonical: https://ross.abutalabs.com/products/mermaid-rs-renderer
Language: Rust
License: MIT
License Family: permissive
Topics: cli, diagram, flowchart, mermaid, rust, svg
Last push: 2026-08-23T13:53:54+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 92, longevity 15
- inputs: {"age_days": 223, "days_push": 10, "days_rel": 58, "gap_med": 4.5, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1672, forks 96 (observed 2026-08-28T04:05:20.118792+00:00)

## What it is
A pure Rust renderer for Mermaid diagrams that outputs SVG without requiring a browser or Node.js. It supports 23 diagram types and is dramatically faster than mermaid-cli, usable both as a CLI tool and a Rust library.

## Use cases
- render mermaid diagrams to svg without a browser
- batch render hundreds of mermaid files quickly
- replace mermaid-cli in a docs build pipeline
- render mermaid diagrams in a rust program
- generate flowcharts and sequence diagrams from ci
- speed up markdown documentation diagram builds

## When to choose
- you need fast, headless Mermaid rendering without Puppeteer/Chromium
- you render many diagrams in CI or batch jobs and browser startup dominates
- you want a Rust library for diagram rendering

## When to avoid
- you need pixel-perfect output identical to mermaid-cli for all diagram types
- you rely on Mermaid features not yet supported among the 23 diagram types
- you need a battle-tested, mature renderer

## Facets
- artifact type: cli-tool
- maturity: experimental
- function: cli, graphics, developer-tools
- domain: developer-tools, documentation
- platform: windows, cli, rust
- tags: mermaid, diagram-rendering, svg, rust-library, no-browser, diagrams, linux, macos

## Member repositories
- 1jehuang/mermaid-rs-renderer (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:20.118792+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:42:36.018955+00:00, confidence not recorded.
  - readme: https://github.com/1jehuang/mermaid-rs-renderer (fetched 2026-08-28T04:05:20.118792+00:00, sha 6888cc81c2c0)
  - registry_crates: https://crates.io/api/v1/crates/mermaid-rs-renderer (fetched 2026-08-29T11:15:32.374189+00:00, sha 95bfb6100fbb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
