Skip to content

A Telegram bot that summarizes messages from a chat using AI.

License

Notifications You must be signed in to change notification settings

dudynets/Telegram-Summarize-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drawing

Telegram Summarize Bot

A Telegram bot that summarizes messages from a chat.

Developed by Oleksandr Dudynets

Overview

When you add the bot to a chat, it start listening to all text messages and save them to a history file. Then, when any user replies to some message with the command /summarize, the bot will summarize all messages that were sent since the replied message.

Getting Started

Prerequisites

Installation and Usage

  1. Clone the repository
    git clone https://github.com/dudynets/Telegram-Summarize-Bot
  2. Install the required packages
    pip install -r requirements.txt
  3. Create a .env file in the root directory and add the following environment variables:
    TELEGRAM_BOT_TOKEN=<your-telegram-bot-token>
  4. Run the bot
    python app.py
  5. Add the bot to a group chat, send some messages and try to summarize them using the /summarize command.

License

Distributed under the MIT License. See LICENSE for more information.