Submit a product

D2

text-based diagram scripting language and renderer

ToolOpen source

D2 is a scripting language for describing diagrams in plain text and rendering them as images. It is aimed at developers and engineers who want architecture diagrams, flowcharts and similar drawings kept in version control next to their code.

The diagrams are written as text files, so they can be reviewed, diffed and regenerated like any other source file. The project is open source under the Mozilla Public License 2.0, and its source code is published on GitHub.

Alternatives to D2

Products that do a similar job in Developer Tools.

All alternatives

micro

terminal-based text editor with mouse support and familiar keybindings

ToolDeveloper Tools··Open source·30k

GoLand

IDE for writing and debugging Go code

AppDeveloper Tools··Paid

wtf

Terminal dashboard for personal info and DevOps status

ToolDeveloper Tools··Open source·17k

pdfcpu

Command-line PDF processing tool and Go library

ToolDeveloper Tools··Open source·8.9k

Windows Terminal

Command-line terminal app and console host for Windows

ToolDeveloper Tools··Open source·106k

Puppeteer

Node.js library to control Chrome and Firefox through a JavaScript API

ToolDeveloper Tools·Open source·96k

fzf

Command-line fuzzy finder for lists of files, history and any text

ToolDeveloper Tools··Open source·85k

lazygit

Terminal UI for running git commands with keyboard shortcuts

ToolDeveloper Tools··Open source·84k