← Back to the directory

d2lang/d2

View on GitHub

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

d2lang/d2 is #2,733 on the bestofgithub Elo ladder, in Platinum IV, with a rating of 1,657 (+4 this week). It has 25,844 stars, 35 gained in the last week.

Platinum IV

1,657 Elo

  • #2,733 on the ladder
  • −10 today · +4 this week
  • Peak 1,681
12 Elo to Platinum III

Stars

25,844

  • +4 today
  • +35 this week
  • – this month

Achievements

bestofgithub badgeMaintainer? Show your league in your README

Card: your league's emblem, from Copper to Legendary

[![bestofgithub](https://bestofgithub.dev/badge/d2lang/d2.svg?style=card)](https://bestofgithub.dev/repo/d2lang/d2)

Flat: fits beside your other badges

[![bestofgithub](https://bestofgithub.dev/badge/d2lang/d2.svg)](https://bestofgithub.dev/repo/d2lang/d2)

Install

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

Similar repositories

mermaid-js/mermaid-live-editor

Open on GitHubTypeScript

Edit, preview and share mermaid charts/diagrams. New implementation of the live editor.

  • 1,452−8 Elo, change today
  • 6.9k stars
  • 1.1k forks
git
git clone https://github.com/mermaid-js/mermaid-live-editor.git
  • diagrams
  • mermaid

yizhiyanhua-ai/fireworks-tech-graph

Open on GitHubPython

Generate production-quality SVG+PNG technical diagrams from natural language. 7 styles, UML support, and AI/Agent workflow patterns.

  • 1,629−1 Elo, change today
  • 11.9k stars
  • 936 forks
git
git clone https://github.com/yizhiyanhua-ai/fireworks-tech-graph.git
  • agent-workflows
  • ai
  • claude-code
  • developer-tools

tt-a1i/archify

Open on GitHubJavaScript

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

  • 2,271−2 Elo, change today
  • +332 stars gained
  • 96.7k stars
  • 6.6k forks
  • 235 watchers
git
git clone https://github.com/tt-a1i/archify.git
  • agent-skills
  • ai-agents
  • architecture-diagram
  • claude-code

README

Loading README…