Continuously asks chatgpt given prompts and saves repsonses to a json file.
Make sure you have below packages installed
- Nodejs
- npm
- Export cookie JSON file for Puppeteer Chrome Extension [https://chrome.google.com/webstore/detail/%E3%82%AF%E3%83%83%E3%82%AD%E3%83%BCjson%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E5%87%BA%E5%8A%9B-for-puppet/nmckokihipjgplolmcmjakknndddifde]
- Clone the repo
- run
npm install
- go to your usual browser, login to chatgpt
- once logged in, run the export cookie json file extension
- it will download a
.json
file rename it tocookies.json
- paste the
cookies.json
into this projects root folder - run command
node index.js
Thats it, rest will be taken care by the program itself.