r/postgres • u/Remarkable_Young9971 • 15d ago
Tools I spent months building a lightweight Postgres client for Mac because I was tired of heavy ones
I got tired of heavy, slow database clients, so I spent the last few months building LithePG, a lightweight Mac-native PostgreSQL client. It's pure Swift, the app is around 15 MiB and it's open source (MIT).
Some highlights:
- Schema graph: an Obsidian-style view of your database, with tables as nodes and foreign keys as links. Click a table to see its columns and types.
- On-device AI: "Ask in English" turns a plain request into SQL using Apple's on-device model. It only drafts read-only queries, drops them in the editor for you to review and never runs them. Your prompts and data never leave your Mac. (Needs macOS 26 with Apple Intelligence.)
- Safe edits: edit cells in place and review the exact UPDATE before it runs. It won't overwrite a row someone else changed.
- EXPLAIN as a tree: the plan shows as a tree, with the costliest node flagged.
- Connections: passwords live in the Keychain, Production connections get a warning banner and pasted connection strings (Neon, psql) just work.
Install with brew install --cask omarpr/tap/lithepg or grab it at https://www.lithepg.app
Would love feedback, especially on what's missing from your daily workflow.
0
Upvotes
1
u/RajeshRocketMan 15d ago
Dropped the heavy Java DB clients a while ago, they eat RAM and lag even on simple queries. A native Swift app at around 15 MiB is such a relief day to day. Seeing the EXPLAIN plan as a tree makes bottlenecks obvious without digging through text. And catching conflicting row edits before commit is great for prod safety. Does it support SSH tunnels for remote setups?