💡 摘要
OrcaQ 是一款跨平台桌面应用程序,用于管理和查询数据库,具有现代化界面。
🎯 适合人群
🤖 AI 吐槽: “一个数据库编辑器,几乎和你的 SQL 查询一样流畅——差不多。”
该应用程序可能存在未授权数据库访问和依赖性漏洞等风险。确保验证输入并定期更新依赖项以降低这些风险。
OrcaQ - Next Generation database editor
Orca Query
Overview
OrcaQ is a modern desktop application designed for managing, querying, and manipulating data across various database management systems (DBMS) in an intuitive, fast, and secure manner. Built with Electron, Vue 3, TypeScript, and Vite, it targets developers, data engineers, analysts, DBAs, or anyone who needs to work with SQL/PostgreSQL data on the desktop.
Features
- 🚀 Cross-platform Desktop App: Runs smoothly on Windows, macOS, and Linux thanks to Electron.
- 🖥️ Modern UI/UX: Minimalist interface with dark mode support, drag & drop, and flexible sidebar.
- ⚡ Quick Query: Fast data querying with preview, filtering, and dynamic field search.
- 📝 Raw SQL Editor: Write and execute SQL queries with multiple layout modes (vertical/horizontal).
- 🗂️ Explorer: Browse database structures, tables, schemas, and files.
- 🔒 Workspace & Connection Management: Manage multiple connections and independent workspaces.
- 🛠️ Hotkey Support: Supports shortcuts for faster operations.
- ⚙️ Electron Backend: Leverages Node.js, native modules, and OS integration.
Installation
Requirements
- Node.js >= 18.x
- pnpm or bun
- macOS, Windows, or Linux
Steps (Web setup)
-
Clone the repository:
git clone https://github.com/cin12211/orca-q.git cd orcaq -
Install dependencies:
bun install -
Run in development mode:
npm run nuxt:dev -
Build for production:
npm run nuxt:build
Steps (App setup)
-
Clone the repository:
git clone https://github.com/cin12211/orca-q.git cd orcaq -
Install dependencies:
bun install -
Run in development mode:
npm run dev -
Build for production:
npm run app:build
Note: Ensure you have the correct Node.js version and necessary dependencies installed to run Electron. See more at Electron Docs.
Usage
- Launch the app:
Runnpm run devto start the application in development mode. - Connect to a database:
Add a workspace, create a new connection, and enter DB details (PostgreSQL, etc.). - Quick Query:
Use the Quick Query tab to filter, search, and view table data. - SQL Editing:
Switch to the Raw Query tab to write and execute custom SQL queries. - Manage Layout:
Use the sidebar and hotkeys (Cmd+Shift+Bon Mac) to show/hide panels.
Contributing
We welcome all contributions!
-
Fork the repo and create a new branch:
git checkout -b feat/my-feature -
Follow commit conventions:
feat: ...Add a new featurefix: ...Fix a bugchore: ...Miscellaneous tasksdocs: ...Update documentationrefactor: ...Improve code without changing logic
-
Create a Pull Request:
Clearly describe changes and link to relevant issues (if any). -
Review & Merge:
The core team will review and provide feedback promptly.
See more: CONTRIBUTING.md
Roadmap
- [x] Quick Query UI/UX
- [x] Raw SQL Editor
- [x] Sidebar/Panel Layout
- [ ] Support for multiple DBMS (MySQL, SQLite, etc.)
- [ ] Plugin/Extension system
- [ ] Export/Import workspace
- [ ] Multi-language support (i18n)
- [ ] AI query assistant integration
Changelog
See details at CHANGELOG.md
- 1.0.4: Updated UI, fixed layout bugs, optimized user experience.
- 1.0.2: First public release.
Community / Contact
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: taccin03@gmail.com
License
This project is licensed under the MIT License.
Acknowledgements
- Electron - Build cross-platform desktop apps with JavaScript
- Vue 3 - Progressive JavaScript framework
- Vite - Next Generation Frontend Tooling
- TypeScript
- Zod - TypeScript-first schema validation
- @vueuse/core - Vue Composition API utilities
- Icon design: Figma Community
- Contributions from the open-source community
⭐ Stargazers
Many thanks to the kind individuals who leave a star. Your support is much appreciated!
Made with ❤️ by the OrcaQ team and open-source contributors.
优点
- 跨平台兼容性
- 现代化的用户界面/用户体验设计
- 快速的数据查询能力
- 支持多个数据库连接
缺点
- 对某些数据库管理系统的支持有限
- 依赖于 Node.js 和 Electron
- 处理大数据集时可能出现性能问题
- 需要安装额外的工具
相关技能
免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。
版权归原作者所有 cin12211.
