wevm / ondine
git clone https://github.com/wevm/ondine.git
Fast and simple diagrams.
—
stars, 24h
+261
stars, 7 days · #235
+261
stars, 30 days · #996
261
★ total · +261% this week
8
forks · 0 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguageRust
LicenseMIT
Created2026-10-18 (2d ago)
Last pushtoday
Watchers3
OwnerOrganization
Links
- GitHub: github.com/wevm/ondine
- Homepage: https://ondine.sh
- Releases · Issues · Hacker News mentions
README excerpt
Ondine Mermaid diagrams, compiled with Rust Overview · Agent Prompt · Philosophy · Features · Documentation · Guides · API Reference ## Overview [code] ## Agent Prompt Paste this prompt into a coding agent: [code] ## Philosophy - **Compiled.** Diagrams compile ahead of time, so pages ship SVG instead of a renderer. - **Compatible.** Every diagram accepts the same input as Mermaid. - **Precise.** Square outlines and rounded orthogonal edges. - **Small.** A 210-byte runtime (gzip) mounts precompiled diagrams. ## Features - **Vite Plugin**: `.mmd` imports compiled to SVG at build time. - **CLI**: the `ondine` command compiles diagrams from files or standard input. - **Node Compiler**: `ondine/compiler` renders source to SVG in scripts and servers. - **Markdown and MDX**: `ondine/remark` replaces ` ```mermaid ` fences with compiled SVG. - **In-Browser Compilation**: opt-in `ondine/compiler/wasm` modules, one per diagram type or `all`. - **GitHub Images**: an image Worker renders diagrams encoded in a URL for READMEs. - **Theming**: `--ondine-*` CSS custom properties switch schemes without compiling again. - **Mounting**: `mount` inserts precompiled SVG without downloading a parser or layout code. ## Documentation Head to the documentation to get started and learn more about Ondine. ## License MIT