Skip to content

fezcode/atlas.sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atlas SQL

Banner Image

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.

Go Version Platform

✨ Features

  • 🗄️ 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.

🚀 Installation

From Source

git clone https://github.com/fezcode/atlas.sql
cd atlas.sql
go build -o atlas.sql .

⌨️ Usage

SQLite

./atlas.sql sqlite://relative/path/to/db.sqlite
./atlas.sql sqlite:///absolute/path/to/db.sqlite

PostgreSQL

./atlas.sql "postgres://user:password@localhost:5432/dbname?sslmode=disable"

🕹️ Controls

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

🏗️ Building for all platforms

The project uses gobake to generate binaries for all platforms:

gobake build

Binaries will be placed in the build/ directory.

📄 License

MIT License - see LICENSE for details.

About

Terminal-based SQL client for SQLite and PostgreSQL. Featuring interactive tables with horizontal/vertical scrolling, detail inspection for long records, quick CSV export, and a built-in SQL tutorial. Part of the Atlas Suite.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages