/telegram-url-to-speech-bot

A Telegram bot that reads out text from a provided URL by using Google APIs.

Primary LanguageJavaScriptMIT LicenseMIT

Setup

Google Console

  1. Create a new project
  2. Enable Text-to-Speech and Translation API
  3. Download key file (JSON)

Telegram Bot

  1. Create a Bot
  2. Get the bots token

Docker Run

Set TELEGRAM_BOT_TOKEN and GOOGLE_KEYFILE_PATH according to your credentials.

$ docker run \
    -e BOT_TOKEN="[TELEGRAM_BOT_TOKEN]" \
    -v [GOOGLE_KEYFILE_PATH]:/google-keyfile.json \
    candlehater/telegram-url-to-speech