jtyjty99999 / sqlchat

Chat-based SQL Client

Home Page:https://sqlchat.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SQL Chat banner

SQL Chat

vercel

What

SQL Chat is a chat-based SQL client to ask database questions and query database using natural language.

Screenshot

Screenshot

Why

As we enter the Developer Tools 2.0 era, there is a massive opportunity to rebuild the existing tools using chat-based interface. SQL Client is no exception. Instead of navigating across many UI controls, a chat-based interface is much more intuitive. Of course, only if that works, and our goal is to deliver that experience.

How

SQL Chat is built by Next.js, it supports following databases and will add more over the time:

  • MySQL
  • PostgreSQL

Data Privacy

  • All database conenction configs are stored locally in your browser. You can also visit settings to clear the data.

  • Only the database schema will be sent to the OpenAI API. No table data will be sent to there.

Local Development

  1. Make a copy of the example environment variables file;

    cp .env.example .env
  2. Add your API key and OpenAI API Endpoint(optional) to the newly created .env file;

  3. Install dependencies and start the dev server;

    pnpm i && pnpm dev

Star History

Star History Chart

Community

Hang out on Discord

Follow us on Twitter

sqlchat

License

This project is under the BSL License. See the LICENSE file for the full license text.

About

Chat-based SQL Client

https://sqlchat.ai

License:Other


Languages

Language:TypeScript 99.1%Language:CSS 0.5%Language:JavaScript 0.4%