Skip to content

A Telegram bot designed to transcribe and summarize voice messages, providing concise and readable text summaries directly in the chat interface.

License

Notifications You must be signed in to change notification settings

claudydoba/SummarizerBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voice Message Summarizer Bot

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.

Features

  • 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.

Getting Started

Prerequisites

  • Python 3.x
  • Telegram account and a Bot Token from BotFather

Installation and Setup

  1. Clone the Repository
  2. Install Dependencies
    • cd SummarizerBot
    • pip install -r requirements.txt
  3. Environment Configuration
    • Create a .env file in the project's root directory.
    • Add your Telegram Bot Token: TELEGRAM_API_KEY=your_api_key_here.
  4. Run the Bot
    • python bot.py

Configuring Your Telegram Bot

Creating a Bot on Telegram:

  1. Use Telegram's BotFather to create a new bot. Send /newbot to BotFather and follow the instructions.
  2. Once the bot is created, you will receive a bot token.

Configuring the Bot Token:

  1. Replace your_telegram_bot_token_here in the .env file with the token provided by BotFather.

Heroku Hosting:

  • This bot is hosted on Heroku, a cloud platform that allows easy deployment and scaling. The included Procfile is used by Heroku to run the bot.

Usage

After adding the bot to a Telegram chat, send a voice message. The bot will reply with the message’s transcription and summary.

How to Contribute

We welcome contributions! To contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature.
  3. Make your changes and commit them.
  4. Submit a pull request with a detailed description of your changes.

License

This project is licensed under the MIT License.

Acknowledgements

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.

About

A Telegram bot designed to transcribe and summarize voice messages, providing concise and readable text summaries directly in the chat interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Procfile 0.3%