The flow is simple: ChartDB shows a query, you run it on your database and paste the resulting JSON. The diagram shows up with tables, columns and relationships, ready to edit and rearrange. It works with PostgreSQL (including Supabase and Timescale), MySQL, SQL Server, MariaDB, SQLite, CockroachDB and ClickHouse.
Not connecting directly is a big win when the database is in production or behind a VPN: nobody has to hand credentials to the tool. It is handy for understanding a legacy system on day one, documenting the schema in a PR or showing the data model to people who never open psql. You can export DDL too, and an AI feature generates the script in another dialect, useful when studying a move from MySQL to Postgres.
The repository is AGPL-3.0 and runs in Docker; an OpenAI key is only needed for the AI features. The diagram is a snapshot of when you ran the query: if the schema changes, run it again.