xo/usql

Universal command-line interface for SQL databases

View on GitHub ↗Jump to charts ↓Open shareable report →

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 47 minutes ago
Added to GitGenius on September 6th, 2026
Created on March 2nd, 2017
Open Issues & Pull Requests: 60 (+0)
GitHub issues: Enabled
Number of forks: 406
Total Stargazers: 10,136 (+0)
Total Subscribers: 116 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 14.9 hours
Mean response time: 296.9 days
90th percentile: 2071.6 days
Tracked items: 110

Maintainer activity

1 person did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 11, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits.

How this project is maintained

76% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 89% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 34
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,150 days
Stale 30+ days: 11
Stale 90+ days: 10

Recent activity

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

Top labels

  • enhancement (24)
  • help wanted (22)
  • psql compat (14)
  • readline (14)
  • roadmap (7)
  • idea (5)
  • post-1.0 (4)
  • bug (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

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.