PrivyMermaid

Edit and preview Mermaid diagrams in Chrome with optional local AI help.

Overview

PrivyMermaid is a local-first Mermaid diagram editor for Chrome. It gives developers and technical writers a browser-based place to write, preview, save, export, and optionally fix or refactor diagrams through a local Ollama model.

Features

  • Diagram editing — Create, edit, and save Mermaid diagrams
  • Local rendering — Uses bundled Mermaid library for offline rendering. No CDN required.
  • AI assistance (optional) — Connect to local Ollama for diagram fix and refactor
  • Context menu — "Open in PrivyMermaid", "Render selection in PrivyMermaid"
  • Custom prompt templates — Editable Fix/Refactor prompts

Advantages

PrivyMermaid renders diagrams with its bundled Mermaid library, so you do not need a CDN or hosted editor for everyday work. Diagrams and settings are stored in chrome.storage.local, and optional AI requests go only to your configured Ollama endpoint.

Benefits

Iterate on architecture diagrams, sequence flows, and documentation visuals faster while keeping proprietary system details in your browser and local model environment.

Requirements

  • Google Chrome or a compatible Chromium browser
  • Ollama (optional) — Required only for AI Ask, Fix Diagram, and Refactor features.