Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 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.

Awesome Lists containing this project

README

        


CodePhiliaX%2FChat2DB | Trendshift





chat on Discord


Share on Telegram

Share on Reddit



README in English
็ฎ€ไฝ“ไธญๆ–‡็‰ˆ่‡ช่ฟฐๆ–‡ไปถ
ๆ—ฅๆœฌ่ชžใฎREADME

https://github.com/user-attachments/assets/4ae824cf-7d14-4d5b-9ceb-66481bcefc19

Chat2DB is an intelligent, universal SQL client and data reporting tool that integrates AI capabilities. Chat2DB helps you write SQL queries faster, manage databases, generate reports, explore data, and interact with multiple databases. Chat2DB is an open-source project, and we welcome your contributions.

**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:latest

docker 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





Star History Chart

## 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).