ChatGPT-Replit (Headful Puppeteer + NodeJS ChatGPT-API)
Created by
kevinqz
How to use it?
- Fork the Replit Template to your account
- Create two Replit Secrets (Tools > Secrets): one for your EMAIL and one for your PASSWORD. This is important to keep your account info private.
- Set the account type by changing "isLogin" variables inside the 'index.js' file
./js/index.js
:
- For OpenAI Account, both values have to be false:
const isGoogleLogin = false;const isMicrosoftLogin = false;
- For Google Account, set Google to true and Microsoft to false:
const isGoogleLogin = true;const isMicrosoftLogin = false;
- For Microsoft Account, set Google to false and Microsoft to true:
const isGoogleLogin = false;const isMicrosoftLogin = true;
-
You're all set! Press 'Run' to say "Hello World" to your ChatGPT instance
-
Edit the index.js to use the ChatGPT-API according to your needs
