fdb2 1.0.34 → 1.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -3
- package/dist/public/explorer.css +1322 -1235
- package/dist/public/explorer.js +908 -872
- package/dist/public/index.css +717 -118
- package/dist/public/index.js +277 -27
- package/dist/public/layout.css +320 -125
- package/dist/public/layout.js +186 -28
- package/dist/public/vue.js +1 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.ts +0 -1
- package/dist/server/service/database/clickhouse-connection.d.ts.map +1 -1
- package/dist/server/service/database/clickhouse-connection.js +3 -3
- package/dist/server/service/database/clickhouse-connection.js.map +1 -1
- package/dist/server/service/database/clickhouse-connection.ts +3 -3
- package/package.json +6 -2
- package/public/fdb2.png +0 -0
package/README.md
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
[中文](README_zh.md) | English
|
|
4
4
|
|
|
5
|
-
> 🚀 A lightweight, open-source database management tool supporting
|
|
5
|
+
> 🚀 A lightweight, open-source database management tool supporting 9+ database types, providing a Navicat Premium-like professional experience — completely free and running locally!
|
|
6
6
|
|
|
7
7
|

|
|
8
8
|
|
|
9
9
|
## 🔥 Core Features
|
|
10
10
|
|
|
11
11
|
### 🌐 Multi-Database Support
|
|
12
|
-
- **
|
|
12
|
+
- **9+ Database Types**: MySQL, PostgreSQL, SQLite, SQL Server, Oracle, CockroachDB, MongoDB, SAP HANA, ClickHouse
|
|
13
13
|
- **Compatibility Extensions**: MariaDB/TiDB/Aurora compatible with MySQL, Aurora PostgreSQL compatible with PostgreSQL
|
|
14
14
|
- **NoSQL Support**: MongoDB document database
|
|
15
15
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
#### 💻 Desktop Client (Recommended)
|
|
36
36
|
Download the pre-built cross-platform desktop application for immediate use:
|
|
37
|
-
- **[Windows / macOS / Linux Client Download](https://github.com/fefeding/fdb2/releases/
|
|
37
|
+
- **[Windows / macOS / Linux Client Download](https://github.com/fefeding/fdb2/releases/)**
|
|
38
38
|
- Unzip and double-click to run, no environment setup required
|
|
39
39
|
|
|
40
40
|
#### 📦 Command Line Tool
|
|
@@ -78,6 +78,25 @@ http://localhost:9800
|
|
|
78
78
|
|
|
79
79
|
> 💡 **Tip**: Default port is 9800, but if occupied, it will automatically select another available port
|
|
80
80
|
|
|
81
|
+
## 🔌 VSCode Extension
|
|
82
|
+
|
|
83
|
+
Prefer staying inside the editor? `fdb2` also ships as a **VSCode extension** — "Database Tool (fdb2)" — that embeds the same UI directly in VSCode.
|
|
84
|
+
|
|
85
|
+
- **Native tree navigation** — a dedicated **Database Tool** view in the Activity Bar (Connection → Database → Table → Column). Click any node to open the related panel.
|
|
86
|
+
- **Per-connection tabs** — the same connection reuses one editor tab while different connections open new tabs, so you can compare databases side by side.
|
|
87
|
+
- **Rich content area** — connection overview, database detail, paginated table data (with a one-line pagination + page-size bar), table structure (columns/indexes/foreign keys/SQL), and a full SQL query panel (`Ctrl/Cmd+Enter` to run).
|
|
88
|
+
- **Shared config** — connections are stored at `~/.fdb2/connections.json` and reused by both the desktop app and the extension (override with the `dbtool.dataDir` setting).
|
|
89
|
+
- **Supported databases** — MySQL, PostgreSQL, SQL Server, SQLite, Oracle, CockroachDB, MongoDB, SAP HANA, ClickHouse (Oracle/SQLite/SAP HANA need native drivers compiled for VSCode's Node ABI).
|
|
90
|
+
|
|
91
|
+
Install from the Marketplace (`Ctrl/Cmd+Shift+X` → search **"Database Tool (fdb2)"**), or build from source:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
cd packages/vscode && npm install && npm run build
|
|
95
|
+
# then press F5 in VSCode to launch the Extension Development Host
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
> For full setup, operations, settings, native-driver notes, and publishing, see [**packages/vscode/README.md**](packages/vscode/README.md).
|
|
99
|
+
|
|
81
100
|
## 📊 Supported Database Types
|
|
82
101
|
|
|
83
102
|
| Database Type | Default Port | Key Features |
|
|
@@ -90,12 +109,14 @@ http://localhost:9800
|
|
|
90
109
|
| **CockroachDB** | 26257 | Distributed SQL, strong consistency, automatic sharding |
|
|
91
110
|
| **MongoDB** | 27017 | NoSQL document database, aggregation pipeline, indexing |
|
|
92
111
|
| **SAP HANA** | 39013 | In-memory database, real-time analytics, column store |
|
|
112
|
+
| **ClickHouse** | 8123 | Columnar store, real-time analytics, MergeTree engine, HTTP interface |
|
|
93
113
|
|
|
94
114
|
### 🔄 Compatibility Notes
|
|
95
115
|
- **MariaDB/TiDB**: Compatible with MySQL protocol — select MySQL type
|
|
96
116
|
- **Amazon Aurora MySQL**: Compatible with MySQL — select MySQL type
|
|
97
117
|
- **Amazon Aurora PostgreSQL**: Compatible with PostgreSQL — select PostgreSQL type
|
|
98
118
|
- **Better-SQLite3**: Compatible with SQLite — select SQLite type
|
|
119
|
+
- **ClickHouse**: Connect via the HTTP interface (default port 8123) using Basic auth with the default user `default`; supports table/view browsing, schema inspection, data CRUD, SQL queries, backup and restore
|
|
99
120
|
|
|
100
121
|
## 🤝 Contribution Guide
|
|
101
122
|
|