| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
DbSketch turns a live database into version-controlled schema documentation.
It reads tables, columns, primary keys, and foreign keys directly from SQL Server, PostgreSQL, MySQL, or SQLite. It can include native comments where providers support them, apply YAML comment overrides, and generate diagram-as-code files you can commit, review, render, reuse as LLM context, and refresh from CI.
DbSketch is useful when both humans and AI coding assistants need a compact, reviewable schema snapshot. Instead of asking an agent to inspect the database with ad-hoc commands or parse creation scripts and migrations, you can give it generated schema documentation that already contains the relevant tables, columns, keys, relationships, and comments.
DbSketch is a CLI documentation generator, not a visual database designer. Its primary output is text-based, Markdown-friendly documentation:
These files can often be used directly in repositories, wikis, issue trackers, documentation sites, and other tools that understand diagram-as-code or Markdown-like formats.
Compact schema diagram:
Detailed schema diagram with comments and column metadata:
Want ChatGPT, Claude, Codex, or another coding assistant to add DbSketch to an existing repository? See AI-assisted setup for copy-paste prompts and review guidance.
Start here:
Reference:
Examples and development:
Issues and pull requests are welcome, especially focused fixes, provider improvements, renderer improvements, and documentation updates.
| Back | FazBrowse Home | New Git URL |