A web-native DBeaver alternative for PostgreSQL only
DBeaver supports many databases. pg-view does one thing well: PostgreSQL in the browser, self-hosted, with a minimal footprint.
Why teams switch from DBeaver
When you only need PostgreSQL, a focused web tool beats a heavy desktop client.
No JVM or desktop install — open a URL and start querying.
Share access via internal URL instead of distributing desktop configs.
Docker deploy in one command, updatable with docker pull.
PostgreSQL-native UX without multi-database complexity.
pg-view vs DBeaver
DBeaver is a universal DB IDE. pg-view is a focused PostgreSQL web client.
| Feature | pg-view | DBeaver |
|---|---|---|
| Native web — no desktop install | ||
| Lightweight (< 200 MB image) | ||
| SQL editor with history and favorites | ||
| Environment labels (prod/staging) | ||
| Global read-only mode | ||
| Self-hosted Docker in 1 command |
Everything essential for working with PostgreSQL
Exploration, editing, and SQL in one coherent interface. No features you'll never use.
Schema explorer
Navigable tree with search, row estimates, and restoration of the last visited table.
Data viewer and editor
Paginated table with filters, sorting, and a side panel to view, edit, and insert rows.
Table structure
Columns, types, primary keys, indexes, and constraints visible at a glance.
Built-in SQL editor
History, favorites, auto-save draft, and confirmation for destructive operations.
Connection management
Saved connections with environment labels, URL import, and volume persistence.
User experience
Light and dark theme, resizable sidebar, and responsive design with Nuxt UI.
Built-in security and control
Panel authentication, global read-only mode, SQL guardrails, and configurable row limits and timeouts.
Deploy in 30 seconds
Optimized multi-stage Docker image. Internal port 3000, expose whatever you need.
services:
pg-view:
image: lcurrol/pg-view
ports:
- '8080:3000'
# environment:
# PGVIEW_USERNAME: admin
# PGVIEW_PASSWORD: 123456
# PGVIEW_SESSION_SECRET: random-secret-key
# DB_URL: postgresql://user:pass@host:5432/db
volumes:
- ./pg-view:/app/.data
restart: unless-stoppedPersistence
Mount a volume at /app/.data to keep connections and SQL history.
Read-only mode
Set PGVIEW_READ_ONLY=true to block writes.
DBeaver alternative FAQ
Ready to explore your data?
Free, open source, and ready to deploy on your infrastructure. No licenses, no vendor lock-in.