{"repo":"mujib77/cosmo","free":true,"listed":false,"github":"https://github.com/mujib77/cosmo","clone":"git clone https://github.com/mujib77/cosmo.git","description":"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.","language":"Go","stars":54,"topics":["bubbletea","golang","lipgloss","pgx-v5","postgresql","terminal","tui"],"license":"MIT","category":"cli-tools","readme_excerpt":"COSMO A PostgreSQL flight deck for your terminal Live workload, WAL, MVCC, cache, connections, and lock contention without leaving the shell. --- What is Cosmo? Most developers use PostgreSQL every day without actually knowing what's happening inside it. Cosmo fixes that. It connects directly to your Postgres database and gives you a live view of everything — active queries, WAL activity, connection health, lock contention — all updating in real time, right in your terminal. No browser. No external service. No configuration beyond a database URL. Just run it and watch your database breathe. --- Flight Deck Database vitals - connection load and idle sessions - cache efficiency with health-aware status - database size, version, uptime, and transaction count - rolling connection and cache sparklines Workload - active session count and trend - PID, state, duration, and normalized query text - fast visual distinction between active, idle, and idle-in-transaction sessions WAL + MVCC - real-time WAL throughput and recent trend - current WAL LSN - live and dead tuple counts from pg stat user tables - table bloat signal and last autovacuum Contention - waiting and granted locks - lock type, table, PID, wait event, and query - clear system state when no lock pressure exists Interface - animated telemetry boot sequence - responsive four-panel and compact single-panel layouts - numbered panel navigation and visible keyboard hints - active-panel focus treatment - manual refresh plus sync ","default_branch":null,"files":null,"tree":[],"storefront":"/r/mujib77","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mujib77/cosmo/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}