Hacker News new | ask | show | jobs
by fasouto 4 days ago
I'm building a source code analyzer with AI. It's a TUI that you poin at a local codebase and it generates Mermaid diagrams.

While I was doing it I needed to render those diagrams as ASCII and I was surprised there's no Python library for Mermaid to ASCII. So I wrote one: https://github.com/fasouto/termaid (https://termaid.com/)

1 comments

Love it! Thanks for sharing. I use mermaid a lot, and this I will use to embed my diagrams as ascii in my text docu.