Does mermaid-js run completely locally/offline? #4412
|
Title sort of says it all. Wondering if mermaid.js can run completely locally, or if it has to do anything online (e.g. phoning home, etc.) If so, that's a deal-breaker for our use-case which would be an absolute shame, because I absolutely fell in love with it when I came across it's integration in Typora. Just can't risk information unexpectedly leaking out. So, can anyone comment if it run completely locally/off-line in our own node.js app (like say a self-authored, internal-use-only VS Code extension)? Granted, we'll probably 'vet' the code anyway, but hoping someone can short-circuit that task, saving us the effort if they already know it does use any sort of connectivity. |
Replies: 2 comments 2 replies
I guess it does work offline. I'm using this VS Code extenstion, Markdown Preview Mermaid Support, to preview locally without the internet. So I guess it will run locally, even if executed from source code or as a package. |
|
There's no telemetry in the core mermaid project. The live editor has telemetry regarding useage (mainly the type of diagram rendered), which uses plausible and the whole data is open for everyone to see at https://plausible.io/mermaid.live. (It's offline now as we haven't paid for it). |
I guess it does work offline. I'm using this VS Code extenstion, Markdown Preview Mermaid Support, to preview locally without the internet. So I guess it will run locally, even if executed from source code or as a package.