d2

d2

terrastruct

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

23.6k Stars
637 Forks
23.6k Watchers
Go Language
mpl-2.0 License
100 SrcLog Score
Cost to Build
$16.48M
Market Value
$117.70M

Growth over time

4 data points  ·  2023-03-01 → 2026-04-01
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about d2

Question copied to clipboard

What is the terrastruct/d2 GitHub project? Description: "D2 is a modern diagram scripting language that turns text to diagrams.". Written in Go. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone d2

Clone via HTTPS

git clone https://github.com/terrastruct/d2.git

Clone via SSH

[email protected]:terrastruct/d2.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the d2 issue tracker:

Open GitHub Issues