https://github.com/codePhiliaX/Chat2DB
๐ฅ๐ฅ๐ฅAI-driven database tool and SQL client, The hottest GUI client, supporting MySQL, Oracle, PostgreSQL, DB2, SQL Server, DB2, SQLite, H2, ClickHouse, and more.
https://github.com/codePhiliaX/Chat2DB
ai bi chatgpt clickhouse clickhouse-client database datagrip db2 dbeaver gpt hive mysql navicat oracle postgresql redis redis-client sqlserver text2sql
Last synced: 12 days ago
JSON representation
๐ฅ๐ฅ๐ฅAI-driven database tool and SQL client, The hottest GUI client, supporting MySQL, Oracle, PostgreSQL, DB2, SQL Server, DB2, SQLite, H2, ClickHouse, and more.
- Host: GitHub
- URL: https://github.com/codePhiliaX/Chat2DB
- Owner: CodePhiliaX
- License: apache-2.0
- Created: 2023-06-20T14:05:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T09:10:07.000Z (11 months ago)
- Last Synced: 2024-10-29T09:18:13.954Z (11 months ago)
- Topics: ai, bi, chatgpt, clickhouse, clickhouse-client, database, datagrip, db2, dbeaver, gpt, hive, mysql, navicat, oracle, postgresql, redis, redis-client, sqlserver, text2sql
- Language: Java
- Homepage: http://chat2db.ai
- Size: 17.8 MB
- Stars: 15,285
- Watchers: 104
- Forks: 1,722
- Open Issues: 354
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- NL2SQL_Handbook - <img src="https://img.shields.io/badge/Repositor Link-grey"> - 98f">](https://chat2db-ai.com/zh-CN) (๐ฑ Text-to-SQL Related Applications: / ๐บ๏ธ Roadmap and Decision Flow)
README
๐ Zoer is Launching
Powered by Chat2DB Team - AI-powered app builder that creates professional applications in minutes, no coding required
![]()
---
![]()
[![ReadmeX][readmex-image]][readmex-url]
[![Discord][discord-image]][discord-url]
[![Twitter][twitter-image]][twitter-url]
[![Telegram][telegram-image]][telegram-url]
[![Whatsapp][whatsapp-image]][whatsapp-url]
[![Reddit][reddit-image]][reddit-url]
[![Gmail][gmail-image]][gmail-url][readmex-image]: https://raw.githubusercontent.com/CodePhiliaX/resource-trusteeship/main/readmex.svg
[readmex-url]: https://readmex.com/CodePhiliaX/Chat2DB
[discord-image]: https://img.shields.io/badge/-Join%20us%20on%20Discord-%237289DA.svg?style=flat&logo=discord&logoColor=white
[discord-url]: https://discord.com/invite/uNjb3n5JVN
[twitter-image]: https://img.shields.io/twitter/follow/_Chat2DB?label=Chat2DB
[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.&url=https://github.com/chat2db/Chat2DB&hashtags=ChatGPT,AGI,SQL%20Client,Reporting%20tool
[telegram-image]: https://img.shields.io/twitter/url?label=Telegram&logo=Telegram&style=social&url=https://github.com/chat2db/Chat2DB
[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.&url=https://github.com/chat2db/Chat2DB
[whatsapp-image]: https://img.shields.io/twitter/url?label=whatsapp&logo=whatsapp&style=social&url=https://github.com/chat2db/Chat2DB
[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
[reddit-image]: https://img.shields.io/twitter/url?label=Reddit&logo=Reddit&style=social&url=https://github.com/chat2db/Chat2DB
[reddit-url]: https://www.reddit.com/submit?url=https://github.com/chat2db/Chat2DB&title=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities.
[gmail-image]: https://img.shields.io/twitter/url?label=Gmail&logo=Gmail&style=social&url=https://github.com/chat2db/Chat2DB
[gmail-url]: mailto:?subject=Check%20this%20GitHub%20repository%20out.&body=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities.%3A%0Ahttps://github.com/chat2db/Chat2DB**1. Intelligent SQL Generation**:
Chat2DB Pro supports AI-driven intelligent SQL development to help you write SQL queries faster.**2. Database Management**:
Supports more than 10 databases, including MySQL, PostgreSQL, H2, Oracle, SQLServer, SQLite, MariaDB, ClickHouse, DM, Presto, DB2, OceanBase, Hive, KingBase, MongoDB, Redis, Snowflake, and more.**3. Intelligent Report Generation**:
Chat2DB Pro supports AI-driven intelligent data reporting to help you generate dashboards faster.**4. Data Structure Synchronization**:
Chat2DB Pro supports database table structure synchronization to help you sync database table structures faster.## Feature Comparison
Feature
Community Open Source
Local
Pro
Database Types
16+
Target 100+
Target 100+
Supported AI
Requires AI Configuration
AI ready on installation
AI ready on installation
AI Capabilities
Basic
Varied
Varied
Visual Table Editor
โ
โ
โ
SQL Console
โ
โ
โ
SQL Formatting
โ
โ
โ
Save Query Records
โ
โ
โ
Theme Color Settings
โ
โ
โ
Data Structure Sync
โ
โ
โ
Database Grouping
โ
โ
โ
Database Structure Import/Export
โ
โ
โ
Data Import/Export
โ
โ
โ
Data Migration
โ
โ
โ
Copy/Clear Table
โ
โ
โ
Open and Run SQL Files
โ
โ
โ
UML Diagram
โ
In Development
In Development
Generate Code
โ
โ
โ
Copy Results as Insert/Update
โ
โ
โ
Modify Query Results
โ
โ
โ
Intelligent SQL Editor
โ
โ
โ
AI Table Creation
โ
โ
โ
AI Data Sets
โ
โ
โ
Chat2Excel
โ
โ
โ
Intelligent Dashboard
โ
โ
โ
Editor Settings
โ
โ
โ
Custom Shortcuts
โ
โ
โ
Cross-device Usage
โ
โ
โ
## Download and Installation
Chat2DB is a cross-platform application that supports Windows, MacOS, and Linux. You can download Chat2DB from the following links:
- [Download Pro Version](https://chat2db.ai/download)
- [Download Local Version](https://chat2db.ai/download)
- [Download Open Source Version](https://github.com/CodePhiliaX/Chat2DB/releases/tag/v0.3.6)## Community Edition Docker Installation
### System Requirements
Before installing Chat2DB, ensure your system meets the following requirements:
- Docker 19.03.0 or later
- Docker Compose 1.25.0 or later
- CPU >= 2 Cores
- RAM >= 4 GiB```bash
docker rm chat2db
docker run --name=chat2db -ti -p 10824:10824 -v ~/.chat2db-docker:/root/.chat2db chat2db/chat2db:latestdocker start chat2db
```
## Code Debugging## Runtime Environment
Note:
If local debugging is needed:- Java runtime: Open JDK 17
- Node.js runtime: Node 16 Node.js.**Clone the repository locally**
```bash
$ git clone git@github.com:chat2db/Chat2DB.git
```**Frontend Debugging**
```bash
Node version must be 16 or higher
Use yarn only, npm is not supported
$ cd Chat2DB/chat2db-client
$ yarn
$ yarn run start:web
```**Backend Debugging**
```bash
$ cd ../chat2db-server
$ mvn clean install # Maven version 3.8 or higher is required
$ cd chat2db-server/chat2db-server-start/target/
$ java -jar -Dloader.path=./lib -Dchatgpt.apiKey=xxxxx chat2db-server-start.jar # ้่ฆๅฎ่ฃ java 17ไปฅไธ็ๆฌ๏ผๅฏๅจๅบ็จ chatgpt.apiKey ้่ฆ่พๅ ฅChatGPT็key,ๅฆๆไธ่พๅ ฅๆ ๆณไฝฟ็จAIGCๅ่ฝ
```
**Standalone Deployment**
```bash
# chat2db-client
$ npm run build:web:prod
$ cp -r dist ../chat2db-server/chat2db-server-start/src/main/resources/static/front
$ cp -r dist/index.html ../chat2db-server/chat2db-server-start/src/main/resources/thymeleaf
```## Contact Us
- Email: Chat2DB@ch2db.com
- Discord: [Join our Discord server](https://discord.gg/JDkwB6JS8A)
- Twitter: [@Chat2DB](https://x.com/Chat2DB_AI)
- YouTube: [Chat2DB Channel](https://www.youtube.com/@chat2db.tutorial)
- GitHub: [Chat2DB GitHub](https://github.com/codePhiliaX/chat2db)## Acknowledgments
Thanks to everyone who has contributed to Chat2DB~~
## Star History
## License
The 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).