←back to thread

103 points nicktikhonov | 1 comments | | HN request time: 0.213s | 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.

Show context
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 #
stephancill ◴[] No.44329234[source]
just opened a PR for local llm support https://github.com/NickTikhonov/snap-ql/pull/11
replies(1): >>44329461 #
1. nicktikhonov ◴[] No.44329461[source]
Merged! Thanks Stephan