Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pyldin601/polyglot-bot
Text-to-Speech (TTS) Telegram bot built using Rust.
https://github.com/pyldin601/polyglot-bot
Last synced: about 1 month ago
JSON representation
Text-to-Speech (TTS) Telegram bot built using Rust.
- Host: GitHub
- URL: https://github.com/pyldin601/polyglot-bot
- Owner: pyldin601
- License: mit
- Created: 2024-07-19T10:37:09.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-19T23:51:48.000Z (6 months ago)
- Last Synced: 2024-12-08T22:00:13.320Z (about 2 months ago)
- Language: Rust
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Polyglot Bot
## Overview
Polyglot Bot is a Text-to-Speech (TTS) Telegram bot built using Rust. This bot converts text messages into speech in
various languages and sends the audio back to the user in the Telegram chat.## Supported languages
- 🇵🇹 Portuguese
- 🇵🇱 Polish
- 🇬🇧 English
- 🇪🇸 Spanish## Installation
1. Clone the repository:
```sh
git clone https://github.com/pyldin601/polyglot-bot.git
cd polyglot-bot
```2. Build the project:
```sh
cargo build --release
```3. Configure the bot:
- Define needed env variables:
```env
export TG_BOT_TOKEN=
export TS_API_KEY=
```4. Run the bot:
```sh
cargo run --release
```## Usage
- Add the bot to your Telegram group or start a chat with it.
- Use the following commands:
- `/help` — Display this text.
- `/portuguese` — Read a text in Portuguese.
- `/polish` — Read a text in Polish.
- `/english` — Read a text in English.
- `/spanish` — Read a text in Spanish.## Contributing
Contributions are welcome! Please fork the repository and submit a pull request.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.