D2 is now open source – a new, modern language that turns text to diagrams

This page summarizes the projects mentioned and recommended in the original post on /r/programming

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

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

  • Run with --dry-run if you want to see what it does at least before executing for real. Or install manually with https://github.com/terrastruct/d2/blob/master/docs/INSTALL.md if you still don't think it's safe.

  • dmd

    dmd D Programming Language compiler

  • Very unfortunate naming choice since D exists, is currently in major version 2 and sometimes referred to as D2, vs the legacy D1.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • text-to-diagram-site

    Compare syntax, layouts, outputs between languages for generating diagrams with text.

  • yeah i think most of the examples on the comparison site has edge labels: https://text-to-diagram.com/

  • d3

    Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:

  • As does D3

  • OpenDiablo2

    An open source re-implementation of Diablo 2 (by essial)

  • is this the abyss engine? https://opendiablo2.com/

  • mermaid

    Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown

  • diagrams

    :art: Diagram as Code for prototyping cloud system architectures

  • Check out mingrammer too

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • OpenDiablo2

    Discontinued An implementation of Diablo 2 in AbyssEngine. (by AbyssEngine)

  • Descent-2

    The Descent 2 source code.

  • Yeah, D2's source code was released way back in 1999!

  • mermaid-cli

    Command line tool for the Mermaid library

  • you can use mermaid-cli to create pngs/svgs

  • d2src

    Reverse engineered Diablo II launcher and source code precursor

  • java

    Structurizr for Java (by structurizr)

  • Ah this is like https://structurizr.com which is based on C4.

  • homebrew-tap

  • Regarding our use of brew, our use is currently no more secure than the install script installing a standalone release as it uses our tap https://github.com/terrastruct/homebrew-d2. The formula is not in homebrew-core. It definitely does provide explicit guarantees on install/uninstall though I'll give you that.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts