Comment by tempaccsoz5
Comment by tempaccsoz5 4 days ago
The actual Mermaid ASCII renderer is from another project [0]. This project transliterated it to typescript and added their own theming.
Comment by tempaccsoz5 4 days ago
The actual Mermaid ASCII renderer is from another project [0]. This project transliterated it to typescript and added their own theming.
Yikes, good catch. I've changed the link above to the original project now. (Edit: actually, let's use the project home page and put the Github repo in the toptext.)
(Submitted link was https://github.com/lukilabs/beautiful-mermaid. mellosouls is a good HN contributor so I'm sure this was well-intentioned.)
I appreciate your comment, but I made mermaid-ascii OSS under MIT license so that everybody can use it in whatever fashion they like, be that in another OSS project or in your company. I’m just happy to contribute back to the ecosystem, and I’m excited seeing my projects being used by others.
Nothing but good vibes to these guys. Let’s all strive to keep making cool things, and leave things a little better than how you found it ;)
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...
https://github.com/lukilabs/beautiful-mermaid/blob/main/src/...