Welcome to the ChatGPT Terminal Chatbot! This project allows you to interact with OpenAI's ChatGPT using a Node.js application running in the terminal.
- Interact with ChatGPT directly in your terminal.
- Easy-to-use Node.js application.
- Customizable configuration for a personalized experience.
-
Get your OpenAI API key at OpenAI API Keys.
-
Create a file named
.env
in the project root and add the following:OPENAI_API_KEY=YOURKEY
Replace
YOURKEY
with your actual OpenAI API key. -
Install the required dependencies:
npm install
-
Run the bot:
npm start
-
Interact with the ChatGPT in your terminal by typing messages and receiving responses.
-
To exit the chatbot, simply type:
exit