Powered by Gemini 3.8 Live + Neon Postgres

Stop typing SQL. Start talking to your data.

Vocal Query is a voice assistant for your Postgres database. Ask a question out loud, Gemini writes the SQL, it runs on Neon, and the answer is spoken back to you.

No sign-up · Load a demo database in one click

1 tap

to start talking

6

SQL queries the app needs

100%

of queries saved to voice_log

0

SQL you need to type

How it works

Four steps from voice to answer.

No query editor, no syntax. You talk, the app does the SQL.

01

Speak

Tap the orb and ask in plain English. Your mic audio streams straight to Gemini Live.

"Which city has the most customers?"
02

Gemini writes SQL

Gemini sees your table and column names and calls a run_sql tool with a query.

SELECT city, COUNT(*) ...
03

You confirm changes

SELECTs run right away. INSERT, UPDATE and DELETE wait for your yes first.

Delete 1 row? Yes / No
04

See + hear the answer

Rows appear in a table and the answer is spoken back. The query is saved to voice_log.

"Mumbai, with 3 customers."
Features

Everything a lab demo needs.

Small on purpose. Every feature below works today.

Voice in & out

Talk to your database and hear the answer back, powered by Gemini Live.

LIVE

Schema explorer

Browse every table, its columns, types and keys.

LIVE

Auto ER diagram

Relationships drawn from your foreign keys, no setup.

LIVE

Safe by default

SELECTs are read-only. Changes need your yes.

LIVE

Query log saved in Postgres

Every spoken command lands in the voice_log table.

LIVE

Upload your own .sql

Bring a dump file and start asking questions about it.

LIVE
Architecture

One small server in the middle.

The browser talks to Gemini directly for audio. Everything that touches the database goes through Express.

Browser micSpeech in, speech out
audio
Gemini 3.8 LiveWebSocket, one-time token
run_sql
Express /api/runSafety check on every query
pg pool
Neon PostgresPooled pg connection

Rows come back the same way, then Gemini turns them into a spoken answer.

Every query lives in sql/

No SQL is hidden inside JavaScript. Open the folder and read all of it.

00_drop_tables.sql 01_create_tables.sql 02_insert_sample_data.sql 03_create_log_table.sql app/list_columns.sql app/list_keys.sql app/log_insert.sql app/log_recent.sql

Talk to your database today.

Load the demo data and ask your first question in under a minute.