AlexanderGrooff/mermaid-ascii
Render Mermaid graphs inside your terminal
Recommended between 2026-01-29 and 2026-01-29. Last pushed 2026-10-19.
▲ 2 recommend · ▼ 0 criticisms
What hackers say
“Meanwhile they could've just bundled mermaid-ascii and run it on wasm.”
— forgotpwd16, 2026-01-29 · original comment on Hacker News ↗
show original comment
Meanwhile they could've just bundled mermaid-ascii and run it on wasm. But then again probably took Claude less than an hour to port this to TS. The main algorithms are 1:1 conversion. https://github.com/AlexanderGrooff/mermaid-ascii/blob/master/cmd/draw.go#L170-L238 https://github.com/lukilabs/beautiful-mermaid/blob/main/src/ascii/draw.ts#L30-L80
“Alexander Grooff (this is based on his go library [0]) did a great job.”
— dmos62, 2026-01-29 · original comment on Hacker News ↗
show original comment
Really cool. Alexander Grooff (this is based on his go library [0]) did a great job. [0]: https://github.com/AlexanderGrooff/mermaid-ascii I think I ran into a bug, the "start" edge is not rendered. This is from https://agents.craft.do/mermaid : stateDiagram-v2 [*] --> Idle Idle --> Active : start Active --> Idle : cancel Active --> Done : complete Done --> [*] ┌──────────┐ │ │ │ │ │ │ └─────┬────┘ │ │ │ │ ▼ ┌──────────┐ │ │ │ Idle │ │ │ └─────┬────┘ ▲ │ cancel │ ▼ ┌─────┴────┐ │ │ │ Active │ │ │ └─────┬────┘ │ │ complete │ ▼ ┌──────────┐ │ │ │ Done │ │ │ └─────┬────┘ │ │ │ │ ▼ ┌──────────┐ │ │ │ │ │ │ └──────────┘
Badge for your README
[](https://hackerrepos.org/repo/alexandergrooff/mermaid-ascii)