@pgplex/pgconsole 0.1.1 → 0.2.0
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 +20 -31
- package/dist/client/assets/{index-CzWqr-JX.js → index-50FoceLI.js} +85 -13
- package/dist/client/assets/index-DUHQjBL7.css +2 -0
- package/dist/client/assets/{sql-B7ndC_V7.js → sql-CzmdoutZ.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server.mjs +329 -35
- package/dist/server.mjs.map +4 -4
- package/package.json +4 -1
- package/dist/client/assets/index-C-1OZ2hX.css +0 -2
package/README.md
CHANGED
|
@@ -1,42 +1,31 @@
|
|
|
1
1
|
# pgconsole
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Web-based PostgreSQL editor. Single binary, single config file, no database required. Connect your team to PostgreSQL with access control and audit logging built in.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Features
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
7
|
+
- Full PostgreSQL parser powers realtime autocomplete, syntax highlighting, and error detection
|
|
8
|
+
- Query, edit results, stage changes, and apply — all in one view
|
|
9
|
+
- AI assistant generates SQL, explains queries, fixes errors, and assesses change risk
|
|
10
|
+
- Fine-grained IAM controls who can read, write, or administer each connection
|
|
11
|
+
- Every query and login is recorded in the audit log
|
|
12
|
+
- Everything is in `pgconsole.toml` — connections, users, groups, access rules, AI providers
|
|
12
13
|
|
|
13
|
-
|
|
14
|
+
## Installation
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
pnpm install
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
2. Copy environment variables:
|
|
21
|
-
```bash
|
|
22
|
-
cp .env.example .env
|
|
23
|
-
```
|
|
16
|
+
### Prerequisites
|
|
24
17
|
|
|
25
|
-
|
|
18
|
+
- Node.js 20+
|
|
26
19
|
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
pnpm db:push
|
|
30
|
-
```
|
|
20
|
+
### npm
|
|
31
21
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
22
|
+
```bash
|
|
23
|
+
npm install -g @pgplex/pgconsole
|
|
24
|
+
pgconsole --config pgconsole.toml
|
|
25
|
+
```
|
|
36
26
|
|
|
37
|
-
|
|
27
|
+
### npx
|
|
38
28
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
- **Build**: Vite (rolldown-vite)
|
|
29
|
+
```bash
|
|
30
|
+
npx @pgplex/pgconsole --config pgconsole.toml
|
|
31
|
+
```
|