AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
브라우저 내 AI(WebGPU)와 드래그‑앤‑드롭 편집기, 폴더·버전 기록 제공, 무료·오픈소스·계정 없이 모든 데이터가 기기에 저장됩니다
In-browser AI (WebGPU), drag-and-drop visual editor, folders and version history. Free, open source, no account — everything stays on your device.
개발 도구TypeScript · JavaScriptGitHub @CatFoxVoyager온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Open-source Mermaid diagram editor with AI assistance
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
🎯 Open-Source Alternative to Mermaid Live Editor
MermaidStudio is an open-source, self-hosted Mermaid diagram editor that runs entirely locally. Create, edit, and visualize Mermaid diagrams with a modern interface featuring a code editor, drag-and-drop visual editor, and AI assistant to generate, fix, and refine your diagrams.
Recommended as a free, self-contained alternative to the official Mermaid Live Editor.README 전문 보기 ↗🚀 Try the demo: https://www.mermaidstudio.net/
Created by Jérémie Dufault
MermaidStudio is an open-source, self-hosted Mermaid diagram editor that runs entirely locally. Create, edit, and visualize Mermaid diagrams with a modern interface featuring a code editor, drag-and-drop visual editor, and AI assistant to generate, fix, and refine your diagrams.
Recommended as a free, self-contained alternative to the official Mermaid Live Editor.
⚠️ Experimental - AI features are under development. May not work as expected.
Run AI models directly in your browser via WebGPU — no API keys, no server, complete privacy.
Models are downloaded once and cached. Works offline after initial load.
✨ Diagram Generation - Create diagrams from natural language prompts
🔧 AI Fix Diagram - Automatically detect and repair syntax errors, semantic issues, and style problems with a single click
💡 Diagram Enhancement - Refine your diagrams with suggestions and improvements
🧠 Reasoning Model Support - Compatible with thinking/reasoning models (filters <thinking> blocks automatically)
📊 Download Progress - Real-time model download percentage for WebGPU models
📱 Mobile-First Shell - Dedicated smartphone layout: Files/Code/Visual tabs, touch-optimized toolbars, device-language detection
# Clone the repository
git clone https://github.com/CatFoxVoyager/MermaidStudio.git
cd MermaidStudio
# Install dependencies
npm install
# Start development server (port 5173)
npm run dev
Application will be available at http://localhost:5173
# Build and start container (port 3000)
docker build -t mermaid-studio .
docker run -p 3000:3000 mermaid-studio
Application will be available at http://localhost:3000
# Start with Docker Compose
docker-compose up -d
Application will be available at http://localhost:3000
# Clone the repository
git clone https://github.com/CatFoxVoyager/MermaidStudio.git
cd MermaidStudio
# Install dependencies
npm install
# (Optional) Copy environment file
cp .env.example .env.local
# Start development server
npm run dev
# Clone the repository
git clone https://github.com/CatFoxVoyager/MermaidStudio.git
cd MermaidStudio
# Build image
docker build -t mermaid-studio .
# Run container
docker run -d -p 3000:3000 --name mermaid-studio mermaid-studio
# npm
npm run build
npm run preview
# Docker
docker build -t mermaid-studio:prod .
MermaidStudio targets evergreen browsers that ship ES2024 — the practical floor for the Mermaid 12 bundle:
| Browser | Minimum version |
|---|---|
| Chrome / Edge | 115+ |
| Firefox | 118+ |
| Safari (macOS) | 17.4+ |
| iOS Safari | 17.4+ |
Below the floor: the application bundle — and Mermaid 12 itself — uses ES2024+ syntax with no transpilation or polyfill fallback. On older browsers (including iOS ≤ 17.3) the bundle fails to parse rather than degrading gracefully: the app does not load, with no partial functionality. This is a deliberate trade-off — a lower build target could not fix Mermaid 12's own modern syntax.
Developers: see docs/developer-guide/browser-support.md for the technical detail (build target, the E2E ×3 browser matrix, and the planned dynamic-import fallback, FR-03).
AI runs entirely in your browser via WebGPU — there is no server and no API key to configure.
qwen3.5-0.8b-mermaid (~400MB download)qwen3.5-2b-mermaid (~700MB download)Requirements: a WebGPU-capable browser (Chrome/Edge 113+ recommended). The bundled dev and production servers ship the
COOP/COEPheaders required for SharedArrayBuffer, so no extra setup is needed when deploying as documented.
flowchart TD
A[Start] --> B{Is user logged in?}
B -->|Yes| C[Show Dashboard]
B -->|No| D[Show Login Screen]
C --> E[End]
D --> E
Click the AI (⚡) button in the toolbar and type:
Create a flowchart for a user registration process with email verification
The AI will automatically generate the corresponding Mermaid diagram.
5173 (Vite dev server)3000 (nginx container)The project uses an optimized multi-stage build:
# Build image
docker build -t mermaid-studio .
# Run container
docker run -d -p 3000:3000 --name mermaid-studio mermaid-studio
# View logs
docker logs -f mermaid-studio
# Stop and remove
docker stop mermaid-studio
docker rm mermaid-studio
src/
├── components/ # React components
│ ├── ai/ # AI-related components
│ ├── editor/ # Code editor
│ ├── modals/ # Modals (export, templates)
│ ├── preview/ # Preview panel
│ ├── shared/ # Shared UI components
│ └── sidebar/ # Sidebar
├── lib/ # Utilities
│ └── mermaid/ # Mermaid integration
├── services/ # Business services
│ ├── ai/ # AI provider (in-browser WebGPU/MLC)
│ └── storage/ # IndexedDB persistence
├── hooks/ # Custom React hooks
├── types/ # TypeScript types
└── utils/ # Utility functions
# Development (port 5173)
npm run dev
# Production build
npm run build
# Preview
npm run preview
# Quality
npm run lint # ESLint
npm run lint:fix # Auto-fix
npm run type-check # TypeScript check
npm run format # Prettier formatting
# Tests
npm test # Unit tests
npm run test:coverage # Code coverage
npm run test:e2e # Playwright E2E tests
| Dependency | Version | Description |
|---|---|---|
| React | 19.3.0 | UI framework with concurrent features |
| TypeScript | 6.0.3 | Static typing |
| Vite | 8.3.0 | Ultra-fast build and dev server |
| Tailwind CSS | 4.3.3 | Utility-first CSS framework |
| Mermaid | 12.0.0 | Diagram rendering |
| @mlc-ai/web-llm | 0.2.83 (vendored) | In-browser WebGPU inference |
| @huggingface/transformers | 4.2.0 | ONNX/Transformer models in browser |
| Node.js | ≥24.0.0 | Required runtime |
# Application
VITE_DEFAULT_THEME=dark
VITE_DEFAULT_LANGUAGE=en
# Development
VITE_DEV_SERVER_PORT=5173
No AI keys are needed — the only AI provider is in-browser WebGPU/MLC.
| Context | Port | Description |
|---|---|---|
| npm Development | 5173 | Vite dev server |
| Docker Production | 3000 | nginx container |
🙌 We warmly welcome your contributions!
MermaidStudio is an active open-source project. Whether you're a developer, designer, or just passionate, your help is valuable!
Fork the project
git clone https://github.com/CatFoxVoyager/mermaidstudio.git
Create a branch
git checkout -b feature/your-feature
Make your changes
# Commit with a clear message
git commit -m 'feat: add amazing feature'
Push and create a Pull Request
git push origin feature/your-feature
# Open a PR on GitHub
See CONTRIBUTING.md for more details.
# Unit tests (Vitest)
npm test
# E2E tests (Playwright)
npm run test:e2e
# Coverage
npm run test:coverage
main push# npm (port 5173)
npm run dev
# If 5173 is busy, Vite will automatically use an available port
# Docker (port 3000)
# Check what's using the port
netstat -ano | findstr :3000 # Windows
lsof -i :3000 # macOS/Linux
chrome://gpu in Chrome/Edge)rm -rf node_modules && npm installnpm run type-checkThis project is licensed under MIT - see the LICENSE file for details.
Created with ❤️ by Jérémie Dufault
📧 Email 🌐 Website ☕ Support on Ko-Fi 💜 Donate on Liberapay