{"id":45981176,"url":"https://github.com/dorylab/dory","last_synced_at":"2026-04-07T12:00:27.260Z","repository":{"id":334747602,"uuid":"1131590355","full_name":"dorylab/dory","owner":"dorylab","description":"AI-native SQL workspace for modern databases. SQL Copilot, schema-aware editor, database chat, and operational tools in one place.","archived":false,"fork":false,"pushed_at":"2026-04-01T17:30:46.000Z","size":17434,"stargazers_count":44,"open_issues_count":10,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-02T06:28:49.531Z","etag":null,"topics":["ai","ai-copilot","clickhouse","clickhouse-ui","data-studio","database","database-client","database-gui","database-management","database-tools","developer-tools","mysql","nextjs","postgres","postgresql","query-editor","sql","sql-client","sql-editor"],"latest_commit_sha":null,"homepage":"https://github.com/dorylab/dory","language":"TypeScript","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/dorylab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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-10T10:11:46.000Z","updated_at":"2026-04-02T05:21:07.000Z","dependencies_parsed_at":"2026-04-02T01:05:32.547Z","dependency_job_id":null,"html_url":"https://github.com/dorylab/dory","commit_stats":null,"previous_names":["dorylab/dory"],"tags_count":77,"template":false,"template_full_name":null,"purl":"pkg:github/dorylab/dory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dorylab%2Fdory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dorylab%2Fdory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dorylab%2Fdory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dorylab%2Fdory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dorylab","download_url":"https://codeload.github.com/dorylab/dory/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dorylab%2Fdory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31511784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ai","ai-copilot","clickhouse","clickhouse-ui","data-studio","database","database-client","database-gui","database-management","database-tools","developer-tools","mysql","nextjs","postgres","postgresql","query-editor","sql","sql-client","sql-editor"],"created_at":"2026-02-28T18:02:41.274Z","updated_at":"2026-04-07T12:00:27.235Z","avatar_url":"https://github.com/dorylab.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./public/app.png\" alt=\"Dory Logo\" width=\"120\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eDory\u003c/h1\u003e\n\n\n**Dory is an AI-native Data Workspace for modern databases.**  \n\n\u003e The AI-powered Data Studio you’ve been waiting for.\n\nIt combines intelligent SQL editing, context-aware AI assistance, conversational database exploration, and deep operational integration across modern databases into a single unified studio — helping engineers and analysts write, understand, and manage data more efficiently.\n\n\u003c!-- \u003e Explore data with SQL and AI, together. --\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://app.getdory.dev\"\u003e\u003cb\u003e🚀 Try Live Demo\u003c/b\u003e\u003c/a\u003e \u0026nbsp; • \u0026nbsp;\n  \u003ca href=\"#install-on-macos-with-homebrew\"\u003e\u003cb\u003e🍺 Install via Homebrew\u003c/b\u003e\u003c/a\u003e \u0026nbsp; • \u0026nbsp;\n  \u003ca href=\"https://github.com/dorylab/dory/releases\"\u003e\u003cb\u003e🍎 Download for macOS\u003c/b\u003e\u003c/a\u003e \u0026nbsp; • \u0026nbsp;\n  \u003ca href=\"https://github.com/dorylab/dory/releases\"\u003e\u003cb\u003eDownload for Windows\u003c/b\u003e\u003c/a\u003e \u0026nbsp; • \u0026nbsp;\n  \u003ca href=\"#quick-start\"\u003e\u003cb\u003e📦 Quick Start\u003c/b\u003e\u003c/a\u003e \u0026nbsp; • \u0026nbsp;\n  \u003ca href=\"./docs/contributing.md\"\u003e\u003cb\u003e🤝 Contributing\u003c/b\u003e\u003c/a\u003e \u0026nbsp; • \u0026nbsp;\n  \u003ca href=\"https://github.com/dorylab/dory/stargazers\"\u003e\u003cb\u003e⭐ Star\u003c/b\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n**No signup required. Click “Enter as Demo” to start instantly.**\n\n**👇 Live Playground: https://app.getdory.dev**\n\n![Dory Preview](./public/actions.png)\n\n## 🚀 Quick Start\n### Install on macOS with Homebrew\n\n```bash\nbrew install dorylab/dory/dory\n```\n\n### Run with Docker\n\nMake sure Docker is installed, then run:\n\n```bash\ndocker run -d --name dory \\\n  -p 3000:3000 \\\n  -e DS_SECRET_KEY=\"$(openssl rand -base64 32 | tr -d '\\n')\" \\\n  -e BETTER_AUTH_SECRET=\"$(openssl rand -hex 32)\" \\\n  -e BETTER_AUTH_URL=\"http://localhost:3000\" \\\n  -e DORY_AI_PROVIDER=openai \\\n  -e DORY_AI_MODEL=gpt-4o-mini \\\n  -e DORY_AI_API_KEY=your_api_key_here \\\n  -e DORY_AI_URL=https://api.openai.com/v1 \\\n  -e NEXT_PUBLIC_REQUIRE_EMAIL_VERIFICATION=false \\\n  dorylab/dory:latest\n\n```\n\nTo enable email verification, set `RESEND_API_KEY` to a valid [resend](https://resend.com) key and `EMAIL_FROM` to a validated email.\n\n  \n### 🧠 Supported AI Providers\n\nDory is built with a pluggable AI provider architecture.\nYou can freely switch between different model vendors by changing environment variables — no code changes required.\n\nCurrently supported providers:\n\n| Provider          | Env `DORY_AI_PROVIDER` | Description                                           |\n| ----------------- | ---------------------- | ----------------------------------------------------- |\n| OpenAI            | `openai`               | Default provider. Uses official OpenAI API.           |\n| OpenAI-Compatible | `openai-compatible`    | Any service exposing an OpenAI-compatible API.        |\n| Anthropic         | `anthropic`            | Claude models via Anthropic official API.             |\n| Google            | `google`               | Gemini models via Google Generative AI API.           |\n| Qwen (Alibaba)    | `qwen`                 | Qwen models via DashScope OpenAI-compatible endpoint. |\n| xAI               | `xai`                  | Grok models via xAI API.                              |\n\n\n## ✨ Key Features\n\n### 🧠 SQL Copilot\n\nAn AI assistant grounded in real database schema and current query context.\n\n- **Ask** — Generate SQL from natural language  \n- **Action** — Fix or rewrite the current SQL  \n- **Context** — Explain query logic and field semantics  \n\nAI that understands your database — not just text completion.\n\n---\n\n### ⌨️ Schema-Aware Autocomplete\n\n- SQL completion based on real database schema  \n- Suggests tables, columns, functions, and aliases  \n- Supports multi-table joins and subqueries  \n\n---\n\u003cimg width=\"3024\" height=\"1898\" alt=\"image\" src=\"https://github.com/user-attachments/assets/c1775613-5773-4552-a188-90442f8f82ad\" /\u003e\n\n### ✍️ Intelligent SQL Editor\n\n- Multi-tab SQL workspace with support for multiple result sets\n- Save and organize frequently used queries\n- AI-powered SQL Copilot for writing, explaining, and optimizing queries\n- Instant query visualization with built-in charts\n\n---\n\u003cimg width=\"3024\" height=\"1898\" alt=\"image\" src=\"https://github.com/user-attachments/assets/d3e0b7a7-8c16-44d0-b248-685f7e386b6b\" /\u003e\n\n### 💬 Database Chatbot\n\n- Built-in conversational AI assistant  \n- Automatically understands connected database schema  \n- Ask questions directly about tables and SQL  \n- Quickly locate field meanings and query ideas  \n\n---\n\u003cimg width=\"3024\" height=\"1898\" alt=\"image\" src=\"https://github.com/user-attachments/assets/4397055f-7c74-4505-90dc-8d822845b670\" /\u003e\n\n### 📈 ClickHouse Monitoring (Deep Integration)\n\nA native observability interface designed specifically for ClickHouse.\n\n- Real-time metrics:\n  - Total queries  \n  - Slow queries  \n  - Error queries  \n  - Active users  \n- Query latency trends (P50 / P95)  \n- Query throughput trends (QPM)  \n- Multi-dimensional filtering:\n  - User  \n  - Database  \n  - Query type  \n  - Time range  \n\n---\n\n![Dory Preview](./public/monitor-overview.png)\n\n### 🔐 ClickHouse Privileges (Deep Integration)\n\nNative ClickHouse user and role management UI.\n\n- Create, edit, and delete database users  \n- Create roles and configure grant relationships  \n- Configure:\n  - Login username and password  \n  - Allowed host addresses  \n  - Granted roles and default roles  \n- Supports cluster-level privilege operations (On Cluster)  \n- No need to manually write GRANT / CREATE USER SQL  \n\n---\n\n## 🔌 Database Support\n\n| Database   | Status              |\n| ---------- | ------------------- |\n| ClickHouse | ✅ Deeply integrated |\n| PostgreSQL | ✅ Supported         |\n| MySQL      | ✅ Supported         |\n| MariaDB    | ✅ Supported         |  |\n| SQLite     | ✅ Supported (Beta)  |\n| DuckDB     | 🚧 Planned           |\n\n---\n\n## 🗺️ Roadmap\n\nSee the latest roadmap here:\n\n\u003ca href=\"https://github.com/dorylab/dory/discussions/35\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eDory Roadmap\u003c/a\u003e\n\n---\n\n## ⚙️ Tech Stack\n\n- Next.js + React + Tailwind\n- Drizzle ORM  \n- Multi-model AI SDK integration\n- PGLite\n- Resend\n- Shadcn UI\n- Monaco Editor\n\n---\n\n## 🎯 Who is it for?\n\n- Data engineers  \n- Data analysts  \n- Database platform teams  \n- ClickHouse operations teams  \n\n---\n\n## 🚀 Getting Started\n\n\u003e Docker one-click deployment\n\n\u003e Install on macOS with Homebrew: `brew install dorylab/dory/dory`\n\n\u003e Desktop client: https://github.com/dorylab/dory/releases  \n\n---\n\n\u003ch3\u003e\nYour data stays yours.\nExcept for AI requests sent through Cloudflare Gateway,\neverything — connections, tabs, and saved queries — is stored locally on your device.\n\u003ch3\u003e\n\n## 📄 License\n\nApache-2.0\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdorylab%2Fdory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdorylab%2Fdory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdorylab%2Fdory/lists"}