←back to thread

103 points nicktikhonov | 4 comments | | HN request time: 0.763s | source

SnapQL is an open-source desktop app (built with Electron) that lets you query your Postgres database using natural language. It’s schema-aware, so you don’t need to copy-paste your schema or write complex SQL by hand.

Everything runs locally — your OpenAI API key, your data, and your queries — so it's secure and private. Just connect your DB, describe what you want, and SnapQL writes and runs the SQL for you.

1. gabrielruttner ◴[] No.44329096[source]
This is nice -- we're heavy users of postgresql and haven't found the right tool here yet.

I could see this being incredible if it had a set of performance related queries or ran explain analyze and offered some interpreted results.

Can this be run fully locally with a local llm?

replies(2): >>44329109 #>>44329234 #
2. nicktikhonov ◴[] No.44329109[source]
Thank you for the feedback. Please feel free to raise some issues on the repo and we can jam this out there
3. stephancill ◴[] No.44329234[source]
just opened a PR for local llm support https://github.com/NickTikhonov/snap-ql/pull/11
replies(1): >>44329461 #
4. nicktikhonov ◴[] No.44329461[source]
Merged! Thanks Stephan