ランキングに戻る

whoiskatrin/sql-translator

TypeScriptsqltranslate.app

SQL Translator is a tool for converting natural language queries into SQL code using artificial intelligence. This project is 100% free and open source.

data-analysisdata-engineeringdataquerydatasciencedatasetopenaipostgresqlquerysql
スター成長
スター
4.3k
フォーク
375
週間成長
Issue
3
3k3.5k4k
2023年3月2024年4月2025年6月2026年7月
成果物npmnpm install sql-translator
README

SQL Translator
(SQL to Natural Language and Natural Language to SQL)

Welcome to the SQL and Natural Language Translator! This tool is designed to make it easy for anyone to translate SQL (Structured Query Language) commands into natural language and vice versa. SQL is a programming language used to manage and manipulate data in relational databases, and while it's a powerful tool, it can also be quite complex and difficult to understand. On the other hand, natural language is the language that we speak and write in everyday life, and it's often the preferred way to communicate for people who are not familiar with technical jargon.

With the SQL and Natural Language Translator, you don't need to be a SQL expert to understand what's going on in your database, or to write SQL queries. You can simply type in your query in natural language and get the corresponding SQL code, or type in your SQL code and get a human-readable translation.This project is 100% free and open source.


🌟 Features

  • Dark mode
  • Lowercase/uppercase toggle
  • Copy to clipboard
  • SQL syntax highlighting
  • Schema awareness (beta)
  • Query history

📖 How to use:

Using the SQL to Natural Language Translator is easy. Simply navigate to the tool's website and choose whether you want to translate from natural language to SQL or from SQL to natural language. Then, type in your query and hit the "translate" button. The tool will generate the corresponding code or text and display it on the screen. You can press the 'reverse' button to give input as Natural Language and get SQL queries in response

🎯 Roadmap

  • Functions (WIP)
  • Procedures

🛠️ Installation

Local Development Environment

  1. Clone the repository:

    git clone https://github.com/whoiskatrin/sql-translator.git
    
  2. Install the required packages:

    cd sql-translator
    npm install
    
  3. Build the application:

    npm run build
    
  4. Input your OPENAI API key in the .env file, you can get your API key here:

    OPENAI_API_KEY=$YOUR_API_KEY
    
  5. Start the development server:

    npm start
    

Docker Compose

  1. Clone the repository:

    git clone https://github.com/whoiskatrin/sql-translator.git
    
  2. Input your OPENAI API key in the .env.production file, you can get your API key here:

    OPENAI_API_KEY=$YOUR_API_KEY
    
  3. Start the development server:

    docker-compose up
    

🖥️ Usage

Once the development server is running, you can access the application by navigating to http://localhost:3000 in your web browser.

Enter a natural language query in the input box and click "Translate" to generate the corresponding SQL code. The generated SQL code will be displayed in the output box.

👥 Contributing

Contributions to SQL Translator are welcome and encouraged! To contribute, please follow these steps:

  1. Fork the repository
  2. Create a new branch
  3. Make your changes
  4. Push your changes to your fork
  5. Submit a pull request

📜 License

SQL Translator is released under the MIT License.

関連リポジトリ
apache/superset

Apache Superset is a Data Visualization and Data Exploration Platform

PythonPyPIApache License 2.0supersetapache
superset.apache.org
73.9k17.9k
scikit-learn/scikit-learn

scikit-learn: machine learning in Python

PythonPyPIBSD 3-Clause "New" or "Revised" Licensemachine-learningpython
scikit-learn.org
66.7k27.2k
sansan0/TrendRadar

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。

PythonPyPIGNU General Public License v3.0data-analysispython
trendradar.sandev.cc
60.8k24.8k
pandas-dev/pandas

Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more

PythonPyPIBSD 3-Clause "New" or "Revised" Licensedata-analysispandas
pandas.pydata.org
49.3k20.2k
metabase/metabase

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

ClojureOtheranalyticsbusinessintelligence
metabase.com
48.3k6.7k
streamlit/streamlit

Streamlit — A faster way to build and share data apps.

PythonPyPIApache License 2.0pythonmachine-learning
streamlit.io
45.3k4.3k
gradio-app/gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!

PythonPyPIApache License 2.0machine-learningmodels
gradio.app
43.2k3.6k
666ghj/BettaFish

微舆:人人可用的多Agent舆情分析助手,打破信息茧房,还原舆情原貌,预测未来走向,辅助决策!从0实现,不依赖任何框架。

PythonPyPIGNU General Public License v2.0agent-frameworkdata-analysis
deepwiki.com/666ghj/BettaFish
41.8k7.6k
microsoft/Data-Science-For-Beginners

10 Weeks, 20 Lessons, Data Science for All!

Jupyter NotebookMIT Licensedata-sciencepython
36.3k7.3k
gchq/CyberChef

The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis

JavaScriptnpmApache License 2.0data-analysisdata-manipulation
gchq.github.io/CyberChef
35.4k4k
K-Dense-AI/scientific-agent-skills

Turn any AI agent into an AI Scientist. The #1 Agent Skills library for science, used by 160,000+ scientists worldwide. 148 ready-to-use skills plus 100+ scientific databases covering biology, chemistry, medicine, and drug discovery. Compatible with Cursor, Claude Code, Codex, Pi, Antigravity, and the open Agent Skills standard.

PythonPyPIMIT Licenseai-scientistbioinformatics
k-dense.ai
31.4k3.1k
AMAI-GmbH/AI-Expert-Roadmap

Roadmap to becoming an Artificial Intelligence Expert in 2022

JavaScriptnpmMIT Licensedeep-learningartificial-intelligence
i.am.ai/roadmap
31.2k2.6k