Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Latest commit

 

History

History
18 lines (15 loc) · 709 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 709 Bytes

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>"