{"id":23591160,"url":"https://github.com/fernvenue/summarize-telegram-bot","last_synced_at":"2025-11-04T06:30:24.290Z","repository":{"id":243253409,"uuid":"811911611","full_name":"fernvenue/summarize-telegram-bot","owner":"fernvenue","description":"A Telegram bot that can summarize content from link.","archived":false,"fork":false,"pushed_at":"2024-06-07T17:21:50.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-27T07:34:40.822Z","etag":null,"topics":["bot","summarize","summarize-bot","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fernvenue.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}},"created_at":"2024-06-07T14:47:22.000Z","updated_at":"2024-08-03T21:19:50.000Z","dependencies_parsed_at":"2025-01-01T06:45:19.917Z","dependency_job_id":null,"html_url":"https://github.com/fernvenue/summarize-telegram-bot","commit_stats":null,"previous_names":["fernvenue/summarize-telegram-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernvenue%2Fsummarize-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernvenue%2Fsummarize-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernvenue%2Fsummarize-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernvenue%2Fsummarize-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fernvenue","download_url":"https://codeload.github.com/fernvenue/summarize-telegram-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239425857,"owners_count":19636464,"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":["bot","summarize","summarize-bot","telegram","telegram-bot"],"created_at":"2024-12-27T07:33:56.758Z","updated_at":"2025-11-04T06:30:24.241Z","avatar_url":"https://github.com/fernvenue.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Summarize Telegram Bot\n\nA Telegram bot that can summarize content from link.\n\n## TODO\n\n- [x] Cache control.\n- [ ] Multiple language support.\n- [ ] Multiple LLMs support.\n\n## Usage\n\n### Install\n\nFirst, clone the repo.\n\n```\ncd /etc\ngit clone https://github.com/fernvenue/summarize-telegram-bot\ncd ./summarize-telegram-bot\n```\n\nCreate Python virtual environment.\n\n```\napt install python3 python3-venv\npython3 -m venv venv\n```\n\nInstall the requirments.\n\n```\n./venv/bin/pip3 install -r requirements\n```\n\nCreate environment file.\n\n```\nvim ./.env\n```\n\nCheck [.env.example](./.env.example) for the details.\n\n### Run\n\nOnce complete the installation, you can run the bot.\n\n```\n./venv/bin/python3 ./bot.py\n```\n\nIf everything goes well, creae a systemd service for bot.\n\n```\nvim /etc/systemd/system/summarize-telegram-bot.service\n```\n\nCheck [systemd service template](./summarize-telegram-bot.service) for the details, after that, you can run the bot as system service.\n\n```\nsystemctl enable summarize-telegram-bot --now\nsystemctl status summarize-telegram-bot\n```\n\n## Commands\n\nYou can just send commands list to BotFather to create commands, here's an example list:\n\n```\nhelp - Show this help message.\npurge - Purge the cached content from the database.\nsummarize - Summarize the message you replied to or the message with a link.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffernvenue%2Fsummarize-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffernvenue%2Fsummarize-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffernvenue%2Fsummarize-telegram-bot/lists"}