OpenRDB Studio

Free, open-source, cross-platform desktop GUI for relational databases — Rust, Tauri, React, and TypeScript, with SQLx for type-safe async database access.

RustTauriReactTypeScriptSQLx
GitHub
01

System Architecture

REQUESTinvoke("run_query", sql)tracing
invokecredentialsReact UIMonaco · results gridCLIENTTauri IPCCommand bridgeEDGERust CoreConnection managerSVCOS KeychainCredential storeEXTSQLx PoolTokio · type-safe asyncSVCPostgreSQLDATAMySQLDATASQLiteDATA

The React UI (Monaco editor) talks to the Rust core through Tauri IPC commands. Connections are pooled by SQLx over Tokio for type-safe async execution against PostgreSQL, MySQL, or SQLite; credentials live in the OS keychain, never in app storage.

02

Engineering Challenges

01

Native feel, web UI

Tauri keeps the binary small and the backend in Rust while the interface stays a modern React app.

02

Type-safe SQL core

SQLx over Tokio gives async, compile-checked database access across PostgreSQL, MySQL, and SQLite.

03

Credential safety

Connection credentials live in the OS keychain — never in app-managed storage or config files.

04

Open developer experience

Built as an unrestricted alternative to closed-source database GUIs — no seat licenses, no locked features.

03

Trade-offs & Decisions

ChoseOverBecause
TauriElectronA fraction of the memory and binary size, plus a Rust-native backend for the SQL core.
SQLxHeavy ORMType-safe raw SQL fits a database tool better than an abstraction that hides the SQL.
Desktop appWeb appLocal connectivity to databases behind firewalls, without proxying credentials through a server.