将现有 SQL 危险确认弹窗扩展为可复用确认组件。 覆盖 SQL UPDATE/MERGE/REPLACE 等危险语句识别,并在识别前去除注释。 为表格行删除、Redis key/hash/list/set 删除、MongoDB 文档和字段删除接入确认弹窗。 补充中英文危险确认文案,保持本次提交只聚焦确认流程。 |
||
|---|---|---|
| .github | ||
| docs | ||
| public | ||
| src | ||
| src-tauri | ||
| .gitignore | ||
| README.md | ||
| README.zh-CN.md | ||
| components.json | ||
| index.html | ||
| package.json | ||
| pnpm-lock.yaml | ||
| tsconfig.json | ||
| vite.config.ts | ||
README.md
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 page.
macOS Note
DBX is not signed with an Apple Developer certificate. On first launch, macOS will block the app. To fix this:
xattr -cr /Applications/dbx.app
Or: System Settings → Privacy & Security → Open Anyway.
Getting Started
Prerequisites
Development
pnpm install
pnpm tauri dev
Build
pnpm tauri build
The installer will be in src-tauri/target/release/bundle/.
Tech Stack
| Layer | Technology |
|---|---|
| Framework | Tauri 2 |
| Frontend | Vue 3 + TypeScript |
| UI | shadcn-vue + Tailwind CSS |
| Editor | CodeMirror 6 |
| Backend | Rust + sqlx / tiberius / redis-rs / mongodb |
License
Community
| WeChat Group | QQ Group |
|---|---|
![]() |
![]() |

