{"id":51390503,"url":"https://github.com/geek-fun/sqlkit","last_synced_at":"2026-07-03T23:03:19.222Z","repository":{"id":364915669,"uuid":"1136664895","full_name":"geek-fun/sqlkit","owner":"geek-fun","description":"Agentic SQL database manager for 40+ databases — PostgreSQL, MySQL, SQL Server, SQLite, DuckDB, ClickHouse, Oracle and more. Lightweight, privacy-first, AI-powered, cross-platform. Built with Tauri (Rust).","archived":false,"fork":false,"pushed_at":"2026-06-30T17:27:21.000Z","size":12044,"stargazers_count":2,"open_issues_count":7,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-30T18:18:24.139Z","etag":null,"topics":["bigquery","clickhouse","cockroachdb","cross-platform","database-gui","database-manager","databricks","db2","desktop-app","duckdb","mariadb","mysql","oracle","postgresql","snowflake","sql-client","sql-server","sqlite","tauri-app","trino"],"latest_commit_sha":null,"homepage":"https://www.geekfun.club/products/sqlkit/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geek-fun.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-18T05:25:01.000Z","updated_at":"2026-06-30T17:02:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/geek-fun/sqlkit","commit_stats":null,"previous_names":["geek-fun/sqlkit"],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/geek-fun/sqlkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geek-fun%2Fsqlkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geek-fun%2Fsqlkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geek-fun%2Fsqlkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geek-fun%2Fsqlkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geek-fun","download_url":"https://codeload.github.com/geek-fun/sqlkit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geek-fun%2Fsqlkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35104116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bigquery","clickhouse","cockroachdb","cross-platform","database-gui","database-manager","databricks","db2","desktop-app","duckdb","mariadb","mysql","oracle","postgresql","snowflake","sql-client","sql-server","sqlite","tauri-app","trino"],"created_at":"2026-07-03T23:03:16.366Z","updated_at":"2026-07-03T23:03:19.214Z","avatar_url":"https://github.com/geek-fun.png","language":"Rust","funding_links":["https://github.com/sponsors/geek-fun"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"app-icon.png\" width=\"120\" alt=\"SqlKit Logo\"/\u003e\n\n# SqlKit\n\n**Agentic cross-platform SQL database GUI client — your database agent for 70+ databases.**\n\n**Privacy-first. Your data, your keys. Open source.**\n\n[![Release](https://img.shields.io/github/v/release/geek-fun/sqlkit?color=orange\u0026label=release\u0026style=for-the-badge\u0026logo=github)](https://github.com/geek-fun/sqlkit/releases)\n[![Downloads](https://img.shields.io/github/downloads/geek-fun/sqlkit/total?color=orange\u0026style=for-the-badge\u0026logo=docusign)](https://github.com/geek-fun/sqlkit/releases)\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg?style=for-the-badge\u0026logo=apache)](LICENSE)\n[![Stars](https://img.shields.io/github/stars/geek-fun/sqlkit?style=for-the-badge\u0026logo=github)](https://github.com/geek-fun/sqlkit/stargazers)\n[![CI](https://github.com/geek-fun/sqlkit/actions/workflows/node.yml/badge.svg?style=for-the-badge)](https://github.com/geek-fun/sqlkit/actions/workflows/node.yml)\n\n\u003cp\u003e\n  \u003cimg src=\"https://img.shields.io/badge/macOS-000000?style=for-the-badge\u0026logo=apple\u0026logoColor=white\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Windows-0078D6?style=for-the-badge\u0026logo=windows\u0026logoColor=white\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Linux-FCC624?style=for-the-badge\u0026logo=linux\u0026logoColor=black\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Tauri-FFC131?style=for-the-badge\u0026logo=tauri\u0026logoColor=black\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Rust-000000?style=for-the-badge\u0026logo=rust\u0026logoColor=white\"/\u003e\n\u003c/p\u003e\n\n[Download](https://www.geekfun.club/download) · [Docs](docs/DISTRIBUTION.md) · [Website](https://www.geekfun.club) · [Releases](https://github.com/geek-fun/sqlkit/releases)\n\nEnglish · [简体中文](README_zh.md)\n\n\u003c/div\u003e\n\n---\n\nSqlKit is an **agentic database client** — it doesn't just execute SQL, it understands your databases and acts on your behalf. Describe what you need in natural language and the agent writes queries, inspects schemas, optimizes SQL, and returns results. Built on Tauri (Rust), not Electron, it replaces heavyweight clients like DBeaver, Navicat, and DataGrip with a single native desktop app.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/images/sqlkit-client-ui.png\" width=\"800\" alt=\"SqlKit Client UI\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/PostgreSQL-4169E1?logo=postgresql\u0026logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/MySQL-4479A1?logo=mysql\u0026logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Oracle-F80000?logo=oracle\u0026logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/SQL%20Server-CC2927?logo=microsoftsqlserver\u0026logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/SQLite-003B57?logo=sqlite\u0026logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/DuckDB-FFF000?logo=duckdb\u0026logoColor=black\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/ClickHouse-FFCC01?logo=clickhouse\u0026logoColor=black\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Firebird-E5402B?logo=firebird\u0026logoColor=white\" /\u003e\n  \u003cbr/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/MariaDB-003545?logo=mariadb\u0026logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/CockroachDB-6933FF?logo=cockroachlabs\u0026logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Snowflake-29B5E8?logo=snowflake\u0026logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/DB2-052FAD?logo=ibm\u0026logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/H2-004080?logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Trino-DD00A1?logo=trino\u0026logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Redshift-8C4FFF?logo=amazonredshift\u0026logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Teradata-F37440?logo=teradata\u0026logoColor=white\" /\u003e\n  \u003cbr/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/TiDB-DC150B?logo=tidb\u0026logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/OceanBase-006AFF?logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/OpenGauss-0052CC?logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Doris-0052CC?logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/StarRocks-5C2D91?logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/TimescaleDB-F2F2F2?logo=timescale\u0026logoColor=black\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Hive-FDEE21?logo=apachehive\u0026logoColor=black\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Databricks-FF3621?logo=databricks\u0026logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/BigQuery-669DF6?logo=googlebigquery\u0026logoColor=white\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/and%20more...-555555?logoColor=white\" /\u003e\n\u003c/p\u003e\n\n## Installation\n\n\u003ca href=\"https://www.geekfun.club/download\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://img.shields.io/badge/Download-macOS_|_Windows_|_Linux-orange?style=for-the-badge\u0026logo=download\u0026logoColor=white\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Download-macOS_|_Windows_|_Linux-orange?style=for-the-badge\u0026logo=download\u0026logoColor=white\" alt=\"Download\"\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\u0026nbsp;\n\u003ca href=\"https://github.com/geek-fun/sqlkit/releases\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Releases-GitHub-lightgrey?style=for-the-badge\u0026logo=github\" alt=\"Releases\"\u003e\n\u003c/a\u003e\n\u0026nbsp;\n\u003ca href=\"https://www.geekfun.club/products/sqlkit/\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Website-geekfun.club-blue?style=for-the-badge\u0026logo=google-chrome\u0026logoColor=white\" alt=\"Website\"\u003e\n\u003c/a\u003e\n\n## Features\n\n### Agentic Data Studio\n\nDescribe what you need in natural language — the agent reads your schema, writes queries, optimizes slow SQL, explains execution plans visually, and fixes errors on the spot. Supports OpenAI, Anthropic, DeepSeek, and Ollama. Bring your own key.\n\n- **AI query generation** — natural language to SQL with schema-aware context\n- **SQL optimization** — rewrite slow queries and visualize execution plans\n- **Error fixing** — agent diagnoses and fixes SQL errors automatically\n- **Safety** — destructive operations require confirmation; credentials never exposed to the LLM\n\n### Lightweight \u0026 Native Performance\n\nBuilt with Rust + Tauri v2 — no Electron, no JRE, no bundled Chromium. Ships as a small native binary with native performance across macOS, Windows, and Linux. What other apps need a Java runtime or a JetBrains license for, SqlKit does in a single download.\n\n### All Your Databases, One App\n\nSqlKit supports **70+ databases** across four adapter strategies:\n\n| Strategy | Databases |\n|----------|-----------|\n| **Native** (Rust) | PostgreSQL, MySQL, SQL Server, SQLite |\n| **PG-wire compat** | CockroachDB, Redshift, YugabyteDB, TimescaleDB, QuestDB, Vastbase, YashanDB, KingbaseES, GaussDB, HighGo, UXDB, OpenGauss, GBase8c, Greenplum, EnterpriseDB, CrateDB, Materialize, AlloyDB, CloudSQLPG, FujitsuPG |\n| **MySQL-wire compat** | MariaDB, TiDB, OceanBase, TDSQL, PolarDB, Doris, SelectDB, StarRocks, Databend, GoldenDB, ManticoreSearch, SingleStore, CloudSQLMySQL |\n| **JDBC bridge** | Oracle, DuckDB, Firebird, DB2, H2, Snowflake, TDengine, Derby, Hive, Databricks, Hana, Teradata, Vertica, Exasol, BigQuery, Informix, Kylin, Cassandra, Iris, Access, Dameng, XuguDB, GBase8a |\n| **HTTP bridge** | ClickHouse, Trino, Presto, RQLite, Turso |\n\n### Product-Grade Editor\n\nPowered by Monaco (VS Code engine) with full SQL syntax highlighting, autocomplete, and multi-tab support. Browse schemas visually, inspect DDL, and search objects across databases.\n\n- **Monaco Editor** — VS Code-grade SQL editing with syntax highlighting and autocomplete\n- **Multi-tab** — work on multiple queries simultaneously with tab management\n- **Schema Browser** — tree view of databases, schemas, tables, columns, indexes\n- **Query history** — auto-saved, searchable, replayable\n- **Results grid** — paginated, sortable, with inline editing and CSV/JSON/Markdown export\n- **DDL viewer** — view CREATE statements for any object\n- **Object search** — quickly find tables, views, and procedures across schemas\n\n### Large Data Transfer\n\nMove data between any supported engines — PostgreSQL to ClickHouse, Oracle to SQL Server, or MySQL to BigQuery. No intermediate files required.\n\n- **Cross-engine transfer** — migrate data between different database types with automatic type mapping\n- **Import / Export** — CSV, JSON, JSONL formats\n- **Bulk operations** — handle millions of records with batch processing\n\n### Security \u0026 Connectivity\n\n- **SSH Tunnel** — connect through SSH with key or password authentication\n- **Encrypted storage** — credentials secured by OS keychain (macOS Keychain, Windows Credential Manager, Linux Secret Service)\n- **SSL/TLS** — encrypted connections to supported databases\n- **Auto-reconnect** — resilient connection handling\n\n### Cross-Platform\n\n- **macOS** (Apple Silicon \u0026 Intel) — native `.dmg` installer\n- **Windows** — `.exe` installer\n- **Linux** — `.AppImage` and `.deb` packages\n\n## Development\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org/) \u003e= 18\n- [Rust toolchain](https://www.rust-lang.org/tools/install)\n\n**Linux (Ubuntu/Debian):**\n\n```bash\nsudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev libssl-dev\n```\n\n**macOS:**\n\n```bash\nxcode-select --install\n```\n\n**Windows:** Install [Microsoft C++ Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/)\n\n### Quick Start\n\n```bash\nnpm install\nnpm run tauri dev\n```\n\n### Scripts\n\n| Command | Description |\n|---------|-------------|\n| `npm run dev` | Start Vite dev server |\n| `npm run build` | Build frontend for production |\n| `npm run lint:check` | Run ESLint |\n| `npm run lint:fix` | Auto-fix lint issues |\n| `npm test` | Run frontend tests |\n| `npm run tauri dev` | Start Tauri development |\n| `npm run tauri build` | Build Tauri application |\n\n### Build Instructions\n\nSee [BUILD.md](BUILD.md) for detailed platform-specific build requirements and troubleshooting.\n\n## Tech Stack\n\n| Layer | Technology |\n|-------|------------|\n| Framework | [Tauri v2](https://tauri.app/) (Rust) |\n| Frontend | [Vue 3](https://vuejs.org/) + [TypeScript](https://www.typescriptlang.org/) |\n| UI | [shadcn-vue](https://www.shadcn-vue.com/) + [UnoCSS](https://unocss.dev/) |\n| Editor | [Monaco Editor](https://microsoft.github.io/monaco-editor/) |\n| Database | [sqlx](https://github.com/launchbadge/sqlx) + engine-specific drivers |\n\n## FAQ\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eIs SqlKit free?\u003c/strong\u003e\u003c/summary\u003e\nYes. SqlKit is open source under the Apache 2.0 license. All features are free.\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eDoes SqlKit phone home?\u003c/strong\u003e\u003c/summary\u003e\nNo. SqlKit does not collect telemetry. The auto-update feature checks GitHub Releases for new versions — you can disable it in settings. Your credentials and queries stay on your machine.\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eCan I use SqlKit without an internet connection?\u003c/strong\u003e\u003c/summary\u003e\nYes. The desktop app works fully offline. AI features require network access to the model endpoint (or a local model via Ollama).\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eHow is SqlKit different from DBeaver / TablePlus / DataGrip?\u003c/strong\u003e\u003c/summary\u003e\nSqlKit is a native Tauri app (Rust) — no Java JRE, no Electron overhead. It includes AI natively (not as a plugin), supports 70+ databases, and runs on macOS, Windows, and Linux from a single binary. Privacy-first with encrypted local credential storage.\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eWhat databases are supported?\u003c/strong\u003e\u003c/summary\u003e\nPostgreSQL, MySQL, Oracle, SQL Server, SQLite, DuckDB, ClickHouse, Firebird, MariaDB, CockroachDB, TiDB, OceanBase, Snowflake, DB2, H2, Trino, Greenplum, CrateDB, SingleStore, and 60+ more. See the \u003ca href=\"#multi-database-support\"\u003eMulti-Database Support\u003c/a\u003e section for the full list.\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eHow do I report a bug or request a feature?\u003c/strong\u003e\u003c/summary\u003e\nOpen an issue on \u003ca href=\"https://github.com/geek-fun/sqlkit/issues\"\u003eGitHub Issues\u003c/a\u003e.\n\u003c/details\u003e\n\n## Community\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/images/wechat_group.jpg\" width=\"140\" alt=\"WeChat Group\"\u003e\n  \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003cimg src=\"docs/images/wechat_official.png\" width=\"140\" alt=\"WeChat Official Account\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://discord.gg/5NSUyPK2E\"\u003e\u003cimg src=\"https://img.shields.io/badge/Discord-Join-5865F2?logo=discord\u0026logoColor=white\u0026style=for-the-badge\" alt=\"Discord\" /\u003e\u003c/a\u003e\n  \u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"https://x.com/geekfun_club\"\u003e\u003cimg src=\"https://img.shields.io/badge/X-Follow-000000?logo=x\u0026logoColor=white\u0026style=for-the-badge\" alt=\"X / Twitter\" /\u003e\u003c/a\u003e\n  \u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"https://www.youtube.com/@geekfun-club\"\u003e\u003cimg src=\"https://img.shields.io/badge/YouTube-Subscribe-FF0000?logo=youtube\u0026logoColor=white\u0026style=for-the-badge\" alt=\"YouTube\" /\u003e\u003c/a\u003e\n  \u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"https://github.com/geek-fun\"\u003e\u003cimg src=\"https://img.shields.io/badge/GitHub-Follow-181717?logo=github\u0026logoColor=white\u0026style=for-the-badge\" alt=\"GitHub\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Sponsor\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/images/wechat_ponsor.jpg\" width=\"140\" alt=\"WeChat Sponsor QR\"\u003e\n  \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"https://github.com/sponsors/geek-fun\"\u003e\u003cimg src=\"https://img.shields.io/badge/GitHub_Sponsors-%E2%9D%A4_Support-EA4AAA?logo=githubsponsors\u0026logoColor=white\u0026style=for-the-badge\" alt=\"GitHub Sponsors\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Star History\n\n\u003ca href=\"https://www.star-history.com/?repos=geek-fun%2Fsqlkit\u0026type=date\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/chart?repos=geek-fun/sqlkit\u0026type=date\u0026theme=dark\" /\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/chart?repos=geek-fun/sqlkit\u0026type=date\" /\u003e\n    \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/chart?repos=geek-fun/sqlkit\u0026type=date\" /\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\n## License\n\n[Apache 2.0](LICENSE) © GEEKFUN\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeek-fun%2Fsqlkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeek-fun%2Fsqlkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeek-fun%2Fsqlkit/lists"}