Paste what encodes the architecture and the AI draws it now, or connect the repo and Datadef reads the code, generates the diagram, and re-syncs it daily as the code changes.
No sign-up required • Free to try
Paste the files that encode the architecture and get a diagram now, or connect the GitLab project and Datadef reads the code, draws the diagram, and keeps it synced daily.
Your code already knows the architecture. Paste what encodes it or connect the repository, and the AI draws a system-level diagram you can edit, export, and keep in sync.
Visualize Terraform infrastructure showing resources, modules, variables, and dependencies
Common questions about generate a diagram from a github repository
Two ways. The quick one works without an account: paste what encodes the architecture, such as the docker-compose file, the folder tree, the README, or Terraform, and the AI draws an editable diagram from it. The deeper one is connecting the repository itself: Datadef reads the code from GitHub, suggests what the diagram should focus on based on what it actually finds, and generates the diagram plus an architecture doc for the same commit.
Once a GitHub repo is connected, Datadef re-reads it once a day and regenerates the diagram, so the picture follows the code instead of drifting. You can also trigger a refresh manually or from a coding agent through the MCP tools. Each connection targets a specific branch or tag, so a main diagram and a release diagram can live side by side. Repo sync is part of Pro and Team, and a sync regenerates only when the repository actually changed.
No. A public repo connects with just its URL. A private repo needs a fine-grained personal access token with read-only scopes, and the exact scopes are listed in the repositories documentation. Datadef never writes to the repository: the generated architecture doc lives in Datadef, and when the diagram is public the doc carries a live embed line you can copy into your README so it always shows the current version.
Pasting repo content and generating a diagram works right in the browser, free with no account: 1 AI diagram a day on the scratch canvas, and pasted Terraform or SQL counts as that diagram. Connecting the repository for daily sync and the generated architecture doc is part of Pro, which starts with a 7-day free trial.
Try it free on the scratch canvas, no account needed. Pro starts with a 7-day free trial.