Skip to content

xyfir/longbot-potent-console

Repository files navigation

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.

Install

  1. Clone the repo
  2. cp .env.template .env
  3. Add your environment variables
  4. npm run build
  5. npm run ngrok
  6. npm start -- 10 to run for ~10 minutes
  7. Check your recordings in the local data/ folder
  8. Share calls with the community

Read the code if you need more info. It's pretty basic.

Contribute

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.

About

AI phone slop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published