this post was submitted on 07 Apr 2025
182 points (100.0% liked)

Selfhosted

45541 readers
3173 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi everyone! 👋

We’re excited to share the latest updates to ChartDB, our self-hosted, open-source tool for visualizing and designing database diagrams - built as a free and flexible alternative to tools like dbdiagram[.]io, DrawSQL, and DBeaver's diagram feature.

Why ChartDB?

Self-hosted – Full control, deployable anywhere via Docker
Open-source – Actively developed and maintained by the community
No AI/API required – Deterministic SQL export with no external dependencies
Modern & Fast – Built with React + Monaco Editor, optimized for performance
Multi-DB support – PostgreSQL, MySQL, MSSQL, SQLite, ClickHouse, and now Cloudflare D1

Latest Updates (v1.8.0 → v1.10.0)

🆕 Cloudflare D1 Support - Import schemas via Wrangler CLI
🆕 Deterministic DDL Export - Replaced AI-based export with native SQL generation
🆕 Sidebar for Diagram Objects - Quickly navigate tables, fields, indexes, and FKs
🆕 Better Canvas UX - Right-click to create FKs, table drag-and-drop, better visibility controls
🆕 Internationalization - Added full French & Ukrainian support

What’s Next

  • Git integration for diagram versioning
  • SQL import support for PostgreSQL (via DDL script)
  • AI-powered table relationship detection
  • More database support and collaboration tools

🔗 GitHub: https://github.com/chartdb/chartdb
🔗 Docs: https://docs.chartdb.io/

We’d love your feedback, contributions, or just to hear how you’re using it. Thanks!

top 5 comments
sorted by: hot top controversial new old
[–] neidu3@sh.itjust.works 4 points 6 hours ago (1 children)

Any way of having this study an existing database (or dump thereof) and build the graph? I have an oracle database that nobody understands, built by someone else, and I thought something like this could help..

[–] vk6flab@lemmy.radio 5 points 5 hours ago

I've never used the tool, but I'm guessing that your Oracle database can create an SQL dump of its schema which presumably is how this tool ingests a database to chart.

[–] julianwgs@discuss.tchncs.de 6 points 10 hours ago

This is really cool and I will definitely try it out! Am I missing something or is there really no contributors license agreement?

[–] norgate@lemmy.dbzer0.com 1 points 7 hours ago

I gave it a quick look, it's neat. I will definitely be using it for future/existing projects.

[–] nevodavid@lemmy.world 3 points 11 hours ago

Nice db visualization, will try it out