xo/usql

Universal command-line interface for SQL databases

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 50 minutes ago
Added to GitGenius on September 6th, 2026
Created on March 2nd, 2017
Open Issues & Pull Requests: 119 (+0)
GitHub issues: Enabled
Number of forks: 403
Total Stargazers: 10,099 (+0)
Total Subscribers: 117 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 4.0 hours
Mean response time: 23.1 days
90th percentile: 61.6 days
Tracked items: 66

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 97% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 9% of issues opened in the past year have been closed. Three people close 80% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 38
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 584 days
Stale 30+ days: 37
Stale 90+ days: 34

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (1)
  • help wanted (1)
  • idea (1)
  • post-1.0 (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

usql is a universal command-line interface for SQL databases that provides a unified way to interact with PostgreSQL, MySQL, Oracle Database, SQLite3, Microsoft SQL Server, and many other databases including NoSQL systems.

The tool solves the problem of having to learn different command-line clients for each database system. It works by providing a psql-inspired interface that works across multiple database types, allowing users familiar with PostgreSQL's command-line tool to apply that knowledge to other databases. The tool supports core psql features including variables, backticks, and backslash commands, while adding capabilities that psql lacks such as multiple database support, copying data between databases, syntax highlighting, context-based completion, and terminal graphics.

Database administrators and developers who prefer psql-style workflows but need to work with non-PostgreSQL databases will find this tool intuitive and easier than learning each database's native client. It suits teams managing multiple database systems who want a consistent interface across them. The tool includes base drivers for PostgreSQL, MySQL, SQLite3, Microsoft SQL Server, and Oracle by default, with additional databases available through build tags, and ODBC database support available through an install flag.

The project maintains an official container image for Docker and other container runtimes. Installation is available through multiple channels including release downloads, Homebrew, AUR, Scoop, Go's package manager, and Docker. The codebase is written in Go and uses a modular build system where database drivers can be selectively included or excluded at compile time.