t8y2/dbx
25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
Rust★ 22,365+232 that day#4 on trendingD 50.3 health8.62% duplicated
D50.3/100
Duplication47
9.2% in typescript, rust, vue, go, java, javascript, tsx, python, bash, powershell, nsis, php, groovy, sql, perl, svelte, ruby, cDead code95
0.6%Complexity38
69.8%Most complex files
- apps/desktop/src/stores/queryStore.ts3446 cx
- apps/desktop/src/stores/connectionStore.ts3342 cx
- crates/dbx-driver-postgres/src/postgres.rs3020 cx
- agents/go-common/iotdb-client-go/common/common.go2872 cx
- crates/dbx-core/src/persistence/storage.rs2651 cx
- crates/dbx-core/src/data/transfer.rs2535 cx
- crates/dbx-core/assets/docs-export.js2340 cx
- crates/dbx-core/src/schema/mod.rs2315 cx
- apps/desktop/src/lib/sql/sqlCompletion.ts2038 cx
- crates/dbx-core/src/data/table_import.rs1994 cx
Dead code 0.58% unused · 239 findings
- apps/desktop/src/components/config/TagManagementPanel.vueunused-file
- docs/worker.tsunused-file
- apps/desktop/src/components/settings/McpConnectionScopePicker.vueunused-file
- deploy/plugin-stats-worker/worker.tsunused-file
- agents/drivers/oceanbase-oracle/scripts/verify-schema-objects.tsunused-file
- apps/desktop/src/lib/sidebar/treeNodeIcon.tsunused-file
- plugins/sdk/dev-host/runtime.mjsunused-file
- agents/drivers/oceanbase-oracle/scripts/verify-partition-ddl.tsunused-file
- apps/desktop/src/components/config/ConfigDriftPanel.vueunused-file
- apps/desktop/src/components/diff/RebasePanel.vueunused-file
6,149files
1,949,693lines
14,142,679tokens
12,903clones
168,022duplicated lines (8.62%)
1,151,618duplicated tokens (8.14%)
By format
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| rust | 654 | 575,899 | 5,365 | 61,888 | 10.75% |
| typescript | 3,220 | 792,964 | 4,618 | 55,236 | 6.97% |
| go | 256 | 123,216 | 1,309 | 26,783 | 21.74% |
| java | 173 | 74,129 | 806 | 10,247 | 13.82% |
| yaml | 191 | 18,467 | 187 | 3,637 | 19.69% |
| html | 425 | 38,454 | 180 | 2,138 | 5.56% |
| css | 128 | 19,807 | 180 | 2,313 | 11.68% |
| json | 88 | 19,297 | 121 | 2,466 | 12.78% |
| markup | 70 | 3,729 | 38 | 893 | 23.95% |
| javascript | 120 | 19,469 | 30 | 399 | 2.05% |
Largest clones
- 620 lines · 5,011 tokens goagents/drivers/argo-go/metadata_test.go:92–711⇆agents/drivers/hive-go/metadata_test.go:155–774
- 563 lines · 4,190 tokens goagents/drivers/argo-go/config.go:173–735⇆agents/drivers/hive-go/config.go:179–741
- 664 lines · 4,019 tokens pythonagents/drivers/argo-go/bench/agent_compare.py:1–664⇆agents/drivers/hive-go/bench/agent_compare.py:1–664
- 620 lines · 3,909 tokens goagents/drivers/argo-go/main.go:1–620⇆agents/drivers/hive-go/main.go:1–620
- 562 lines · 3,599 tokens goagents/drivers/argo-go/zookeeper_protocol_test.go:1–562⇆agents/drivers/hive-go/zookeeper_protocol_test.go:1–562
- 568 lines · 3,548 tokens goagents/drivers/argo-go/zookeeper_protocol.go:1–568⇆agents/drivers/hive-go/zookeeper_protocol.go:1–568
- 507 lines · 3,455 tokens goagents/drivers/argo-go/config.go:730–1236⇆agents/drivers/hive-go/config.go:761–1267
- 392 lines · 2,733 tokens goagents/drivers/argo-go/discovery.go:1–392⇆agents/drivers/hive-go/discovery.go:1–392
- 274 lines · 2,580 tokens goagents/drivers/argo-go/query_test.go:266–539⇆agents/drivers/hive-go/query_test.go:307–580
- 213 lines · 2,373 tokens goagents/drivers/kingbase-go/kingbase_metadata.go:608–820⇆agents/drivers/vastbase-go/vastbase_metadata.go:467–679
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | Duplication | Health | Commit |
|---|---|---|---|---|---|---|---|---|
| Sep 30, 2026 | #4 | 22,365 (+232) | 6,149 | 1,949,693 | 12,903 | 8.62% | D 50.3 | 89964da |
Want this for your own project? Install jscpd and run jscpd .