# mickamy/sql-tap

Watch SQL traffic in real-time with a TUI

Repository: https://github.com/mickamy/sql-tap
Canonical: https://ross.abutalabs.com/products/sql-tap
Language: Go
License: MIT
License Family: permissive
Last push: 2026-07-07T23:36:14+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 91, release rhythm 92, longevity 14
- inputs: {"age_days": 201, "days_push": 57, "days_rel": 57, "gap_med": 0, "n_releases_24m": 24}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1587, forks 49 (observed 2026-08-28T04:05:07.832473+00:00)

## What it is
sql-tap is a real-time SQL traffic viewer consisting of a proxy daemon (sql-tapd) and a TUI/Web client. It sits between an application and its PostgreSQL, MySQL, or TiDB database, capturing every query over the native wire protocol without code changes.

## Use cases
- watch SQL queries in real time from my app
- debug slow or unexpected database queries without changing code
- inspect transactions flowing to PostgreSQL or MySQL
- run EXPLAIN on captured queries
- tap database traffic in development via a proxy sidecar
- view live SQL traffic in a terminal UI

## When to choose
- you need to see live SQL queries from an app you can't or don't want to instrument
- you use PostgreSQL, MySQL, or TiDB and want a lightweight terminal-based query viewer
- you want to inspect transactions and run EXPLAIN from a TUI

## When to avoid
- you need deep performance profiling or APM-style metrics rather than query viewing
- you use a database other than PostgreSQL, MySQL, or TiDB
- you need persistent query logging or long-term analytics storage

## Facets
- artifact type: cli-tool
- maturity: active
- function: database, monitoring, proxy, developer-tools, terminal-ui
- domain: databases, developer-tools, monitoring
- platform: windows, go, cli, cross-platform
- tags: sql-proxy, query-inspection, tui, database-debugging, wire-protocol, postgres, mysql, tidb, explain, command-line, linux, macos, docker

## Member repositories
- mickamy/sql-tap (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:07.832473+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-30T03:55:26.087412+00:00, confidence not recorded.
  - readme: https://github.com/mickamy/sql-tap (fetched 2026-08-28T04:05:07.832473+00:00, sha a566eb0a8949)
- Data as of 2026-08-30T08:39:29.467469+00:00.
