Mermaid to Unicode box art (grok-mermaid)
Tool: https://tools.simonwillison.net/grok-mermaid">Mermaid to Unicode box art (grok-mermaid)
While https://simonwillison.net/2026/Jul/15/grok-build/">exploring the codebase for the newly open-sourced Grok CLI coding agent I came across https://github.com/xai-org/grok-build/blob/b189869b7755d2b482969acf6c92da3ecfeffd36/crates/codegen/xai-grok-markdown/src/mermaid.rs">xai-grok-markdown/src/mermaid.rs, a "self-contained terminal renderer for Mermaid diagrams" written in Rust.
I figured it would be fun to try that out in a browser via WebAssembly.
Here's https://github.com/simonw/tools/pull/293#issue-4897479396">the prompt I ran in Claude Code for web (Fable 5), and this is what the resulting tool looks like:
https://static.simonwillison.net/static/2026/grok-mermaid-wasm.png" />
Tags: https://simonwillison.net/tags/tools">tools, https://simonwillison.net/tags/rust">rust, https://simonwillison.net/tags/webassembly">webassembly, https://simonwillison.net/tags/mermaid">mermaid, https://simonwillison.net/tags/grok">grok, https://simonwillison.net/tags/xai">xai