Skip to content

craigsdennis/phoney-ai

Repository files navigation

Image for: Repository files navigation

Phoney AI

This application uses Cloudflare Workers AI, Twilio, and AssemblyAI.

Your phone is an input and output device.

You'll need to buy a Twilio Phone Number to use this.

Getting started

Image for: Getting started

You'll need to buy a Twilio Phone Number to use this.

Install the Twilio CLI.

Get yourself an AssemblyAI key.

Copy the .dev.vars.example file to .dev.vars.

Develop

Image for: Develop
npm install
npx wrangler login
npm run dev

Find yourself a tunnelling situation. I suggest cloudflared

Wire up your Twilio number locally to your tunnel

twilio phone-numbers:list
twilio phone-numbers:update +13216459876 --sms-url="https://<YOUR-TUNNEL-URL>/incoming-message" --voice-url="https://<YOUR-TUNNEL-URL/incoming-voice"

Deploy

Image for: Deploy
npx wrangler deploy

Now wire your Twilio numbers up to the deployed application.

About

Image for: About

Cloudflare Workers AI + Twilio + AssemblyAI demo

Resources

Stars

Watchers

Forks

Releases

Image for: Releases
No releases published

Packages

Image for: Packages 0
No packages published