From 53ee69671400f3f99cd514771a3dad8bdf87e089 Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Tue, 26 May 2026 01:48:25 +0800 Subject: [PATCH] docs: add Why DBX and FAQ sections to README --- README.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++ README.zh-CN.md | 59 ++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 115 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8858f0457..c628b3601 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,31 @@

+## Why DBX? + + + + + + + + + + +
+

🪶 15 MB, zero runtime bloat

+

No Java JRE. No Python venv. No bundled Chromium. DBX ships as a single small binary — download, install, connect. DBeaver needs Java; TablePlus is macOS-only. DBX runs everywhere with nothing extra.

+
+

🤖 AI that lives in your editor

+

Highlight a table, describe what you want, get SQL back — no copy-paste between tools. Works with Claude, OpenAI, or local models via Ollama. Built-in safety checks review AI-generated SQL before it runs.

+
+

🔌 MCP: your databases, AI-ready

+

DBX speaks the Model Context Protocol. Claude Code, Cursor, Windsurf, and other AI coding agents can query your databases through connections you already set up. One config, everywhere.

+
+

🌐 Desktop + Docker + Web

+

Native app on macOS, Windows, and Linux. Self-host via Docker for team access. Web version for browser-only environments. Same feature set. Same connections.

+
+ ## Features ### 40+ Databases, One Tool @@ -241,6 +266,38 @@ The installer will be in `src-tauri/target/release/bundle/`. WeChat Group [![LINUX DO](https://img.shields.io/badge/LINUX%20DO-Community-blue)](https://linux.do) +## FAQ + +
+Is DBX free? +Yes. DBX is open source under AGPL-3.0. All features are free. +
+ +
+Does DBX phone home? +No. DBX does not collect telemetry. The auto-update feature checks GitHub Releases for new versions — you can disable it in settings. +
+ +
+Can I use DBX without an internet connection? +Yes. The desktop app works fully offline. AI features need network access to the model endpoint (or a local model via Ollama). +
+ +
+How is DBX different from DBeaver / TablePlus / Beekeeper Studio? +DBX is 15 MB with no runtime dependencies (no Java, no Python). It includes AI and MCP natively — not as plugins. It supports 40+ databases across desktop, Docker, and web from a single codebase. +
+ +
+What databases are supported? +MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, ClickHouse, SQL Server, Oracle, Elasticsearch, MariaDB, TiDB, OceanBase, openGauss, GaussDB, KingBase, Vastbase, GoldenDB, Doris, SelectDB, StarRocks, Redshift, DM, TDengine, CockroachDB, Access, HighGo, and more. JDBC-oriented profiles extend support to H2, Snowflake, Trino, Hive, DB2, Informix, Neo4j, Cassandra, BigQuery, Kylin, SunDB, and custom JDBC connections. +
+ +
+How do I report a bug or request a feature? +Open an issue on GitHub Issues. +
+ ## Contributors diff --git a/README.zh-CN.md b/README.zh-CN.md index 81a174330..55ceb2331 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -9,7 +9,7 @@ 加入 Discord - 加入 QQ 群 + 加入 QQ 群 加入微信交流群

@@ -53,6 +53,31 @@

+## 为什么选择 DBX? + + + + + + + + + + +
+

🪶 15 MB,极致轻量

+

无需 Java 运行环境,无需 Python 虚拟环境,不内嵌 Chromium。DBX 是单个小巧的二进制文件——下载、安装、连接。DBeaver 依赖 Java;TablePlus 仅限 macOS。DBX 全平台可用,无需额外运行时。

+
+

🤖 AI 原生集成在编辑器里

+

选中一张表,描述你想要什么,直接得到 SQL——无需在工具之间复制粘贴。支持 Claude、OpenAI,或通过 Ollama 使用本地模型。内置安全检查会在执行前审查 AI 生成的 SQL。

+
+

🔌 MCP 协议:你的数据库,AI 就绪

+

DBX 原生支持 Model Context Protocol。Claude Code、Cursor、Windsurf 等 AI 编程助手可以直接通过你已配置的数据库连接查询数据。一次配置,处处可用。

+
+

🌐 桌面端 + Docker + Web

+

macOS、Windows、Linux 原生应用。通过 Docker 自托管供团队访问。Web 版本适配纯浏览器环境。同样的功能,同样的连接配置。

+
+ ## 功能特性 ### 40+ 种数据库,一个工具搞定 @@ -241,6 +266,38 @@ pnpm tauri build 微信交流群 [![LINUX DO](https://img.shields.io/badge/LINUX%20DO-社区-blue)](https://linux.do) +## 常见问题 + +
+DBX 是免费的吗? +是的。DBX 基于 AGPL-3.0 协议开源,所有功能均免费使用。 +
+ +
+DBX 会收集用户数据吗? +不会。DBX 不收集任何遥测数据。自动更新功能仅检查 GitHub Releases 获取新版本——你可以在设置中禁用它。 +
+ +
+可以离线使用吗? +可以。桌面端完全支持离线使用。AI 功能需要网络访问模型端点(或通过 Ollama 使用本地模型)。 +
+ +
+DBX 和 DBeaver / TablePlus / Beekeeper Studio 有什么区别? +DBX 仅 15 MB,无需运行时依赖(无需 Java、无需 Python)。AI 和 MCP 是原生内置功能,不是插件。单一代码库同时支持 40+ 数据库、桌面端、Docker 和 Web。 +
+ +
+支持哪些数据库? +MySQL、PostgreSQL、SQLite、Redis、MongoDB、DuckDB、ClickHouse、SQL Server、Oracle、Elasticsearch、MariaDB、TiDB、OceanBase、openGauss、GaussDB、KingBase、Vastbase、GoldenDB、Doris、SelectDB、StarRocks、Redshift、DM、TDengine、CockroachDB、Access、HighGo 等。JDBC 方向配置可扩展到 H2、Snowflake、Trino、Hive、DB2、Informix、Neo4j、Cassandra、BigQuery、Kylin、SunDB 及自定义 JDBC 连接。 +
+ +
+如何报告 Bug 或请求新功能? +在 GitHub Issues 提交 Issue。 +
+ ## 贡献者