Rainfrog is a terminal TUI for querying Postgres, MySQL, SQLite, and other supported databases. It offers vim-like navigation, a highlighted query editor, and cross-platform binaries.
Overview
Rainfrog targets developers who want to inspect and run SQL against databases without leaving the terminal. Vim-inspired keys and mouse support guide movement through schemas, tables, and result sets.
A built-in query editor adds keyword highlighting, session history, and saved favorites. Shortcuts expose table metadata, filtering, schema switching, and quick copy of cell data.
Drivers are tiered by how actively they are tested, with Postgres in tier one and MySQL, SQLite, DuckDB, Redshift, and Oracle in lower tiers. Some engines share wire protocols with Postgres or MySQL drivers as noted in the documentation.
Install paths include cargo, Homebrew, distro packages, Docker for Postgres and MySQL, and release binaries. Configuration and keybindings live in a TOML file under platform-specific config directories.
Key features
- Vim-like keyboard navigation
- Syntax-highlighted query editor
- Query history and favorites
- Table metadata shortcuts
- Multiple database drivers
- Connection URL and env support
- Cross-platform distribution
- Docker run for Postgres and MySQL
Use cases
- Ad hoc SQL in remote shells
- Browsing schemas from a laptop
- Quick data inspection on servers
- Local development database checks
- Termux-based mobile database access