A Telegram chatbot repository designed to transcribe and summarize voice messages, providing concise and readable text summaries directly in the chat interface. This innovative tool automatically converts voice messages into text and provides concise summaries, making communication in chats quicker and more accessible.
- Voice Transcription: Employs advanced speech-to-text technology to convert voice messages to text.
- Summarization: Uses natural language processing (NLP) for clear and concise summaries of the transcribed text.
- Seamless Telegram Integration: Offers a smooth, user-friendly experience within Telegram chats.
- Multilingual Support: Capable of handling multiple languages for broader accessibility.
- Real-time Processing: Ensures prompt responses with immediate transcription and summarization.
- Python 3.x
- Telegram account and a Bot Token from BotFather
- Clone the Repository
- Install Dependencies
- cd SummarizerBot
- pip install -r requirements.txt
- Environment Configuration
- Create a
.envfile in the project's root directory. - Add your Telegram Bot Token:
TELEGRAM_API_KEY=your_api_key_here.
- Create a
- Run the Bot
- python bot.py
- Use Telegram's BotFather to create a new bot. Send
/newbotto BotFather and follow the instructions. - Once the bot is created, you will receive a bot token.
- Replace
your_telegram_bot_token_herein the.envfile with the token provided by BotFather.
- This bot is hosted on Heroku, a cloud platform that allows easy deployment and scaling. The included
Procfileis used by Heroku to run the bot.
After adding the bot to a Telegram chat, send a voice message. The bot will reply with the message’s transcription and summary.
We welcome contributions! To contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature.
- Make your changes and commit them.
- Submit a pull request with a detailed description of your changes.
This project is licensed under the MIT License.
A special thanks to the open-source community and all the contributors to this project.
For further information or support, feel free to open an issue in this repository.