Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abakermi/mermaid-live-web

A real-time editor for creating and editing Mermaid diagrams
https://github.com/abakermi/mermaid-live-web

diagram mermaid nextjs shadecn-ui

Last synced: about 1 month ago
JSON representation

A real-time editor for creating and editing Mermaid diagrams

Awesome Lists containing this project

README

        

# Mermaid Live Editor

A real-time editor for creating and editing Mermaid diagrams. Built with Next.js and shadcn/ui. [view demo](https://mermaid-live-web.vercel.app)



## Features

- 🔄 Real-time preview
- 🎨 Syntax highlighting
- ⚙️ Configuration editor
- 📱 Responsive design
- 🌓 Dark/Light mode support
- ↔️ Resizable panels

## Getting Started

First, install the dependencies:

```bash
npm install
# or
yarn install
# or
pnpm install
```

Then, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the editor.

## Technologies Used

- [Next.js](https://nextjs.org)
- [Mermaid.js](https://mermaid.js.org)
- [Monaco Editor](https://microsoft.github.io/monaco-editor/)
- [shadcn/ui](https://ui.shadcn.com)
- [Tailwind CSS](https://tailwindcss.com)

## Supported Diagrams

- Flowcharts
- Sequence Diagrams
- Class Diagrams
- State Diagrams
- Entity Relationship Diagrams
- User Journey Diagrams
- Gantt Charts
- Pie Charts
- And more...

## License

MIT License - feel free to use this project for your own purposes.