From 97eeab280183974b1572997a1aa5754ea240e06e Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Wed, 6 May 2026 02:35:50 +0800 Subject: [PATCH] docs: update badges, community links, and VitePress homepage - Replace small badges with for-the-badge style (downloads, contributors, Discord, QQ) - Add database badges (Doris, StarRocks, Redshift, OceanBase, openGauss, GaussDB, KingBase, and more) - Replace WeChat/QQ QR codes with Discord + QQ badge buttons - Update VitePress homepage (25+ databases, new screenshots, Docker section) - Update VitePress config (AGPL-3.0 footer, new description) --- README.md | 26 +++++++++++++++----------- README.zh-CN.md | 26 ++++++++++++++------------ docs/.vitepress/config.ts | 4 ++-- docs/index.md | 36 ++++++++++++++++-------------------- docs/zh-CN/index.md | 36 ++++++++++++++++-------------------- 5 files changed, 63 insertions(+), 65 deletions(-) diff --git a/README.md b/README.md index b1f63a7ec..269b4f1a8 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,10 @@

DBX

25+ databases in 15 MB. Desktop & Docker self-hosting, with built-in AI assistant.

- - - - - - + + + Join Discord + Join QQ Group

@@ -23,9 +21,17 @@ + + + + + + + +

- English | 简体中文 + English | 前往中文版本

@@ -192,12 +198,10 @@ The installer will be in `src-tauri/target/release/bundle/`. ## Community +[![Discord](https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white)](https://discord.gg/W7NyVDRt6a) +[![QQ Group](https://img.shields.io/badge/QQ%20群-1087880322-EB1923?logo=tencentqq&logoColor=white)](https://qm.qq.com/q/1087880322) [![LINUX DO](https://img.shields.io/badge/LINUX%20DO-Community-blue)](https://linux.do) -| WeChat Group | QQ Group | -| :---------------------------------------------: | :-----------------------------------------: | -| | | - ## Contributors diff --git a/README.zh-CN.md b/README.zh-CN.md index addb6df53..4eafdcf8f 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -3,12 +3,10 @@

DBX

15 MB 驾驭 25+ 种数据库。桌面端 & Docker 自托管,内置 AI 助手。

- - - - - - + + + 加入 Discord + 加入 QQ 群

@@ -23,6 +21,14 @@ + + + + + + + +

English | 简体中文 @@ -192,14 +198,10 @@ pnpm tauri build ## 社区 +[![Discord](https://img.shields.io/badge/Discord-加入-5865F2?logo=discord&logoColor=white)](https://discord.gg/W7NyVDRt6a) +[![QQ 群](https://img.shields.io/badge/QQ%20群-1087880322-EB1923?logo=tencentqq&logoColor=white)](https://qm.qq.com/q/1087880322) [![LINUX DO](https://img.shields.io/badge/LINUX%20DO-社区-blue)](https://linux.do) -### 交流群 - -| 微信群 | QQ群 | -|:---:|:---:| -| | | - ## 贡献者 diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 753b17e87..ba9b46daf 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -2,7 +2,7 @@ import { defineConfig } from 'vitepress' export default defineConfig({ title: 'DBX', - description: 'Open-source, lightweight, cross-platform database management tool', + description: '25+ databases in 15 MB. Desktop & Docker self-hosting, with built-in AI assistant.', base: '/dbx/', head: [ ['link', { rel: 'icon', href: '/dbx/logo.png' }], @@ -150,7 +150,7 @@ export default defineConfig({ { icon: 'npm', link: 'https://www.npmjs.com/package/@dbx-app/mcp-server' }, ], footer: { - message: 'Released under the MIT License.', + message: 'Released under the AGPL-3.0 License.', copyright: 'Copyright © 2024-present DBX Contributors', }, search: { diff --git a/docs/index.md b/docs/index.md index a27fc2cd5..e0228f454 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,7 +4,7 @@ layout: home hero: name: DBX text: Database Management Tool - tagline: Open-source, lightweight, cross-platform. Supports 13+ databases with built-in AI assistant. + tagline: 25+ databases in 15 MB. Desktop & Docker self-hosting, with built-in AI assistant. image: src: /logo.png alt: DBX @@ -21,33 +21,33 @@ hero: features: - icon: 🗄️ - title: 13+ Databases + title: 25+ Databases details: MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, ClickHouse, SQL Server, Oracle, Elasticsearch, and many MySQL/PG-compatible databases. link: /guide/databases linkText: View all databases - icon: ✏️ title: Query Editor - details: CodeMirror 6 with syntax highlighting, smart SQL autocomplete for tables and columns, format SQL, execute selected text. + details: CodeMirror 6 with syntax highlighting, smart SQL autocomplete for tables and columns, format SQL, execute selected text, 9 editor themes. link: /guide/query-editor linkText: Learn more - icon: 📊 title: Data Grid - details: Virtual-scrolled table with inline editing, sorting, search, WHERE filter, pagination. Edit data and preview SQL before saving. + details: Virtual-scrolled table that handles millions of rows. Inline editing, sorting, search, WHERE filter, pagination. Export to CSV, JSON, Markdown. link: /guide/data-grid linkText: Learn more - icon: 🤖 title: AI Assistant - details: Natural language to SQL, explain, optimize, fix errors. Supports Claude, OpenAI, and any compatible API. + details: Natural language to SQL, explain, optimize, fix errors. Supports Claude, OpenAI, and any OpenAI-compatible endpoint. link: /guide/ai-assistant linkText: Learn more - icon: 🔌 title: MCP Integration - details: Let Claude Code, Cursor and other AI agents query your databases and open tables in DBX directly. + details: Let Claude Code, Cursor, Windsurf and other AI agents query your databases and open tables in DBX directly. link: /guide/mcp linkText: Setup guide - icon: 🔄 title: Schema Diff & Transfer - details: Compare schemas across databases and generate sync SQL. Transfer data between different database engines. + details: Compare schemas across databases and generate sync SQL. Transfer data between different database engines. ER diagram visualization. link: /guide/schema-diff linkText: Learn more - icon: 🔍 @@ -55,10 +55,10 @@ features: details: Trace column dependencies through foreign keys, views, query history, and same-name fields across tables. link: /guide/field-lineage linkText: Learn more - - icon: 🔒 - title: Secure & Lightweight - details: Passwords in system keyring, SSH tunnel, encrypted config export. ~15 MB installer, no bundled Chromium. - link: /guide/config-export + - icon: 🐳 + title: Docker Self-Hosting + details: Deploy the web version via Docker with one command. Multi-arch images (amd64/arm64). Persistent data with volumes. + link: /guide/getting-started linkText: Learn more --- @@ -74,18 +74,13 @@ features: font-weight: 600; margin-bottom: 24px; } -.screenshot-section img { - width: 100%; - border-radius: 12px; - box-shadow: 0 8px 30px rgba(0,0,0,0.12); -} .screenshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; - margin-top: 16px; } .screenshot-grid img { + width: 100%; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); } @@ -93,9 +88,10 @@ features:

See it in action

- DBX main interface
- Connection dialog - AI assistant + DBX light mode + DBX dark mode + ER diagram + Data grid
diff --git a/docs/zh-CN/index.md b/docs/zh-CN/index.md index 80bd44d38..bbc235732 100644 --- a/docs/zh-CN/index.md +++ b/docs/zh-CN/index.md @@ -4,7 +4,7 @@ layout: home hero: name: DBX text: 数据库管理工具 - tagline: 开源、轻量、跨平台,支持 13+ 种数据库,内置 AI 助手 + tagline: 15 MB 驾驭 25+ 种数据库。桌面端 & Docker 自托管,内置 AI 助手。 image: src: /logo.png alt: DBX @@ -21,33 +21,33 @@ hero: features: - icon: 🗄️ - title: 13+ 种数据库 + title: 25+ 种数据库 details: MySQL、PostgreSQL、SQLite、Redis、MongoDB、DuckDB、ClickHouse、SQL Server、Oracle、Elasticsearch,以及众多 MySQL/PG 兼容数据库 link: /zh-CN/guide/databases linkText: 查看所有数据库 - icon: ✏️ title: 查询编辑器 - details: CodeMirror 6 语法高亮、智能 SQL 补全(表名和字段)、格式化 SQL、执行选中文本 + details: CodeMirror 6 语法高亮、智能 SQL 补全(表名和字段)、格式化 SQL、执行选中文本,9 种编辑器主题 link: /zh-CN/guide/query-editor linkText: 了解更多 - icon: 📊 title: 数据表格 - details: 虚拟滚动表格,行内编辑、排序、搜索、WHERE 过滤、分页。编辑数据保存前预览 SQL + details: 虚拟滚动,轻松应对百万行数据。行内编辑、排序、搜索、WHERE 过滤、分页。导出为 CSV、JSON、Markdown link: /zh-CN/guide/data-grid linkText: 了解更多 - icon: 🤖 title: AI 助手 - details: 自然语言生成 SQL、解释、优化、修复错误。支持 Claude、OpenAI 及兼容 API + details: 自然语言生成 SQL、解释、优化、修复错误。支持 Claude、OpenAI 及任何 OpenAI 兼容端点 link: /zh-CN/guide/ai-assistant linkText: 了解更多 - icon: 🔌 title: MCP 集成 - details: 让 Claude Code、Cursor 等 AI 编程助手直接查询数据库,还能在 DBX 中打开表 + details: 让 Claude Code、Cursor、Windsurf 等 AI 编程助手直接查询数据库,还能在 DBX 中打开表 link: /zh-CN/guide/mcp linkText: 配置指南 - icon: 🔄 title: Schema 对比与数据传输 - details: 跨数据库对比 Schema 并生成同步 SQL。在不同数据库引擎之间传输数据 + details: 跨数据库对比 Schema 并生成同步 SQL。在不同数据库引擎之间传输数据。ER 关系图可视化 link: /zh-CN/guide/schema-diff linkText: 了解更多 - icon: 🔍 @@ -55,10 +55,10 @@ features: details: 通过外键、视图、查询历史和同名字段追踪列的依赖关系 link: /zh-CN/guide/field-lineage linkText: 了解更多 - - icon: 🔒 - title: 安全与轻量 - details: 密码存储在系统钥匙串,支持 SSH 隧道,加密配置导出。安装包约 15 MB,不内嵌 Chromium - link: /zh-CN/guide/config-export + - icon: 🐳 + title: Docker 自托管 + details: 一行命令部署 Web 版本。支持 amd64/arm64 双架构镜像,数据持久化存储 + link: /zh-CN/guide/getting-started linkText: 了解更多 --- @@ -74,18 +74,13 @@ features: font-weight: 600; margin-bottom: 24px; } -.screenshot-section img { - width: 100%; - border-radius: 12px; - box-shadow: 0 8px 30px rgba(0,0,0,0.12); -} .screenshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; - margin-top: 16px; } .screenshot-grid img { + width: 100%; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); } @@ -93,9 +88,10 @@ features:

功能预览

- DBX 主界面
- 连接对话框 - AI 助手 + DBX 亮色模式 + DBX 深色模式 + ER 关系图 + 数据表格