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.
- Host: GitHub
- URL: https://github.com/pando85/espeak-bot
- Owner: pando85
- Archived: true
- Created: 2016-03-20T12:16:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-06-01T22:29:03.000Z (about 5 years ago)
- Last Synced: 2025-03-22T21:49:29.044Z (about 1 year ago)
- Language: Python
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
```