{"repo":"1jehuang/mermaid-rs-renderer","free":true,"listed":false,"github":"https://github.com/1jehuang/mermaid-rs-renderer","clone":"git clone https://github.com/1jehuang/mermaid-rs-renderer.git","description":"A fast native Rust Mermaid diagram renderer. No browser required. 500-1000x faster than mermaid-cli.","language":"Rust","stars":1655,"topics":["cli","diagram","flowchart","mermaid","rust","svg"],"license":"MIT","category":"cli-tools","readme_excerpt":"mmdr 100–1400x faster Mermaid rendering. Pure Rust. Zero browser dependencies. Installation Quick Start Benchmarks Examples Note: This library is under active early development. Visual output quality is improving rapidly but may not yet match mermaid-cli in all cases. Bug reports and PRs are welcome. Performance mmdr renders diagrams 100–1400x faster than mermaid-cli by eliminating browser overhead. With the built-in font cache (warm after first run), tiny diagrams reach 500–900× (and --fastText exceeds 1600× ). Diagram mmdr mermaid-cli Speedup :-------- -----: ------------: --------: Flowchart 4.49 ms 1,971 ms 439x Class Diagram 4.67 ms 1,907 ms 408x State Diagram 3.97 ms 1,968 ms 496x Sequence Diagram 2.71 ms 1,906 ms 704x Tested on Intel Core Ultra 7 265V, Linux 6.18.7 mermaid-cli 11.4.2 via Puppeteer/Chromium Font cache (default, warm after first run) Once the font cache is populated, tiny/common diagrams reach 500–900× : Diagram (tiny) mmdr (warm cache) mermaid-cli Speedup :-- --: --: --: Flowchart 2.96 ms 2,259 ms 764× Class 2.55 ms 2,347 ms 919× State 2.67 ms 2,111 ms 789× Sequence 3.75 ms 2,010 ms 536× Measured Feb 2, 2026 on the same machine. Fast text metrics (optional, fastest) Enable --fastText to use calibrated fallback widths for ASCII labels (avoids font DB load). On tiny/common diagrams this reaches 1600–2069× speedups: Diagram (tiny) mmdr --fastText mermaid-cli Speedup :-- --: --: --: Flowchart 1.32 ms 2,116 ms 1,601× Class 1.23 ms 2,314 ms 1,880× State 1.09 ","default_branch":null,"files":null,"tree":[],"storefront":"/r/1jehuang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/1jehuang/mermaid-rs-renderer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}