Chat2DB  by CodePhiliaX

AI-driven database tool and SQL client

created 2 years ago
23,780 stars

Top 1.7% on sourcepulse

GitHubView on GitHub
Project Summary

Chat2DB is an AI-powered, universal SQL client and data reporting tool designed for developers and data analysts. It streamlines database management, SQL query writing, and data visualization by integrating advanced AI capabilities, aiming to accelerate data exploration and reporting workflows.

How It Works

Chat2DB leverages AI for intelligent SQL generation and data reporting, allowing users to describe desired queries or reports in natural language. It supports a wide array of databases, including MySQL, PostgreSQL, Oracle, and ClickHouse, with features like data structure synchronization and a visual table editor. The architecture appears to be a client-server model, with a Java backend and a Node.js frontend, requiring a ChatGPT API key for AI functionalities.

Quick Start & Requirements

  • Docker: docker run --name=chat2db -ti -p 10824:10824 -v ~/.chat2db-docker:/root/.chat2db chat2db/chat2db:latest
  • Prerequisites: Docker 19.03.0+, Docker Compose 1.25.0+, CPU >= 2 Cores, RAM >= 4 GiB. For local debugging: OpenJDK 17, Node.js 16, Yarn.
  • AI Functionality: Requires a ChatGPT API key.
  • Docs: https://github.com/chat2db/Chat2DB

Highlighted Details

  • Supports over 16 database types, with plans to support 100+.
  • AI-driven SQL generation and intelligent dashboard creation.
  • Cross-platform compatibility (Windows, macOS, Linux).
  • Visual table editor and SQL console with formatting.

Maintenance & Community

  • Active development on GitHub.
  • Community support via Discord.
  • Contact: Chat2DB@ch2db.com, Twitter: @Chat2DB.

Licensing & Compatibility

  • Primary License: Apache License 2.0, supplemented by the Chat2DB License. Specific terms of the supplementary license should be reviewed for commercial use or closed-source integration.

Limitations & Caveats

The "Pro" version offers significantly more features than the "Community Open Source" version, including AI capabilities, data sync, and advanced export/import options. Local debugging requires specific Java and Node.js versions and manual setup.

Health Check
Last commit

3 weeks ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
0
Star History
1,230 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.