Convert Mermaid Diagrams to Unicode Box Art
Simon Willison · rss · 2026-07-16
The author discovered xai-grok-markdown/src/mermaid.rs in the newly open-sourced Grok CLI coding agent repository, a Rust-based terminal component for rendering Mermaid diagrams.\n\nThey subsequently ported this capability to the browser using WebAssembly and built a mini-tool via prompts in Claude Code for web. The final output is a web tool that converts Mermaid diagrams into Unicode box art.\n\nThis post serves as a practical log of "extracting reusable capabilities from open-source code and rapidly building functional tools," offering valuable insights for coding agent and dev tool developers.
More from coding & agent
- Goal-driven AI needs verifiable success signals, or it invents its own — daniel_mac8 · 2026-09-11
- Is inference latency becoming the biggest bottleneck for production AI agents? — Euphoric_Sea632 · 2026-09-11
- Anthropic researcher: 99% of engineers now run swarms of 300+ self-improving agents — AlishaOutridge · 2026-09-11
- Gergely Orosz: Shipping 10x PRs With AI Agents, Sites Fill With Small Regressions — ducha_aiki · 2026-09-11
- Same Echo Maze prompt, three frontier models: all passed visually but shipped the same hidden bug — eyishazyer · 2026-09-11
- Astra storyboards plus Minimax H3 per-shot generation boost video success rates — Hailuo_AI · 2026-09-11