atlas.sql is a lightweight, keyboard-centric terminal user interface (TUI) for interacting with SQL databases. Part of the Atlas Suite, it provides a streamlined experience for running queries and visualizing results directly in your terminal.
- 🗄️ Multi-Engine Support: Seamlessly connect to SQLite and PostgreSQL.
- 🌈 Syntax Highlighting: Write and view queries with real-time SQL syntax highlighting.
- 📊 Interactive Tables: Browse query results in a clean, scrollable table view.
- ⌨️ Vim Bindings: Navigate query history and results without leaving the keyboard.
- 💾 Local First: Lightweight and fast, perfect for quick data exploration.
- 📦 Cross-Platform: Binaries available for Windows, Linux, and macOS.
git clone https://github.com/fezcode/atlas.sql
cd atlas.sql
go build -o atlas.sql ../atlas.sql sqlite://relative/path/to/db.sqlite
./atlas.sql sqlite:///absolute/path/to/db.sqlite./atlas.sql "postgres://user:password@localhost:5432/dbname?sslmode=disable"| Key | Action |
|---|---|
Enter |
Execute SQL query |
↑/↓ or k/j |
Navigate query results (Table mode) |
Tab |
Switch between Query Input and Table Result |
Ctrl+C |
Quit |
Esc |
Clear Input / Exit focus |
The project uses gobake to generate binaries for all platforms:
gobake buildBinaries will be placed in the build/ directory.
MIT License - see LICENSE for details.
