20MB lightweight database client for 70+ databases
Go to file
t8y2 68a8b382b2 chore: remove .mcp.json from tracking and add to gitignore 2026-05-03 14:46:45 +08:00
.github fix: use per-target Rust cache keys and align CI runner for cache reuse 2026-05-02 22:50:34 +08:00
docs docs: add screenshots and reorder README sections 2026-05-01 21:55:00 +08:00
mcp feat: enhance DBX tools with markdown table formatting and improved error handling 2026-05-03 14:44:25 +08:00
public feat: add SelectDB support and update related icons 2026-05-01 11:02:41 +08:00
src feat: add MCP bridge for AI agent integration 2026-05-03 14:35:48 +08:00
src-tauri feat: add MCP bridge for AI agent integration 2026-05-03 14:35:48 +08:00
tests feat: add configuration export/import with passphrase encryption 2026-05-03 12:46:49 +08:00
.gitignore chore: remove .mcp.json from tracking and add to gitignore 2026-05-03 14:46:45 +08:00
README.md fix: update the contributor image link to include version parameter 2026-05-02 17:43:38 +08:00
README.zh-CN.md fix: update the contributor image link to include version parameter 2026-05-02 17:43:38 +08:00
components.json feat: initial release 2026-04-29 18:09:23 +08:00
index.html feat: enhance loading experience and update window visibility settings 2026-04-29 18:33:41 +08:00
package.json chore: bump version to 0.3.8 2026-05-03 13:01:46 +08:00
pnpm-lock.yaml fix: 重新加入@babel/runtime依赖,原因是不加则CodeMirror-Theme会报错 2026-05-02 17:29:14 +08:00
tsconfig.json feat: initial release 2026-04-29 18:09:23 +08:00
vite.config.ts feat: enhance MySQL connection handling with bare option and optimize component imports 2026-05-02 23:25:39 +08:00

README.md

DBX

Open-source, lightweight, cross-platform database management tool.

English | 简体中文

Features

  • Multi-database — MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, ClickHouse, SQL Server, Oracle, MariaDB, TiDB, OceanBase, openGauss, GaussDB, KingBase, Vastbase, GoldenDB
  • Schema browser — Databases, schemas, tables, columns, indexes, foreign keys, triggers, with sidebar search & pin
  • Query editor — CodeMirror 6 with syntax highlighting, SQL autocomplete (tables & columns), Cmd+Enter execution, selected SQL execution, SQL formatting
  • 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
  • File preview — Drag & drop Parquet, CSV, JSON files to preview data instantly (powered by DuckDB)
  • Redis browser — Key pattern search, value viewer for all data types (String, Hash, List, Set, ZSet, Stream)
  • MongoDB browser — Document CRUD with pagination, direct URL connection (Atlas, replica sets)
  • 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
  • Connection colors — Color-coded connections for visual identification
  • Auto-update — Built-in update checker with release notifications
  • 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.

Homebrew (macOS):

brew install --cask t8y2/tap/dbx

Scoop (Windows):

scoop bucket add dbx https://github.com/t8y2/scoop-bucket
scoop install dbx

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

Community

LINUX DO

WeChat Group QQ Group

Contributors

Star History

Star History Chart

License

MIT