Reverse Engineered ChatGPT by OpenAI. Extensible for chatbots etc. Forked from https://github.com/acheong08/ChatGPT
- Go to https://developer.twitter.com/en/portal/projects-and-appscreate an application.
- Once the configuration is done, retrieve all the tokens
- Save your twitter
consumer_key
,consumer_secret
,access_token
,access_token_secret
and thebearer_token
intotwitter_credentials.json
- Replace in the main.py file
@twittosAcc
by the@username
of your bot so that it can receive all tweets mentioning it
- Go to https://chat.openai.com/chat and log in or sign up
- Open console with
F12
- Open
Application
tab > Cookies - Copy the value for
__Secure-next-auth.session-token
and paste it intoopen_ai_credentials.json
undersession_token
. You do not need to fill outAuthorization
pip3 install revChatGPT --upgrade
pip3 install tweepy
python3 main.py