.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
OPENAI_API_KEY
secret
see the `chatgpt` npm package readme for how to find this
TWITTER_CLIENT_ID
twitter app credentials for oauth 2.0
TWITTER_CLIENT_SECRET
secret
TWITTER_OAUTH_REFRESH_TOKEN
secret
user refresh token
brew install flyctl && fly launch --from https://github.com/transitive-bullshit/chatgpt-twitter-bot
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/transitive-bullshit/chatgpt-twitter-bot
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/transitive-bullshit/chatgpt-twitter-bot