Cosmo is a terminal user interface (TUI) that provides real-time visibility into PostgreSQL database health, query performance, lock contention, and WAL/MVCC internals. Built in Go.
Cosmo is a real-time terminal dashboard for PostgreSQL databases. It connects directly to your database and displays four live panels showing your database overview (size, connections, cache health), active queries with their execution time, WAL (write-ahead log) activity and vacuum statistics, and lock contention details. The program runs entirely in your terminal with a colorful, animated interface that auto-refreshes every two seconds. You can switch between panels using keyboard shortcuts and see health-based color coding that turns green for healthy metrics, amber for warnings, and red for critical issues. It's designed for developers and database administrators who want to understand what's happening inside their PostgreSQL database without opening a browser or external monitoring service.
How It Works
You find this tool online and learn it shows what's happening inside your PostgreSQL database, right in your terminal.
The tool displays four live panels showing your database overview, active queries, write activity, and any lock conflicts β all updating automatically.
You provide your database address and credentials, and Cosmo connects directly to read what's happening inside.
You run a simple command and watch a fun animated startup sequence as Cosmo boots up like a mission control center.
The dashboard appears with live data β you see your active connections, running queries with their timers, and your database health at a glance.
See your database name, size, connection usage, cache performance, and total transactions.
Watch which queries are running, their state, and how long they've been executing in real time.
See how fast your database is writing to its transaction log and when vacuuming last ran.
Identify which tables have locks and which processes are waiting for access.
Now you can see exactly what's happening inside your PostgreSQL database β no guessing, no browser, just clear live information in your terminal.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.