A simple Node.js CLI for making prank calls to locations in the US via Twilio, Google Places, and OpenAI's GPT + Realtime API
In the future, all of that should become configurable. Contributions are encouraged.
- Clone the repo
cp .env.template .env
- Add your environment variables
npm run build
npm run ngrok
npm start -- 10
to run for ~10 minutes- Check your recordings in the local
data/
folder - Share calls with the community
Read the code if you need more info. It's pretty basic.
If anyone's looking for something to work on, here are some ideas:
- Tell it the time of day in the recipient's time zone
- Query the AI for a summary at the end to determine quality
- Don't respond to automated prompts unless necessary to continue
- Give it tools to press buttons
- Give it ability to call back and continue conversation
- Give it ability to end call if we can't get an answer
- Give it ability to play sound effects
- Give it ability to query more information about the location
- Add more countries
- Support calling via services other than Twilio
- Support other AI models, local and remote
- Support 'place' APIs and sources other than Google
- Train a custom model on prank calls
- Add more voices or train custom
- Add command line options to use a specific place, city, voice, prompt, etc
- Improve interrupt handling
Check out npm run test-run
for testing out changes by calling yourself.