.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
MATRIX_HOMESERVER
Matrix Configuration
MATRIX_USER_ID
MATRIX_PASSWORD
secret
OPENAI_API_KEY
secret
OpenAI Configuration
OPENAI_BASE_URL
secret
BOT_ADMIN_USERS
Bot Configuration
DEFAULT_MODEL
brew install flyctl && fly launch --from https://github.com/619dev/matrix-chatgpt-serverless-bot
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/619dev/matrix-chatgpt-serverless-bot
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/619dev/matrix-chatgpt-serverless-bot