https://github.com/t8y2/dbx
Open-source, lightweight, cross-platform database client. Supports MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, ClickHouse, SQL Server.
https://github.com/t8y2/dbx
clickhouse database database-client database-management duckdb gui mongodb mysql postgresql redis rust sql-server sqlite tauri vue
Last synced: about 1 hour ago
JSON representation
Open-source, lightweight, cross-platform database client. Supports MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, ClickHouse, SQL Server.
- Host: GitHub
- URL: https://github.com/t8y2/dbx
- Owner: t8y2
- Created: 2026-04-29T03:00:36.000Z (2 days ago)
- Default Branch: main
- Last Pushed: 2026-04-30T06:00:57.000Z (1 day ago)
- Last Synced: 2026-04-30T06:20:18.289Z (1 day ago)
- Topics: clickhouse, database, database-client, database-management, duckdb, gui, mongodb, mysql, postgresql, redis, rust, sql-server, sqlite, tauri, vue
- Language: Vue
- Homepage:
- Size: 3.03 MB
- Stars: 303
- Watchers: 1
- Forks: 14
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Features
- **Multi-database** — MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, ClickHouse, SQL Server, MariaDB, TiDB, OceanBase, openGauss, GaussDB, KingBase, Vastbase, GoldenDB
- **Schema browser** — Databases, schemas, tables, columns, indexes, foreign keys, triggers
- **Query editor** — CodeMirror 6 with syntax highlighting, Cmd+Enter execution, Cmd+scroll zoom
- **AI SQL assistant** — Natural language to SQL, explain, optimize, fix errors (Claude / OpenAI)
- **Data grid** — Virtual-scrolled table with inline editing, sorting, search, pagination, column resize, row numbers, zebra stripes
- **Export** — CSV, JSON, Markdown
- **Redis browser** — Key pattern search, value viewer for all data types (String, Hash, List, Set, ZSet)
- **MongoDB browser** — Document CRUD with pagination
- **Query history** — Persistent history with search, restore, one-click copy
- **Safety** — Confirmation dialog for DROP / DELETE / TRUNCATE / ALTER
- **Auto-reconnect** — Transparent retry on connection loss
- **SSH tunnel** — Key and password authentication
- **File drag & drop** — Drag .db / .sqlite / .duckdb files to open directly
- **Dark mode** — Native title bar theme sync
- **i18n** — English & 简体中文
- **Tiny** — ~15 MB installer (no bundled Chromium)
## Screenshot
## Install
Download the latest release from the [Releases](https://github.com/t8y2/dbx/releases) page.
### macOS Note
DBX is not signed with an Apple Developer certificate. On first launch, macOS will block the app. To fix this:
```bash
xattr -cr /Applications/dbx.app
```
Or: **System Settings → Privacy & Security → Open Anyway**.
## Getting Started
### Prerequisites
- [Node.js](https://nodejs.org/) >= 18
- [pnpm](https://pnpm.io/)
- [Rust](https://www.rust-lang.org/tools/install) >= 1.77
### Development
```bash
pnpm install
pnpm tauri dev
```
### Build
```bash
pnpm tauri build
```
The installer will be in `src-tauri/target/release/bundle/`.
## Tech Stack
| Layer | Technology |
| --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Framework | [Tauri 2](https://tauri.app/) |
| Frontend | [Vue 3](https://vuejs.org/) + TypeScript |
| UI | [shadcn-vue](https://www.shadcn-vue.com/) + Tailwind CSS |
| Editor | [CodeMirror 6](https://codemirror.net/) |
| Backend | Rust + [sqlx](https://github.com/launchbadge/sqlx) / [tiberius](https://github.com/prisma/tiberius) / [redis-rs](https://github.com/redis-rs/redis-rs) / [mongodb](https://github.com/mongodb/mongo-rust-driver) |
## License
[MIT](LICENSE)
## Community
[](https://linux.do)
| WeChat Group | QQ Group |
| :---------------------------------------------: | :-----------------------------------------: |
|
|
|