d2-playground VS mermaid-cli

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

d2-playground

An online runner to play, learn, and create with D2, the modern diagram scripting language that turns text to diagrams. (by terrastruct)

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
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
d2-playground mermaid-cli
23 7
62 2,031
- 4.6%
6.5 8.6
11 days ago 7 days ago
JavaScript JavaScript
Mozilla Public License 2.0 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.

d2-playground

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

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 d2-playground and mermaid-cli you can also consider the following projects:

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

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

d2-vscode - VSCode extension for D2 files.

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

d2-docs - Language documentation and blog for D2.

windows11 - Windows 11 in React πŸ’»πŸŒˆβš‘ [Moved to: https://github.com/blueedgetechno/win11React]

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

proposal-type-annotations - ECMAScript proposal for type syntax that is erased - Stage 1

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

ts-proto - An idiomatic protobuf generator for TypeScript