mickamy

mickamy / sql-tap

Public

Watch SQL traffic in real-time with a TUI

1,261
37
100% credibility
Found Feb 17, 2026 at 869 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

sql-tap is a real-time viewer for SQL queries that transparently intercepts traffic between applications and PostgreSQL, MySQL, or TiDB databases, displaying it in an interactive terminal interface for inspection and analysis.

How It Works

1
🔍 Discover sql-tap

You learn about a simple tool that lets you watch every question your app asks the database, live in your terminal.

2
📦 Install easily

Download and set it up with one quick command, like adding a new app to your computer.

3
🔌 Start the quiet watcher

Run a tiny background helper that sits between your app and database, catching all activity without touching your code—just point your app to it instead.

4
🖥️ Open the live viewer

Launch the colorful screen in your terminal and see queries streaming in real-time, like watching traffic flow.

5
🔎 Explore and analyze

Click on any query to zoom in, check timings, copy it, or even run a plan to see why it's slow.

🚀 Unlock database insights

Now you spot bottlenecks, understand your app's behavior, and make everything run smoother and faster.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 869 to 1,261 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is sql-tap?

sql-tap is a Go-based real-time SQL traffic monitor that proxies PostgreSQL, MySQL, or TiDB connections, capturing every query without app changes. Run the sql-tapd daemon to intercept traffic via native wire protocol, then launch the sql-tap TUI client to watch queries flow live, grouped by transactions. Perfect for sql watch open source fans or sqlwatch users practicing luyen tap sql and bai tap sql co ban.

Why is it gaining traction?

It stands out with a keyboard-driven TUI offering instant EXPLAIN/ANALYZE (even editable), analytics on query templates by count/total/avg duration, and one-key copy for queries or bound versions. No code instrumentation needed—just point your app at the proxy port. Multi-DB support and Docker-ready setups make it a quick win over log tailing or heavier tools like sql server backup to tape alternatives.

Who should use this?

Backend engineers debugging slow queries in production-like setups, DBAs monitoring app traffic without restarts, or devs running bai tap sql server and cac bai tap sql who want live feedback like sqlite watch for changes. Ideal for tap academy sql exercises or spotting N+1s during github watch repository spikes.

Verdict

Grab it via Homebrew or Go install—827 stars show real interest, with crisp docs and solid tests signaling quality. The 1.0% credibility score flags early maturity, so test in non-prod first, but it's already a sharp sql watch command for daily debugging.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.