DbDream - A Desktop Client for 13 Database Engines
A desktop app for opening and managing 13 kinds of databases from one window. Queries, data browsing, schema comparison, and a tightly scoped AI agent all live in the same place.
- Client
- Personal Project
- Role
- Desktop App Developer
- Duration
- 6 Months
- Team
- Solo (1 Developer)
- Completed
- September 2026
Developers switch tools the moment they switch database types — one app for SQL, another for MongoDB, a third for Redis. Folding all of it into a single application means hiding the differences in drivers, dialects, and data types behind one interface without erasing the features that make each engine distinct.
A React frontend runs inside Tauri while every engine gets its own Rust driver — SQLx for PostgreSQL, MySQL, and SQLite, tiberius for SQL Server, plus mongodb, redis-rs, embedded DuckDB, ClickHouse over HTTP, and Elasticsearch over REST. Dialect and data-type differences are settled in the backend, so the UI keeps a single editor, a single table browser, and a single results panel.
Project Overview
DbDream started with a simple annoyance: I was tired of opening several applications just to check one database. I worked on this personal project from April to September 2026, and it grew well past the first plan. What came out of it is a desktop database client: Tauri for the native window, React and TypeScript for the interface, Rust for everything that touches connections and queries.
One window, thirteen engines
Thirteen engines open from the same window: PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, CockroachDB, DuckDB, MotherDuck, Turso, MongoDB, Redis, ClickHouse, and Elasticsearch. Connecting is the easy part. Each engine gets a schema browser that follows how it actually works: tables and views for the relational ones, JSON documents for MongoDB, keys and values for Redis, indices and mappings for Elasticsearch.
The drivers took most of the time. SQL Server speaks TDS through tiberius, so it needs no ODBC and runs on macOS, Windows, and Linux alike. ClickHouse and Elasticsearch talk over HTTP. DuckDB is compiled into the application, which means an analytics database opens without a server. One connection manager in Rust holds all of it together.
Queries, data, and the work that usually needs another tool
The editor is Monaco, and I usually keep a few query tabs open. History and saved queries help when I come back to the same statement days later. Completion goes beyond a keyword list: dt-sql-parser reads the shape of the statement, then suggestions follow the dialect of the active engine, including table and column names already read from the schema. Results can be sorted, filtered, exported, or turned into a chart; parameters can be bound before a run, and an explain plan is there when I want to check how a query will be executed.
The table browser pages through data with an adjustable page size. One table I opened held 41,895 rows. There are per-column filters, a structure view with indices, foreign keys and DDL, and row edits that wait as staged changes before you commit them. Import and export handle CSV, JSON, and compressed files.
Some features exist because I needed them myself: comparing two schemas and generating a sync script, an ER diagram laid out automatically with dagre, user and privilege management, a list of running sessions, SQL or JSON backups, and a monitoring dashboard for most of the engines.
Limits for an AI agent
The app has an assistant that can call tools: list tables, describe columns, run a query, then explain the result. A separate MCP server opens the same connections to AI clients such as Claude Desktop or Cursor. That is why the limits sit in the backend: the MCP server is read-only unless an environment variable allows writes, every call lands in an audit log with sensitive arguments redacted, calls are rate limited, and destructive SQL patterns are still rejected even with write mode on.
What I took from it
Building one feature for thirteen engines means building it thirteen times, differently. Data types, identifier quoting, and transaction behaviour are never quite the same, and a tidy-looking abstraction usually just hides the problem. What worked was keeping the differences in the backend, keeping the interface thin, and testing every SQL generator both ways — generate, parse back, compare.
In the end the project taught me about the limits of a shared interface: how much an application should smooth over, and when it has to admit that every database has its own temperament.
Technologies Used
Interested in a similar project?
Let's discuss how I can help bring your ideas to life.