FrankenMermaid: Pure Rust MermaidJS Rewrite Claims 100x Speedup
On August 25, developer doodlestein released FrankenMermaid (v0.3.0), a from-scratch MermaidJS replacement written in pure Rust and compiled to WebAssembly, claiming over 100x speedup and drawing community attention.
Confirmed
- Pure Rust core with zero Node.js dependencies and WASM support.
- Intent-aware parsing and 15 built-in layout algorithms, including cycle-aware Sugiyama and force-directed layouts.
- 100% deterministic geometric rendering, claimed to be SHA-256 byte-identical.
- Native output to SVG and other formats.
Unconfirmed
- On August 26, BraaiEngineer questioned such "clean-room" rewrites: if the frontier models used were trained on competitor code, the result can hardly be called a truly clean reimplementation. No public response or clarification has been given.
Why it matters
- MermaidJS is a widely used diagram rendering library; rewriting it in memory-safe, dependency-free Rust with 100x+ WASM speedup could significantly improve frontend diagram rendering performance and supply-chain security.
- The clean-room controversy highlights that the IP and originality boundaries of LLM-assisted rewrites of existing open-source projects deserve careful community discussion.
2026-08-25 ~ 2026-08-26 · 5 related posts
Primary sources
- FrankenMermaid: Rust Rewrite of MermaidJS is 100x Faster — doodlestein · 2026-08-25
- Frankenmermaid: Pure Rust Zero-Dependency Diagram Engine — doodlestein · 2026-08-25
- [source] Frankenmermaid: Rust-Based Diagram Engine with 15 Layouts and Zero Dependencies — doodlestein · 2026-08-25
- Engineer questions "cleanroom" approach, shares Minsky neural net koan — BraaiEngineer · 2026-08-26
1 near-duplicate retellings: doodlestein