cd /news/ai-tools/show-hn-dribble-an-open-source-ai-id… · home topics ai-tools article
[ARTICLE · art-44181] src=github.com ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Show HN: Dribble – an open-source AI IDE for databases

Dribble, an open-source AI-powered SQL IDE for databases, was released on Hacker News. The web-based tool integrates an AI data analyst using Claude Opus 4.8, SQL notebooks, schema browser, and persistent workspace, supporting Postgres with plans for more engines. It is built with Next.js, React, and TypeScript, and is available under the MIT License.

read3 min views1 publishedJun 30, 2026
Show HN: Dribble – an open-source AI IDE for databases
Image: source

An AI-powered, open-source SQL IDE for your databases.

Dribble is a web-based SQL IDE with a built-in AI data analyst. Connect to a Postgres database, browse its schema, run queries in a notebook, explore tables with sort/filter/pagination, and ask an AI agent questions about your data — all in one tabbed workspace that remembers where you left off.

AI data analyst— chat with an agent (Claude Opus 4.8) that inspects your schema, writes and runs read-only SQL, iterates on errors, and renders the final result set as a table.SQL notebooks— write and execute queries in a Monaco editor with syntax highlighting. Run withCmd/Ctrl + Enter

. Notebooks and their results are saved.Schema browser— navigate schemas and tables from a collapsible sidebar tree.** Table explorer**— browse table data with server-side pagination, column sorting, and a rawWHERE

-clause filter.Fast results grid— large result sets render in a virtualized data grid.** Persistent workspace**— open tabs, layout/panel sizes, the expanded tree, and cached query/chat results survive reloads (and follow you across browsers, since state is stored server-side).Smart connection lifecycle— database drivers are kept warm while in use and idle out when not, with the sidebar reflecting live connection status.** Flexible auth**— runs with no login at all for local use, or behind Google sign-in (with an email/domain allowlist) for multi-user deployments, where each person's connections, notebooks, and chats are private. Stored database credentials are encrypted at rest. Seedocs/authentication.md.Pluggable drivers— Postgres ships today; the driver registry is built to add more engines (MySQL, Snowflake, …).

Next.js 16 · React 19 · TypeScript · Tailwind CSS 4 · Monaco Editor · glide-data-grid · Zustand · Vercel AI SDK (@ai-sdk/anthropic

) · Postgres (pg

)

  • Node.js 20+
  • A Postgres database for storing app metadata (connections, notebooks, chat history). Any Postgres works — local, Neon, Supabase, Vercel Postgres, etc.
  • An Anthropic API keyfor the AI agent.
git clone <your-repo-url> dribble
cd dribble
npm install

Copy the example env file and fill in the values:

cp .env.example .env.local
DATABASE_URL=postgres://user:pass@host:5432/dribble

APP_SECRET=

ANTHROPIC_API_KEY=

That's all you need to run locally — with no auth configured, the app starts without a login screen and all data belongs to a single built-in user.

The required metadata tables are created automatically on first run.

To require login and keep each user's data private, configure Google OAuth — see docs/authentication.md for the full setup. In short, add to .env.local

:

AUTH_GOOGLE_ID=
AUTH_GOOGLE_SECRET=
AUTH_ALLOWED_EMAILS=you@example.com
AUTH_ALLOWED_DOMAIN=example.com

Register <origin>/api/auth/callback/google

as an authorized redirect URI on the Google OAuth client. Setting these enables the login screen automatically.

npm run dev

Open http://localhost:3000 (you're in directly when no auth is configured; otherwise sign in with Google), add a database connection, and start querying.

To build and run a production server:

npm run build
npm start

This project was written largely with the help of AI coding tools (Claude Code). All code has been reviewed before being committed, but you should review it yourself before relying on it in production.

Released under the MIT License.

── more in #ai-tools 4 stories · sorted by recency
── more on @dribble 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-dribble-an-o…] indexed:0 read:3min 2026-06-30 ·