Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

querystudio/querystudio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

338 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QueryStudio

Lightweight, open-source SQL studio built with Tauri, Rust, and React.

What it does

  • Connects to PostgreSQL, MySQL, SQLite, Redis, and MongoDB
  • Lets you write and run queries in a modern editor
  • Includes an AI assistant (QueryBuddy) for natural language to SQL
  • Supports plugins (experimental)
  • Runs on macOS, Windows, and Linux

Stack

  • Frontend: React 19, Tailwind CSS 4, TanStack Router/Query, Zustand
  • Desktop backend: Rust with Tauri v2
  • Build/runtime: Bun, Vite
  • Web app: Nitro, Hono, Drizzle ORM, Better Auth

Setup

Prerequisites:

Desktop app:

bun install
bun run tauri dev

Web app:

cd web
bun install
bun run dev

Common commands

  • bun run dev - Start desktop Vite dev server
  • bun run tauri dev - Start Tauri desktop app
  • bun run tauri build - Build desktop app
  • bun run lint - Run oxlint
  • bun run fmt - Format with oxfmt

Settings File

QueryStudio persists app configuration in a single settings.json file in the Tauri AppConfig directory. Chat sessions are stored locally in chats/<chat-id>.json with metadata in chats/index.json in the same directory.

  • macOS: ~/Library/Application Support/<bundle-id>/settings.json
  • Windows: %AppData%\\<bundle-id>\\settings.json
  • Linux: ~/.config/<bundle-id>/settings.json

The file is created automatically on startup if missing. If the file is invalid JSON, QueryStudio backs it up and regenerates defaults.

Contributing

  1. Create a branch.
  2. Run bun run lint and bun run fmt.
  3. Open a pull request.

License

GNU AGPL v3

About

The open-source lightweight SQL-studio that you deserve. Built with Tauri + Rust + React

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Contributors

Languages