Ross ROSS = Recommend OSS · open-source software intelligence for agents

d2lang/d2

D2 is a modern diagram scripting language that turns text to diagrams. observed · 2026-08-28

github.com/d2lang/d2 · homepage · Go · MPL-2.0 (copyleft) observed · 2026-08-28

Health v2 · maintenance only

76/100

  • Activity 99
  • Release rhythm 32
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 87.0
  • age_days: 1458
  • days_rel: 379
  • days_push: 9
  • n_releases_24m: 5

Full methodology

Adoption not part of the score

25078 stars · 730 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

D2 is a modern declarative diagram scripting language that turns plain text descriptions into diagrams. It ships as a CLI compiler with themes, multiple layout engines, and export formats like SVG, plus a library for embedding.

Use cases

  • generate architecture diagrams from text
  • diagram as code for documentation
  • convert d2 script to svg
  • draw network diagrams declaratively
  • create animated diagrams from text
  • version-control software architecture diagrams

When to choose

  • you want diagrams maintained in version control as text
  • you need polished, themed diagrams for docs, wikis, or presentations
  • you want a fast text-to-diagram workflow with a CLI and playground

When to avoid

  • you need freehand or WYSIWYG diagram editing
  • you require diagram formats D2 does not export
  • you need a GUI-only diagramming tool for non-technical users

Facets

cli-tool · maturity active

programming-language compiler developer-tools documentation data-visualization developer-tools documentation windows cli cross-platform diagram-as-code text-to-diagram declarative-diagramming architecture-diagrams sketch-mode animated-diagrams diagrams software-architecture linux macos

3 sources

Member repositories

RepositoryRoleHealth v2
d2lang/d2main76

For agents

markdown · JSON · MCP: product_card(name="d2lang/d2")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem