CoQuery is a minimal vibe-coded SQL playground powered by SQLite WASM and Google Gemini
language models.
There is no backend, everything is in the webpage frontend.
It ships with two sample databases (Chinook and
AdventureWorks) and exposes simple actions:
- Execute – run the current SQL against the selected database.
- Explain – send the SQL to Gemini for a natural‑language explanation.
- NL2SQL – Ask Gemini to convert your natural language to SQL
You can try it out at https://arnabdotorg.github.io/coquery/
Open index.html in a browser. Supply your gemini_api_key in the text
box to enable the explain/decompose features. Queries are executed in
browser using the bundled SQLite databases from the data/ directory.
The interface uses CodeMirror for SQL editing and sql.js for the WASM
SQLite engine.
This is very much a quick initial experiment with a million extension possibilities. If you like working on this type of stuff, come work with me!