# tconbeer/harlequin

The SQL IDE for Your Terminal.

Repository: https://github.com/tconbeer/harlequin
Canonical: https://ross.abutalabs.com/products/harlequin
Homepage: https://harlequin.sh
Language: Python
License: MIT
License Family: permissive
Last push: 2026-08-26T21:22:26+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 87
- inputs: {"age_days": 1219, "days_push": 7, "days_rel": 8, "gap_med": 7, "n_releases_24m": 28}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6351, forks 168 (observed 2026-08-28T04:09:42.743959+00:00)

## What it is
Harlequin is a terminal-based SQL IDE built in Python with Textual, providing a TUI for querying and browsing databases. It supports many databases through installable adapter plug-ins.

## Use cases
- run sql queries from the terminal
- browse database tables in a tui
- query duckdb from the command line
- connect to postgres from terminal
- terminal sql editor with results viewer

## When to choose
- you want a full SQL IDE without leaving the terminal
- you need to query many different databases via adapters
- you prefer lightweight TUI tools over GUI clients

## When to avoid
- you need a graphical SQL client with charts or visual schema design
- you need a database GUI for a team with shared connections
- your database has no available adapter plug-in

## Facets
- artifact type: application
- maturity: active
- function: cli, database, editor, terminal-ui, plugin-system
- domain: databases, developer-tools
- platform: windows, python, cli
- tags: sql-ide, tui, textual, database-adapters, duckdb, command-line, linux, macos

## Member repositories
- tconbeer/harlequin (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:42.743959+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:46:06.580142+00:00, confidence not recorded.
  - readme: https://github.com/tconbeer/harlequin (fetched 2026-08-28T04:09:42.743959+00:00, sha 1e35ded4ab8b)
  - registry_pypi: https://pypi.org/pypi/harlequin/json (fetched 2026-08-29T08:42:53.047594+00:00, sha 9000cc07ed8c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
