An open API service indexing awesome lists of open source software.

https://github.com/pando85/espeak-bot

Resend text in audio format using espeak.
https://github.com/pando85/espeak-bot

Last synced: 11 months ago
JSON representation

Resend text in audio format using espeak.

Awesome Lists containing this project

README

          

ESpeak Bot
=========
Resend text in audio format using espeak.

Setup
=====

You will need to add this enviroment variables:
* BOT_TOKEN: token from [@BotFather](https://telegram.me/BotFather)
* BOT_URL(Optional): url where you setup webhook
* CERTIFICATE_PATH(Optional): self signed certificated to [set webhook](https://core.telegram.org/bots/api#setwebhook).

If BOT_URL or CERTIFICATE_PATH are not set, Bot will run without webhook.

Example using docker-compose:
```yml
espeak-bot:
restart: always
image: pando85/espeak-bot
ports:
- "5000:5000"
volumes:
- ./cert.pem:/tmp/cert.pem:ro
environment:
- BOT_TOKEN= Telegram Bot API token
- BOT_URL= Telegram Bot URL
- CERTIFICATE_PATH=/tmp/cert.pem
```