Skip to content

Pab450/ana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT

Reverse Engineered ChatGPT by OpenAI. Extensible for chatbots etc. Forked from https://github.com/acheong08/ChatGPT

Setup

Configuration of the twitter bot and credentials

  1. Go to https://developer.twitter.com/en/portal/projects-and-appscreate an application.
  2. Once the configuration is done, retrieve all the tokens
  3. Save your twitter consumer_key, consumer_secret, access_token, access_token_secret and the bearer_token into twitter_credentials.json
  4. Replace in the main.py file @twittosAcc by the @username of your bot so that it can receive all tweets mentioning it

Get your OpenAI session token

  1. Go to https://chat.openai.com/chat and log in or sign up
  2. Open console with F12
  3. Open Application tab > Cookies image
  4. Copy the value for __Secure-next-auth.session-token and paste it into open_ai_credentials.json under session_token. You do not need to fill out Authorization image

Install

pip3 install revChatGPT --upgrade pip3 install tweepy

Running

python3 main.py

Result

image image

Ana is available here : https://twitter.com/TwittosAcc

About

OpenAI chatGPT twitter bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages