Hey everyone,
I use Mermaid diagrams a lot for documenting automations, flows, system ideas, and quick architecture sketches. I wanted a clean way to open a Mermaid editor directly from Home Assistant without depending on a hosted editor every time, so I packaged the official Mermaid Live Editor as a Home Assistant App.
This means you get the familiar Mermaid Live Editor experience but wrapped in the normal Home Assistant App model with ingress support and optional direct port access.
GitHub: SankeerthBoddu/ha-mermaid-live
What it is
This App packages the official Mermaid Live Editor into a Home Assistant app.
So instead of maintaining a separate custom editor, the app reuses the real upstream Mermaid editor and makes it available locally through Home Assistant.
What you get
- Official Mermaid Live Editor UI
- Live diagram editing and preview
- Home Assistant ingress support
- Optional direct access on port
3000 - Browser-local history and persistence from the upstream editor
- Simple single-service add-on, no extra networking model
How it works
The app image wraps the official Mermaid Live Editor build and serves it locally inside Home Assistant.
That means the Home Assistant side stays pretty small:
- standard app metadata
- standard app container build
- local nginx service on port
3000 - ingress support from Home Assistant
The actual editor itself is the upstream Mermaid Live Editor project.
How to set it up
-
Click the Add Repository badge above, or manually add
https://github.com/sankeerthboddu/ha-mermaid-liveto your Home Assistant app store. -
Install Mermaid Live.
-
Start the App.
-
Open it from the app page or through the Home Assistant sidebar/ingress entry.
-
If you want, expose the optional direct port
3000/tcpas well.
A quick note on storage and privacy
The core editor experience runs locally in your app container and browser. Diagram state and history are primarily handled in the browser by the upstream editor. Because this is the official upstream Mermaid Live Editor, some convenience links or optional integrations in that UI may still point to Mermaid ecosystem services. The main editing experience itself does not require a separate hosted editor.
Supported architectures
amd64aarch64