Mermaid VS mermaid-cli

Compare Mermaid vs mermaid-cli and see what are their differences.

Mermaid

Edit, preview and share mermaid charts/diagrams. New implementation of the live editor. (by mermaid-js)

mermaid-cli

Command line tool for the Mermaid library (by mermaid-js)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
Mermaid mermaid-cli
90 7
3,562 2,031
5.4% 4.6%
9.1 8.6
about 23 hours ago 3 days ago
TypeScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Mermaid

Posts with mentions or reviews of Mermaid. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-30.

mermaid-cli

Posts with mentions or reviews of mermaid-cli. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-02.
  • Nomnoml
    10 projects | news.ycombinator.com | 2 Oct 2023
  • The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
    12 projects | news.ycombinator.com | 24 Jul 2023
  • D2 is now open source – a new, modern language that turns text to diagrams
    24 projects | /r/programming | 22 Nov 2022
    you can use mermaid-cli to create pngs/svgs
  • Mermaid: Create diagrams and visualizations using text and code
    10 projects | news.ycombinator.com | 5 May 2022
    I come from past experiments with (py)graphviz, yed, probably a couple other forgotten things. (As well as manual diagrams in LucidChart and even Inkscape.) And am generally a non-web python guy.

    I was looking at Mermaid last weekend, since a coworker has praised it a few times and I was wanting to play with it.

    I think my expectation of how to use it was wrong? I typically expect to share my diagrams as .png files. The main documentation didn't seem to give much guidance in this usecase.

    I ended up going to https://github.com/mermaid-js/mermaid-cli ... there didn't seem to be a simple install-and-use pathway similar to `apt` or `pip`, so I ended up trying the docker image for it. I got it working to create pngs, but I thought having to mess with docker volume mounts and defining my own aliases (`alias mermaid='docker run -u $UID -it --rm -v ~/mermaid:/data minlag/mermaid-cli -i'` so I can do `mermaid blah.mmd` in my ~/mermaid folder) was a bit cumbersome...

    Just sharing to see if there's hot takes on where I went wrong, I guess. (for example, I certainly didn't extensively read the docs to understand the usage paradigm it's intended for)

  • Open Source Flowchart Generator?
    2 projects | /r/opensource | 27 Mar 2022
  • Diagrams as Code
    1 project | /r/coding | 28 Feb 2021
    node cli tool if java isn’t your thing. https://github.com/mermaid-js/mermaid-cli

What are some alternatives?

When comparing Mermaid and mermaid-cli you can also consider the following projects:

plantuml - Generate diagrams from textual description

d2 - D2 is a modern diagram scripting language that turns text to diagrams.

kroki - Creates diagrams from textual descriptions!

pom-visualizer-maven-plugin - Maven plugin to visualize the POM you are working on

obsidian-releases - Community plugins list, theme list, and releases of Obsidian.

windows11 - Windows 11 in React 💻🌈⚡ [Moved to: https://github.com/blueedgetechno/win11React]

golang-nextjs-portable - Go program with embedded Next.js app.

Fomantic-UI - Fomantic-UI is the official community fork of Semantic-UI

DrawThe.Net - drawthe.net draws network diagrams dynamically from a text file describing the placement, layout and icons. Given a yaml file describing the hierarchy of the network and it's connections, a resulting diagram will be created.

diagrams - :art: Diagram as Code for prototyping cloud system architectures

wavedrom - :ocean: Digital timing diagram rendering engine

text-to-diagram-site - Compare syntax, layouts, outputs between languages for generating diagrams with text.