Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.15 KB

File metadata and controls

31 lines (21 loc) · 1.15 KB

coquery

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

Demo

You can try it out at https://arnabdotorg.github.io/coquery/

Running

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.

Future Work

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!

image