Mermaid graphs rendered to ascii

=> https://mermaid-ascii.art/

Pretty cool really. A little go script to convert Mermaid markup to ASCII art. It can be even called via curl:

curl https://mermaid-ascii.art/generate -d mermaid="graph LR\nABC --> DEF"

=> Posted in: s/ascii-art | πŸ’€ requiem

2024-10-15 Β· 3 months ago Β· πŸ‘ johano, Half_Elf_Monk, LucasMW, arma, DdlyH

5 Comments ↓

=> ☯️ johano · Oct 16 at 02:36:

oh now this is cool! πŸ˜ƒ

=> 🌲 Half_Elf_Monk · Nov 14 at 00:22:

That's cool enough that I'm sitting here wishing for a usecase. I guess... if I write a gemlog post with ... with a flow chart in it? Hm...

=> πŸ’€ requiem [OP] Β· Nov 17 at 12:09:

Yeah. Also schematics. I've hand-drawn ASCII schematics before but it'd be cooler to use mermaid for it. Look here:

=> β€” vigilia.cc/data/vigilia/gemlog/2024/_media/esp32c3-s3-sx1276-wiring.gmi

=> 🌲 Half_Elf_Monk · Nov 22 at 21:13:

Okay so I ollowed the link, admired the schematics and the mermaidASCII usecase. Then I hit the link at the top of that page and it gave me a CUSTOM LXX 404 message. @requiem how did you accomplish that? that's cool

=> πŸ’€ requiem [OP] Β· Nov 22 at 22:31:

Haha well it’s handled through the little engine I wrote. Quite simply if it cannot find a file then it returns an error header instead of 20/text gemini with the appropriate code.

Proxy Information
Original URL
gemini://bbs.geminispace.org/s/ascii-art/20900
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
92.07988 milliseconds
Gemini-to-HTML Time
0.677475 milliseconds

This content has been proxied by September (ba2dc).