@pgplex/pgconsole 0.1.1 → 0.2.1

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 CHANGED
@@ -1,42 +1,31 @@
1
1
  # pgconsole
2
2
 
3
- Postgres Editor with Guardrails.
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
- ## Development
5
+ ## Features
6
6
 
7
- ### Prerequisites
8
-
9
- - Node.js 20+
10
- - pnpm
11
- - PostgreSQL
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
- ### Setup
14
+ ## Installation
14
15
 
15
- 1. Install dependencies:
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
- 3. Configure your database connection in `.env`
18
+ - Node.js 20+
26
19
 
27
- 4. Run database migrations:
28
- ```bash
29
- pnpm db:push
30
- ```
20
+ ### npm
31
21
 
32
- 5. Start the development server:
33
- ```bash
34
- pnpm dev
35
- ```
22
+ ```bash
23
+ npm install -g @pgplex/pgconsole
24
+ pgconsole --config pgconsole.toml
25
+ ```
36
26
 
37
- ## Tech Stack
27
+ ### npx
38
28
 
39
- - **Frontend**: React 19, TypeScript, Tailwind CSS v4
40
- - **Backend**: Express, ConnectRPC
41
- - **Database**: PostgreSQL with Drizzle ORM
42
- - **Build**: Vite (rolldown-vite)
29
+ ```bash
30
+ npx @pgplex/pgconsole --config pgconsole.toml
31
+ ```