I just built a Chrome extension for generating diagrams using AI. Under the hood, it simply generates Mermaid.js diagrams, which are then rendered. There are also a few small features, like editing the generated code if needed and selecting the diagram type. The final result can be downloaded or copied to the clipboard.
I was inspired by *Eraser.io* and *Napkin AI*. Eraser.io is a standalone product, while Napkin AI seems to use its own template-based graphics library. I use both frequently.
As I've been working on this and gathering user feedback, I've come up with a few ideas that I'll likely implement next: 1. *More customization* – adding themes and better color control. 2. *Exploring alternative diagramming libraries* – I found a couple of interesting ones: - *D2* – a more flexible DSL for diagrams than Mermaid.js, though less standard. - *Manim* – a project from the creator of 3Blue1Brown, used for generating mathematical animations.
I'd love to hear your feedback on the extension and any ideas you might have. Let me know what you think!