sql-translator

TypeScript 언어로 만든 오픈소스 프로젝트예요. 전 세계 개발자 4,324 명이 스타(좋아요)를 눌렀어요. 깃허브에 올라온 설치파일이 없는 개발자용 프로젝트예요. 마지막 수정은 1년 전이에요.

👩‍💻 개발자용⭐ 4,324

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

바로 쓰기

내 상황에 맞는 방법을 하나 고르세요.

깃허브에는 설치파일이 없어요. 앱으로 배포하는 프로젝트라면 공식 사이트에서 받을 수 있는지 확인해 보세요.

① 설치 명령어 · README에서 찾았어요

npm install

윈도우는 'PowerShell', 맥은 '터미널' 앱을 열고 붙여넣은 뒤 Enter를 누르세요.

브라우저에서 바로 열기 · 설치 없음

내 것으로 가져오기

git clone https://github.com/whoiskatrin/sql-translator.git

git clone: 개발자가 코드를 받는 명령어예요. 수정 내역까지 함께 받아져요.

한눈에 보기

인기⭐ 4,324 스타 · 🍴 375 포크
무료 여부MIT
무료이고 회사·상업용으로 써도 돼요. 출처(저작권 표시)만 남기면 돼요.
만든 언어TypeScript
최신 버전정식 배포 버전 없음
활동만든 날 2023.3.12 · 최근 수정 1년 전 · 열린 이슈(질문) 7개
공식 사이트www.sqltranslate.app/

설명서 (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.

자주 묻는 질문

sql-translator 무료로 쓸 수 있나요?

네, MIT 라이선스로 공개된 오픈소스예요. 무료이고 회사·상업용으로 써도 돼요. 출처(저작권 표시)만 남기면 돼요. 깃허브 저장소에서 누구나 내려받을 수 있어요.

sql-translator 설치는 어떻게 하나요?

터미널에 `npm install` 명령을 붙여넣으면 설치돼요. 이 페이지 '설치 명령어'에서 복사 버튼을 누르면 1초 만에 복사돼요. 자세한 옵션은 아래 README 설명서에 있어요.

코딩을 몰라도 sql-translator 쓸 수 있나요?

조금 어려울 수 있어요. 완성된 설치파일이 없는 개발자용 프로젝트라서 터미널 명령어나 개발 환경이 필요해요. 처음이라면 Codespaces로 브라우저에서 먼저 실행해 보세요.

sql-translator 인기는 어느 정도인가요?

깃허브 스타 4,324개, 포크 375개를 받은 프로젝트예요. 2023년에 만들어졌고 마지막 수정은 1년 전이에요. 스타가 1만 개를 넘으면 전 세계적으로 검증된 인기 프로젝트로 봐요.

복사했어요