This app is built using Vite and React, and integrates with OpenAI APIs to perform various language-related tasks.
Node.js version 12 or higher
A valid OpenAI API key
Clone the repository: git clone https://github.com/n1ght-k1ng/NightKing-GPT
Install the dependencies: npm install
Create a .env file in the root of the project and add your OpenAI API key: REACT_APP_OPENAI_API_KEY=[your_key]
Start the development server: npm run dev
- Question and answers
- Grammer Correction
- Summarize for a 2nd grader
- English to Other languages
- Movie to Emoji
- Explain code
- JavaScript to Python
To use the app, navigate to the localhost address provided by the development server (usually http://127.0.0.1:5173/). From there, you can select the desired feature and input the text to be processed