Skip to content

Serverless Telegram Text-to-Speech bot using Amazon Polly and AWS Lambda

License

Notifications You must be signed in to change notification settings

macecchi/PollyannaSpeechBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pollyanna

CircleCI

A Telegram Text-to-Speech bot using Amazon Polly, built to run on top of AWS Lambda.

Available on Telegram as @PollyannaBot.

Commands

  • Convert text to speech and send it as an audio: /s Read this
  • Change the voice: /v Amy
  • List available voices: /voices

Testing locally

You can invoke the bot from a shell using the start command. Edit the file start.js with your Telegram chat ID and run the command:

yarn start "/s test"

Inspiration

This bot was inspired by the original @SpeechBot from lasermarty/SpeechBot, which sadly does not work anymore.