frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: SQL-tap now has a browser-based Web UI

1•mickamy•1h ago
Hi HN, I shared sql-tap here a few weeks ago — a transparent SQL proxy that captures every query and lets you inspect it in real-time. Thanks for the feedback last time.

Two big additions:

*Built-in Web UI* — Add `--http=:8080` and open your browser. It's a zero-dependency vanilla JS SPA embedded in the binary — nothing extra to install or deploy. Features:

- Real-time query stream via SSE - SQL syntax highlighting - Click to inspect details, run EXPLAIN / EXPLAIN ANALYZE - Query statistics view with normalized grouping (count, errors, avg/total duration) - Structured filter (`d>100ms`, `op:select`, `error`) - Transaction grouping (collapsible) - Slow query colorization - Pause / Clear controls - Export captured queries as JSON or Markdown - Copy query with bound args - N+1 detection (toast notification + row highlight)

*N+1 query detection* — sql-tap now automatically detects when the same SELECT template is executed 5+ times within 1 second (configurable). Both TUI and Web UI show flagged queries in real-time — every query in the pattern is marked, not just the first one. Thresholds, time window, and alert cooldown are all tunable via CLI flags. `--nplus1-threshold=0` to disable.

Other updates since v0.0.1:

*TUI improvements* - Structured filter mode (`f`): `d>100ms`, `op:select`, `error`, combinable with AND logic - Analytics view (`a`): aggregate queries by template, sort by total/count/avg duration - Export to file (`w`): save captured queries as JSON or Markdown - Copy with bound args (`C`): substitutes `$1`/`?` placeholders with actual values - Sort by duration (`s`), half-page scrolling (`Ctrl+d`/`Ctrl+u`) - Alert overlay for copy/export operations

*Database support* - TiDB support (`--driver=tidb`) - MySQL 9 compatibility - Fixed PostgreSQL binary parameter decoding (UUIDs, etc.)

The proxy works the same way: point your app at sql-tapd instead of your database, no code changes needed. It parses the native wire protocol to capture queries, prepared statements, transactions, and errors transparently.

Written in Go, single binary, install via Homebrew (`brew install --cask mickamy/tap/sql-tap`) or `go install`. This is a solo side project — if you find it useful, a star on GitHub would mean a lot.

Ask HN: How to exhaustively search the scientific literature?

1•cossatot•41s ago•0 comments

Gas Town, OpenClaw and the rise of open source AI agents

https://www.axios.com/2026/02/24/agents-openclaw-moltbook-gastown
1•msolujic•1m ago•0 comments

Show HN: Sift – Score your feed locally with EmbeddingGemma

https://github.com/shreyaskarnik/Sift
1•shreyask•3m ago•0 comments

Show HN: SC Screen Recorder: a browser-based screen recorder with added layers

https://kaliedarik.github.io/sc-screen-recorder/
1•rikroots•3m ago•0 comments

Asteroids that didn't hit Earth

https://www.datawrapper.de/blog/asteroids-detection
1•speckx•3m ago•0 comments

Amazon Dominated by Top Sellers

https://trendslates.substack.com/p/amazons-extreme-concentration-ace
1•faderisimo•5m ago•0 comments

Show HN: Cadre – Agent framework for Claude Code with persistent memory

https://github.com/WeberG619/cadre-ai
1•WeberG619•5m ago•1 comments

Anthropic touts new AI tools weeks after legal plug-in spurred market rout

https://www.reuters.com/business/finance/anthropic-touts-new-ai-tools-weeks-after-legal-plug-in-s...
3•billybuckwheat•5m ago•0 comments

Getting Global Age Assurance Right: What We Got Wrong and What's Changing

https://discord.com/blog/getting-global-age-assurance-right-what-we-got-wrong-and-whats-changing
2•meetpateltech•6m ago•0 comments

Liquid Software: Why mid-sized companies should build, not buy

https://zeitraum.blog/en/post/019c8bc9-537a-759e-8559-fa3f9273020d
1•gurkenkoenig•6m ago•1 comments

What I've learned from shipping 25 mobile apps

https://newsletter.masilotti.com/p/what-ive-learned-from-shipping-25
1•joemasilotti•7m ago•0 comments

Private Credit Funds Face Pressure as Weinstein Flags Blue Owl Turmoil

https://www.bloomberg.com/news/articles/2026-02-24/boaz-weinstein-warns-wheels-coming-off-private...
1•petethomas•7m ago•0 comments

Scheduling in a Bare-Metal Web Server

https://thasso.xyz/scheduling.html
2•todsacerdoti•8m ago•0 comments

Show HN: Log Voyager 2.0 – Analyze 10GB+ log files in the browser

https://www.logvoyager.cc
1•murzynalbinos•9m ago•0 comments

Why it's hard to claw the enterprise

https://mercurialsolo.github.io/posts/request-for-agent-infra/
1•mercurialsolo•10m ago•0 comments

I built an app and bunch of widgets to visualize time

https://apps.apple.com/us/app/pondero/id6758339557
1•pondero_app•10m ago•0 comments

S-term: a little E Ink SSH terminal and notepad

https://saah.as/projects/s-term
1•suputra•11m ago•0 comments

Show HN: Open-next-router (ONR) – An Nginx-inspired, config-driven LLM router

https://github.com/r9s-ai/open-next-router
1•song2025•11m ago•0 comments

Xbox Co-Founder Thinks Microsoft Is 'Sunsetting' the Platform

https://www.pcmag.com/news/xbox-co-founder-thinks-microsoft-will-sunset-xbox
1•salkahfi•12m ago•0 comments

Apache NetBeans 29 Released

https://netbeans.apache.org/front/main/download/nb29/
1•birdculture•15m ago•0 comments

Boogiebench: Evaluating models' ability to write music

https://www.boogiebench.com
1•tintinnabula•15m ago•0 comments

NPR Finds 53 Missing 'Trump' Pages – The DOJ Has No Explanation

https://www.mediaite.com/opinion/epstein-files-npr-finds-53-missing-trump-pages-the-doj-has-no-ex...
7•Betelbuddy•16m ago•1 comments

The Rejection of Artificially Generated Slop (Rags)

https://406.fail/
1•signa11•16m ago•0 comments

Show HN: GhostVM – native macOS VMs for secure dev and isolated agent workflows

https://github.com/groundwater/GhostVM
1•JacobDivbyzero•17m ago•0 comments

The paradox of Bangladesh's democratic rebirth

https://globalvoices.org/2026/02/14/the-paradox-of-bangladeshs-democratic-rebirth-a-critical-anal...
2•PaulHoule•18m ago•0 comments

Show HN: Idea Reality MCP – Pre-build reality check for AI coding agents

https://github.com/mnemox-ai/idea-reality-mcp
1•mnemoxai•18m ago•0 comments

Show HN: Tag Promptless on any GitHub PR/Issue to get updated user-facing docs

3•prithvi2206•18m ago•0 comments

Show HN: Emdash – Open-source agentic development environment

https://github.com/generalaction/emdash
2•onecommit•19m ago•0 comments

Pentagon, Musk's xAI reach agreement to use Grok in classified systems

https://www.aa.com.tr/en/americas/pentagon-musk-s-xai-reach-agreement-to-use-grok-in-classified-s...
1•Betelbuddy•19m ago•0 comments

Former Norwegian premier hospitalized after suicide attempt amid Epstein charges

https://www.aa.com.tr/en/europe/former-norwegian-premier-hospitalized-after-suicide-attempt-amid-...
2•Betelbuddy•22m ago•0 comments