pgport the lightweight self-hosted PostgreSQL web client — extended with keyboard-first navigation, inline data editing, row details sidebar, tabbed queries, vim mode, and more.
Every feature was built to stay out of the way: keyboard-native, persistent where it matters, and zero setup
Hit Cmd/Ctrl+P to open a fuzzy-search finder across every table, view, and function in the connected database. Navigate with arrow keys, select with Enter, dismiss with Escape. No mouse required.
Double-click any cell in browse mode to open an edit modal.
A pencil icon flips it into edit mode. Save sends an
UPDATE to the server using the row's
ctid as the row identifier, with no primary-key
assumption required.
ctid — works on any table,
key or no key
| id | role | status | |
|---|---|---|---|
| 1 | alice@example.com | admin | active |
| 2 | bob@example.com✏ | member | active |
| 3 | carol@example.com | admin | inactive |
| 4 | dave@example.com | viewer | active |
Both themes are built with CSS custom properties throughout
— the toggle is instant, no flicker, no page reload. Vim
keybindings plug into the Ace editor. Both preferences are
persisted in localStorage
and restored on next load.
Click any row to open a persistent detail panel on the right. Each field gets its own labeled slot — JSON values render formatted, timestamps stay readable, booleans show clearly. Star any table to pin it to your Favorites list for one-click access.
| id | code | name | active |
|---|---|---|---|
| 1 | 50 | SAB Bank | true |
| 2 | 15 | AlBilad | true |
| 3 | 80 | Al Rajhi | true |
| 4 | 30 | Arab Natl | true |
| 5 | 70 | Kuwait Fin | true |
Ctrl+H. Open the shortcuts reference with
?.
Minimal Docker base image ships nothing but the binary and embedded assets.
Full feature delta against upstream pgport.
| Feature | pgport | pgport |
|---|---|---|
| Query tabs | ✗ | ✓ |
| Command palette | ✗ | ✓ |
| Inline row editing | ✗ | ✓ |
| Add row UI | ✗ | ✓ |
| Row details sidebar | ✗ | ✓ |
| Favorites | ✗ | ✓ |
| Expandable schema browser | Basic | ✓ |
| JSON formatting | Limited | ✓ |
| Ace editor content view | ✗ | ✓ |
| SQL formatter + validation | ✗ | ✓ |
| SQL autocomplete (columns) | ✗ | ✓ |
| Connection sidebar | ✗ | ✓ |
| Query history search | ✗ | ✓ |
| Vim mode | ✗ | ✓ |
| Theme persistence | ✗ | ✓ |
| Keyboard-first navigation | Limited | ✓ |
| Docker image size | 224 MB | 25 MB |