/chatgpt-instagram

Primary LanguageJavaScriptMIT LicenseMIT

ChatGPT for Instagram

Simple code to interact with ChatGPT through Instagram

  • It uses unofficial API: intagram-private-api & chatgpt-api.
  • It uses browser automation.
  • Create an OpenAI account with Google Sign-in to avoid captchas.
  • Rename .sample.env into .env, then replace values.
  • Run node demo-instagram.js to launch an echo instagram bot.
  • Run node demo-chatgpt.js to launch a ChatGPT CLI.
  • Run npm start to launch full app.
IG_USERNAME="<instagram username>"
IG_PASSWORD="<instagram password>"
OPENAI_EMAIL="<openai email>"
OPENAI_PASSWORD="<openai password>"