- Clone the repository.
- Open command line in the current directory.
- Type
npm install
and wait for npm to install dependencies. - Type
npm start
whenever you want to run the code. - Enjoy ChatGPT :)
-
index.js
is the file you modify to interact with ChatGPT. - Login code should be run one time. Once "Cookies are ready" log seen on the console, it can be commented out for further use.
- Type whatever you want to ask to ChatGPT into input variable.
- Enjoy output through ChatGPT response.