Skip to content

ChatGPT in Node.JS

License

Notifications You must be signed in to change notification settings

sandunwira/Node-GPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-GPT

Command Line Interface for ChatGPT using Node.JS.

Screenshot 2023-04-26 023048


Get Started

Step 1: Clone the repository and install dependencies.

npm install

Step 2: Create an .env file in the project root and paste your OpenAI API key. You can get your own API key from here.

OPEN_AI_API_KEY=key

In this case, key is the API key you should include.


Step 3: Run the Node.js server.

npm run start