# openhare **Repository Path**: sjjian/openhare ## Basic Information - **Project Name**: openhare - **Description**: openhare 是一款 AI 驱动的跨平台桌面 SQL 客户端,支持多数据库连接,适用于日常开发、数据分析与 DBA 管理等工作场景 - **Primary Language**: Dart - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: https://sjjian.github.io/openhare/ - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2025-07-28 - **Last Updated**: 2026-04-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: SQL, client, Query, MySQL, Postgresql ## README

logo

openhare 是一款 AI 驱动的跨平台桌面 SQL 客户端,支持多数据库连接,适用于日常开发、数据分析与 DBA 管理等工作场景。

GitHub Repo stars License GitHub all releases GitHub release (latest by date) macOS Windows Linux

openhare product screenshot

English | 简体中文

## 支持 1. [如何安装和更新应用程序](https://github.com/sjjian/openhare/discussions/75) ## 核心特性 - **AI 智能辅助**:帮助你编写、优化并理解 SQL 查询。 - **跨平台支持**:无缝运行于 Windows、macOS 和 Linux。 - **完全开源**:基于 [Apache License 2.0](./LICENSE) 开源,透明且社区驱动。 - **简洁直观的界面**:现代化 UI,聚焦效率与易用性。 - **多数据库支持**:轻松连接并管理多种 SQL 数据库。 ## 数据库 数据库驱动均在 [`pkg/db_driver/go_impl`](./pkg/db_driver/go_impl) 中实现,并由 Flutter 客户端通过 Dart FFI 调用。 | 图标 | 数据库 | Go 驱动 | | --- | --- | --- | | MySQL | MySQL | [go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) | | PostgreSQL | PostgreSQL | [jackc/pgx](https://github.com/jackc/pgx) | | SQL Server | SQL Server | [microsoft/go-mssqldb](https://github.com/microsoft/go-mssqldb) | | SQLite | SQLite | [mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) | | Oracle | Oracle | [sijms/go-ora](https://github.com/sijms/go-ora) | | MongoDB | MongoDB | [bytebase/gomongo](https://github.com/bytebase/gomongo), [mongodb/mongo-go-driver](https://github.com/mongodb/mongo-go-driver) | | Redis | Redis | [redis/go-redis](https://github.com/redis/go-redis) | **注:** MongoDB 语法以与 mongosh 兼容为目标;具体支持程度请参考 [gomongo](https://github.com/bytebase/gomongo)。 ## 技术框架 1. 应用层: [Flutter](https://flutter.dev/) 2. 状态管理: [Riverpod](https://riverpod.dev/), [GoRouter](https://pub.dev/packages/go_router) 3. UI: [SQL Editor](https://github.com/reqable/re-editor), [HugeIcons](https://github.com/hugeicons/hugeicons-flutter), [Window Manager](https://github.com/leanflutter/window_manager) 4. 存储: [ObjectBox](https://objectbox.io/) ## Star 历史 [![Star History Chart](https://api.star-history.com/svg?repos=sjjian/openhare&type=date&legend=top-left)](https://www.star-history.com/#sjjian/openhare&type=date&legend=top-left)