{"id":21302038,"url":"https://github.com/dudynets/telegram-summarize-bot","last_synced_at":"2025-07-11T20:31:30.258Z","repository":{"id":223052587,"uuid":"759191466","full_name":"dudynets/Telegram-Summarize-Bot","owner":"dudynets","description":"A Telegram bot that summarizes messages from a chat using AI.","archived":false,"fork":false,"pushed_at":"2024-07-17T20:50:35.000Z","size":13,"stargazers_count":63,"open_issues_count":2,"forks_count":13,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T05:38:11.111Z","etag":null,"topics":["llama2-13b","ollama","summarizer","telegram"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dudynets.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-02-17T22:31:27.000Z","updated_at":"2025-05-09T07:16:05.000Z","dependencies_parsed_at":"2024-02-17T23:27:41.582Z","dependency_job_id":"26029eee-92ad-4473-93fe-ee8e4de5a7ec","html_url":"https://github.com/dudynets/Telegram-Summarize-Bot","commit_stats":null,"previous_names":["dudynets/telegram-summarize-bot"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dudynets/Telegram-Summarize-Bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudynets%2FTelegram-Summarize-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudynets%2FTelegram-Summarize-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudynets%2FTelegram-Summarize-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudynets%2FTelegram-Summarize-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dudynets","download_url":"https://codeload.github.com/dudynets/Telegram-Summarize-Bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudynets%2FTelegram-Summarize-Bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264892269,"owners_count":23679262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["llama2-13b","ollama","summarizer","telegram"],"created_at":"2024-11-21T15:54:24.221Z","updated_at":"2025-07-11T20:31:27.647Z","avatar_url":"https://github.com/dudynets.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://github.com/dudynets/Telegram-Summarize-Bot\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/39008921/191470114-c074b17f-1c88-4af3-b089-1b14418cabf5.png\" alt=\"drawing\" width=\"128\"/\u003e\n\u003c/a\u003e\n\n# Telegram Summarize Bot\n\n\u003cp\u003e\u003cstrong\u003eA Telegram bot that summarizes messages from a chat.\u003c/strong\u003e\u003c/p\u003e\n\n\u003e Developed by [Oleksandr Dudynets](https://dudynets.dev)\n\n## Overview\n\nWhen you add the bot to a chat, it start listening to all text messages and save them to a history file.\nThen, when any user replies to some message with the command `/summarize`, the bot will summarize all messages that were sent since the replied message.\n\n## Getting Started\n\n### Prerequisites\n\n- [Python](https://www.python.org/)\n- [Ollama](https://ollama.com/)\n- [Compatible model from Ollama's library](https://ollama.com/library) (e.g. `llama2:13b`)\n\n### Installation and Usage\n\n1. Clone the repository\n   ```sh\n   git clone https://github.com/dudynets/Telegram-Summarize-Bot\n   ```\n2. Install the required packages\n   ```sh\n   pip install -r requirements.txt\n   ```\n3. Create a `.env` file in the root directory and add the following environment variables:\n   ```env\n   TELEGRAM_BOT_TOKEN=\u003cyour-telegram-bot-token\u003e\n   ```\n4. Run the bot\n   ```sh\n   python app.py\n   ```\n5. Add the bot to a group chat, send some messages and try to summarize them using the `/summarize` command.\n\n## License\n\nDistributed under the [MIT](https://choosealicense.com/licenses/mit/) License.\nSee [LICENSE](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdudynets%2Ftelegram-summarize-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdudynets%2Ftelegram-summarize-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdudynets%2Ftelegram-summarize-bot/lists"}