{"id":50430309,"url":"https://github.com/OtterMind/Chat2DB","last_synced_at":"2026-06-02T05:00:38.257Z","repository":{"id":176363786,"uuid":"656227652","full_name":"OtterMind/Chat2DB","owner":"OtterMind","description":"AI-driven database tool and SQL client, The hottest GUI client, supporting MySQL, Oracle, PostgreSQL, DB2, SQL Server, DB2, SQLite, H2, ClickHouse, and more.","archived":false,"fork":false,"pushed_at":"2026-05-28T07:18:37.000Z","size":18137,"stargazers_count":25680,"open_issues_count":532,"forks_count":2818,"subscribers_count":154,"default_branch":"main","last_synced_at":"2026-05-30T14:20:46.502Z","etag":null,"topics":["ai","bi","chatgpt","clickhouse","clickhouse-client","database","datagrip","db2","dbeaver","gpt","hive","mysql","navicat","oracle","postgresql","redis","redis-client","sqlserver","text2sql"],"latest_commit_sha":null,"homepage":"https://chat2db.ai","language":"Java","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/OtterMind.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":null,"dco":null,"cla":null}},"created_at":"2023-06-20T14:05:26.000Z","updated_at":"2026-05-30T06:40:34.000Z","dependencies_parsed_at":"2023-09-24T16:39:14.386Z","dependency_job_id":"aff5d2cc-13f4-4330-a6d0-e765a0347311","html_url":"https://github.com/OtterMind/Chat2DB","commit_stats":{"total_commits":2883,"total_committers":40,"mean_commits":72.075,"dds":0.7173083593479015,"last_synced_commit":"79c47547dd43d71de2be87eda3ca88fe7d55c99b"},"previous_names":["chat2db/chat2db","codephiliax/chat2db"],"tags_count":94,"template":false,"template_full_name":null,"purl":"pkg:github/OtterMind/Chat2DB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OtterMind%2FChat2DB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OtterMind%2FChat2DB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OtterMind%2FChat2DB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OtterMind%2FChat2DB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OtterMind","download_url":"https://codeload.github.com/OtterMind/Chat2DB/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OtterMind%2FChat2DB/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33806987,"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-06-02T02:00:07.132Z","response_time":109,"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":["ai","bi","chatgpt","clickhouse","clickhouse-client","database","datagrip","db2","dbeaver","gpt","hive","mysql","navicat","oracle","postgresql","redis","redis-client","sqlserver","text2sql"],"created_at":"2026-05-31T14:00:23.771Z","updated_at":"2026-06-02T05:00:38.252Z","avatar_url":"https://github.com/OtterMind.png","language":"Java","funding_links":[],"categories":["UIs","🤖 AI \u0026 Machine Learning","未分类"],"sub_categories":["GUI"],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eChat2DB\u003c/h1\u003e\n  \u003cp\u003e\u003cstrong\u003e\u003cp\u003e\u003cstrong\u003eAn AI-powered database client and SQL workspace for developers, DBAs, analysts, and data teams.\u003c/strong\u003e\u003c/p\u003e\u003c/strong\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![Modelscope][Modelscope-image]][Modelscope-url]\n[![ReadmeX][readmex-image]][readmex-url]\n[![Discord][discord-image]][discord-url]\n[![Twitter][twitter-image]][twitter-url]\n[![Telegram][telegram-image]][telegram-url]\n[![Whatsapp][whatsapp-image]][whatsapp-url]\n[![Reddit][reddit-image]][reddit-url]\n[![Gmail][gmail-image]][gmail-url]\n\n[Modelscope-image]: https://img.shields.io/badge/modelscope-blue?style=flat-square\\\u0026logo=modelscope\n[Modelscope-url]: https://modelscope.cn/\n[readmex-image]: https://raw.githubusercontent.com/CodePhiliaX/resource-trusteeship/main/readmex.svg\n[readmex-url]: https://readmex.com/CodePhiliaX/Chat2DB\n[discord-image]: https://img.shields.io/badge/-Join%20us%20on%20Discord-%237289DA.svg?style=flat\u0026logo=discord\u0026logoColor=white\n[discord-url]: https://discord.com/invite/uNjb3n5JVN\n[twitter-image]: https://img.shields.io/twitter/follow/_Chat2DB?label=Chat2DB\n[twitter-url]: https://twitter.com/intent/tweet?text=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities.\u0026url=https://github.com/chat2db/Chat2DB\u0026hashtags=ChatGPT,AGI,SQL%20Client,Reporting%20tool\n[telegram-image]: https://img.shields.io/twitter/url?label=Telegram\u0026logo=Telegram\u0026style=social\u0026url=https://github.com/chat2db/Chat2DB\n[telegram-url]: https://t.me/share/url?text=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities.\u0026url=https://github.com/chat2db/Chat2DB\n[whatsapp-image]: https://img.shields.io/twitter/url?label=whatsapp\u0026logo=whatsapp\u0026style=social\u0026url=https://github.com/chat2db/Chat2DB\n[whatsapp-url]: https://api.whatsapp.com/send?text=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities.%20https://github.com/chat2db/Chat2DB\n[reddit-image]: https://img.shields.io/twitter/url?label=Reddit\u0026logo=Reddit\u0026style=social\u0026url=https://github.com/chat2db/Chat2DB\n[reddit-url]: https://www.reddit.com/submit?url=https://github.com/chat2db/Chat2DB\u0026title=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities.\n[gmail-image]: https://img.shields.io/twitter/url?label=Gmail\u0026logo=Gmail\u0026style=social\u0026url=https://github.com/chat2db/Chat2DB\n[gmail-url]: mailto:?subject=Check%20this%20GitHub%20repository%20out.\u0026body=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities.%3A%0Ahttps://github.com/chat2db/Chat2DB\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"./README.md\"\u003e\u003cimg alt=\"README in English\" src=\"https://img.shields.io/badge/English-d9d9d9\"\u003e\u003c/a\u003e\n  \u003ca href=\"./README_CN.md\"\u003e\u003cimg alt=\"简体中文版自述文件\" src=\"https://img.shields.io/badge/简体中文-d9d9d9\"\u003e\u003c/a\u003e\n  \u003ca href=\"./README_JA.md\"\u003e\u003cimg alt=\"日本語のREADME\" src=\"https://img.shields.io/badge/日本語-d9d9d9\"\u003e\u003c/a\u003e\n\n\u003c/div\u003e\n\n**1. Intelligent SQL Generation**:  \nChat2DB Pro supports AI-driven intelligent SQL development to help you write SQL queries faster.\n\n**2. Database Management**:  \nSupports more than 10 databases, including MySQL, PostgreSQL, H2, Oracle, SQLServer, SQLite, MariaDB, ClickHouse, DM, Presto, DB2, OceanBase, Hive, KingBase, MongoDB, Redis, Snowflake, and more.\n\n**3. Intelligent Report Generation**:  \nChat2DB Pro supports AI-driven intelligent data reporting to help you generate dashboards faster.\n\n**4. Data Structure Synchronization**:  \nChat2DB Pro supports database table structure synchronization to help you sync database table structures faster.\n\n## Feature Comparison\n\n\u003ctable style=\"width: 100%;\"\u003e\n  \u003ctr\u003e\n    \u003cth align=\"center\"\u003eFeature\u003c/th\u003e\n    \u003cth align=\"center\"\u003eCommunity Open Source\u003c/th\u003e\n    \u003cth align=\"center\"\u003ePro\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eDatabase Types\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e16+\u003c/td\u003e\n    \u003ctd align=\"center\"\u003eTarget 100+\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eSupported AI\u003c/td\u003e\n    \u003ctd align=\"center\"\u003eRequires AI Configuration\u003c/td\u003e\n    \u003ctd align=\"center\"\u003eAI ready on installation\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eAI Capabilities\u003c/td\u003e\n    \u003ctd align=\"center\"\u003eBasic\u003c/td\u003e\n    \u003ctd align=\"center\"\u003eVaried\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eVisual Table Editor\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eSQL Console\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eSQL Formatting\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eSave Query Records\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eTheme Color Settings\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eData Structure Sync\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eDatabase Grouping\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eDatabase Structure Import/Export\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eData Import/Export\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eData Migration\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eCopy/Clear Table\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eOpen and Run SQL Files\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eUML Diagram\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003eIn Development\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eGenerate Code\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eCopy Results as Insert/Update\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eModify Query Results\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eIntelligent SQL Editor\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eAI Table Creation\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eAI Data Sets\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eChat2Excel\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eIntelligent Dashboard\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eEditor Settings\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eCustom Shortcuts\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003eCross-device Usage\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e❌\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e✅\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Download and Installation\nChat2DB is a cross-platform application that supports Windows, MacOS, and Linux. You can download Chat2DB from the following links:\n- [Download Pro Version](https://chat2db.ai/download)\n- [Download Open Source Version](https://github.com/CodePhiliaX/Chat2DB/releases/tag/v0.3.6)\n\n## Community Edition Docker Installation\n\n### System Requirements\n\nBefore installing Chat2DB, ensure your system meets the following requirements:\n- Docker 19.03.0 or later\n- Docker Compose 1.25.0 or later\n- CPU \u003e= 2 Cores\n- RAM \u003e= 4 GiB\n\n```bash\n  docker rm chat2db\n  \n  docker run --name=chat2db -ti -p 10824:10824 -v ~/.chat2db-docker:/root/.chat2db  chat2db/chat2db:latest\n\n  docker start chat2db\n  \n```\n## Code Debugging\n\n## Runtime Environment\n\nNote:\nIf local debugging is needed:\n\n- Java runtime: \u003ca href=\"https://adoptopenjdk.net/\" target=\"_blank\"\u003eOpen JDK 17\u003c/a\u003e\n- Node.js runtime: Node 16 \u003ca href=\"https://nodejs.org/\" target=\"_blank\"\u003eNode.js\u003c/a\u003e.\n\n**Clone the repository locally**\n\n```bash\n$ git clone git@github.com:chat2db/Chat2DB.git\n```\n\n**Frontend Debugging**\n\n```bash\nNode version must be 16 or higher  \nUse yarn only, npm is not supported\n$ cd Chat2DB/chat2db-client\n$ yarn\n$ yarn run start:web\n```\n\n**Backend Debugging**\n\n```bash\n$ cd ../chat2db-server\n$ mvn clean install # Maven version 3.8 or higher is required\n$ cd chat2db-server/chat2db-server-start/target/\n$ java -jar -Dloader.path=./lib -Dchatgpt.apiKey=xxxxx chat2db-server-start.jar  # 需要安装java 17以上版本，启动应用 chatgpt.apiKey 需要输入ChatGPT的key,如果不输入无法使用AIGC功能\n```\n**Standalone Deployment**\n```bash\n# chat2db-client\n$ npm run build:web:prod \n$ cp -r dist ../chat2db-server/chat2db-server-start/src/main/resources/static/front \n$ cp -r dist/index.html ../chat2db-server/chat2db-server-start/src/main/resources/thymeleaf\n```\n## Contributing\n\nWe welcome bug reports, feature requests, documentation improvements, testing feedback, and pull requests from the community.\n\nBefore opening an issue or submitting a pull request, please read our [Contributing Guide](./CONTRIBUTING.md). It explains how to report bugs, suggest improvements, and make contributions easier for maintainers to review.\n\n- For bugs and feature requests, please use [GitHub Issues](https://github.com/CodePhiliaX/Chat2DB/issues).\n- For questions, setup help, and open-ended discussions, please use [GitHub Discussions](https://github.com/CodePhiliaX/Chat2DB/discussions).\n- If your pull request is related to an issue, please link it in the PR description.\n\n##  Contact Us\n\n- Email: Chat2DB@ch2db.com\n- Discord: [Join our Discord server](https://discord.gg/JDkwB6JS8A)\n- Twitter: [@Chat2DB](https://x.com/Chat2DB_AI)\n- YouTube: [Chat2DB Channel](https://www.youtube.com/@chat2db.tutorial)\n- GitHub: [Chat2DB GitHub](https://github.com/codePhiliaX/chat2db)\n\n\n##  Acknowledgments\n\n\nThanks to everyone who has contributed to Chat2DB~~\n\n\n\u003ca href=\"https://github.com/chat2db/Chat2DB/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=chat2db/Chat2DB\" /\u003e\n\u003c/a\u003e\n\n## Star History\n\n\u003ca href=\"https://star-history.com/#CodePhiliaX/chat2db\u0026Date\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=CodePhiliaX/chat2db\u0026type=Date\u0026theme=dark\" /\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=CodePhiliaX/chat2db\u0026type=Date\" /\u003e\n    \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=CodePhiliaX/chat2db\u0026type=Date\" /\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\n## License\nThe primary license used by this software is the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), supplemented by the [Chat2DB License](./Chat2DB_LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOtterMind%2FChat2DB","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOtterMind%2FChat2DB","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOtterMind%2FChat2DB/lists"}