/talkin-cedric-node

An example application using Media Streams and Amazon Transcribe

Primary LanguageJavaScriptMIT LicenseMIT

Learn to code with TwilioQuest

Talkin' Cedric

This project uses Twilio Media Streams and Amazon Transcribe. It will convert your speech to text and repeat what you said back to you in the voice of Cedric, your favorite robot, star of TwilioQuest.

Installation

Install the Twilio CLI

Glitch

Locate your Twilio number

twilio phone-numbers:list

Set your incoming voice Webhook to your Glitch URL

twilio phone-numbers:update +15552223344 --voice-url="https://your-glitch-project.glitch.me/twiml"

Copy the .env.example keys and configure the values in your .env file.

Develop locally

Install your dependencies

npm install

Configure your environment

npx configure-env

Locate your existing phone number

twilio phone-numbers:list

Set up an ngrok tunnel to your local server

twilio phone-numbers:update +15552223344 --voice-url="https://localhost:3000/twiml"

Learn more

Meta

  • No warranty expressed or implied. Software is as is. Diggity.
  • MIT License
  • Lovingly crafted by Twilio Developer Education.