lucashanke / PollyannaSpeechBot

Telegram Text-to-Speech bot using Amazon Polly

Home Page:https://telegram.me/PollyannaBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pollyanna

A Telegram Text-to-Speech bot using Amazon Polly.

Available as a demo on Telegram as @PollyannaBot.

Commands

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

Configuration

  1. Install the required packages

    npm install
    
  2. Copy config.json.example to config.json and enter your credentials from AWS Polly and Telegram

    • Get your AWS access key and secret using IAM
    • Send a message to @BotFather to create a Telegram bot and get the token
  3. Start the bot

    npm start
    

Inspiration

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

About

Telegram Text-to-Speech bot using Amazon Polly

https://telegram.me/PollyannaBot

License:MIT License


Languages

Language:JavaScript 100.0%