CandleHater / telegram-url-to-speech-bot

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

Home Page:https://hub.docker.com/r/candlehater/telegram-url-to-speech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://hub.docker.com/r/candlehater/telegram-url-to-speech

License:MIT License


Languages

Language:JavaScript 95.2%Language:Dockerfile 2.9%Language:Shell 1.9%