A fun trivia game using GPT to generate questions and Vonage API's to get help from other developers
- Node 16 or higher
- ChatGPT ApiKey
- A Vonage Application that has numbers for receiving SMS and can make Phone calls
- NGrok (if running locally)
- MongoDB instance
Rename env.dist
and fill in the correct environment variables.
PORT
Port to run web server onVONAGE_API_KEY
API KeyVONAGE_API_SECRET
API SecretVONAGE_PRIVATE_KEY
The Private key for the application (should be the contents of the file)VONAGE_APPLICATION_ID
Vonage Application IDOPENAI_API_KEY
ChatGPT API keyFROM_NUMBER
Number to send text messages fromAIRTABLE_TOKEN
AirTable Token
npm run start
Start the web servernpm run watch
Watch changes and restart the web server (use for dev)npm run livereload
Set up live reload (use for dev)
- SMS Messages will be streamed into a file (
particpants.txt
) - When using the
Text the Audience
feature, only the active game will be updated