Show HN: Pg_dbml – A dependency-free CLI to export Postgres to DBML
Category: devtools
Tags: postgresql, database-schema, cli-tool, dbml, documentation
Score: 6.0/10 (Innovation: 5, Technical: 5, Documentation: 8, Utility: 6)
A CLI tool that extracts PostgreSQL database schemas and exports them to DBML format using pure SQL introspection. It's interesting because it provides a dependency-free way to generate structured database documentation that's particularly useful for AI/LLM context by converting complex relational metadata into token-efficient text.
Target audience: backend devs, data engineers, devops
Repository: https://pg_dbml.80.cz/ · Shell · MIT · 2 stars
View on Hacker News