A TUI (Text User Interface) application for monitoring PostgreSQL databases, inspired by Dolphie (for MySQL).
- Connection Setup: Connect to PostgreSQL with host, port, user, password, database.
- Dashboard: Display PostgreSQL version, active connections, and list of databases.
- Process List: Show active queries from pg_stat_activity.
- Clone the repository.
- Ensure Go 1.19+ is installed.
- Run
go mod tidyto download dependencies. - Build with
go build.
Create a config.yaml file in the current directory or $HOME/.config/dumbo/config.yaml with:
host: localhost
port: 5432
user: postgres
password: yourpassword
dbname: postgresDefaults are provided if no config is found.
Run ./dumbo and the connection form will be pre-filled with config values (or defaults).
- Use Tab to navigate fields, Enter to connect.
- Once connected, Tab to switch between Dashboard and Processlist.
- Press R to refresh data, Q to quit.
- Add more monitoring panels (e.g., replication status, locks, performance metrics).
- Graphs and real-time updates.
- Configuration files and credential management.
- Support for multiple connections/tabs.
Contributions welcome! This is an alpha version, so expect bugs and incomplete features.