{"repo":"datnguye/dbterd","free":true,"listed":false,"github":"https://github.com/datnguye/dbterd","clone":"git clone https://github.com/datnguye/dbterd.git","description":"Generate the ERD as a code from dbt artifacts","language":"Python","stars":345,"topics":["cli","dbml","erd","mermaid","plantuml","d2","graphviz","dbt-cloud","dbt-core","python-api"],"license":"MIT","category":"cli-tools","readme_excerpt":"dbterd Generate ERD-as-a-code from your dbt projects Transform your dbt artifact files or metadata into stunning Entity Relationship Diagrams using multiple formats: DBML, Mermaid, PlantUML, GraphViz, D2, DrawDB, and a canonical JSON payload 🚀 Quick Start Two ways to get your first ERD on screen — pick whichever matches your mood: 🖱️ Prefer a GUI? Install the dbterd for VS Code extension, open your dbt project, and explore interactive ERDs without touching the command line. ⌨️ Prefer the CLI? That's it — your diagram is generated. Read on for the full tour. 🎯 Entity Relationship Detection dbterd intelligently detects entity relationships through three algorithms — pick the one that matches how your dbt project expresses its data contracts: - 🧪 Test Relationships (default) — infers relationships from dbt relationships data tests - 🏛️ Semantic Entities ( -a semantic ) — detects relationships via dbt Semantic Layer entity definitions - 📜 Model Contract Constraints ( -a model contract ) — detects relationships via dbt model contract's foreign key constraints (dbt 1.9+ / manifest v12+) For detailed configuration options, see our CLI References. 🎨 Supported Output Formats No need to pick just one — dbterd has a format for every occasion, from quick GitHub previews to full-blown interactive database designers. Format Description Use Case -------- ------------- ---------- DBML Database Markup Language Interactive web diagrams Mermaid Markdown-friendly diagrams Documentation, G","default_branch":null,"files":null,"tree":[],"storefront":"/r/datnguye","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/datnguye/dbterd/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}