{"id":13456806,"url":"https://github.com/tpai/summary-gpt-bot","last_synced_at":"2026-01-25T23:58:13.201Z","repository":{"id":159134344,"uuid":"625452108","full_name":"tpai/summary-gpt-bot","owner":"tpai","description":"An AI-powered text summarization Telegram bot that generates concise summaries of text, URLs, PDFs, and YouTube videos.","archived":false,"fork":false,"pushed_at":"2025-09-18T01:35:19.000Z","size":1412,"stargazers_count":237,"open_issues_count":0,"forks_count":33,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-08T01:09:02.672Z","etag":null,"topics":["gpt","summarytools","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tpai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-04-09T06:29:44.000Z","updated_at":"2025-12-05T14:02:48.000Z","dependencies_parsed_at":"2024-01-13T17:48:33.225Z","dependency_job_id":"6f4ad1b1-3a4d-4fda-baa6-431f9afafd57","html_url":"https://github.com/tpai/summary-gpt-bot","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/tpai/summary-gpt-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpai%2Fsummary-gpt-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpai%2Fsummary-gpt-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpai%2Fsummary-gpt-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpai%2Fsummary-gpt-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpai","download_url":"https://codeload.github.com/tpai/summary-gpt-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpai%2Fsummary-gpt-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28761829,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T23:06:19.311Z","status":"ssl_error","status_checked_at":"2026-01-25T23:03:50.555Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["gpt","summarytools","telegram-bot"],"created_at":"2024-07-31T08:01:28.128Z","updated_at":"2026-01-25T23:58:13.163Z","avatar_url":"https://github.com/tpai.png","language":"Python","funding_links":[],"categories":["Python","Chatbots"],"sub_categories":[],"readme":"# Summary GPT Bot\n\nAn AI-powered text summarization Telegram bot that generates concise summaries of text, URLs, PDFs and YouTube videos.\n\n## Features\n\n- Supports text\n- Supports URLs\n- Supports PDFs\n- Supports YouTube videos (no support for YouTube Shorts)\n\n## Usage\n\nLaunch a OpenAI GPT-4 summary bot that only can be used by your friends and you.\n\n```sh\ndocker run -d \\\n    -e LLM_MODEL=gpt-4 \\\n    -e OPENAI_API_KEY=$OPENAI_API_KEY \\\n    -e TELEGRAM_TOKEN=$YOUR_TG_TOKEN \\\n    -e TS_LANG=$YOUR_LANGUAGE \\\n    -e ALLOWED_USERS=\u003cfriend1_id\u003e,\u003cfriend2_id\u003e,\u003cyour_id\u003e \\\n    tonypai/summary-gpt-bot:latest\n```\n\nLaunch a summary bot using Azure OpenAI.\n\n```sh\ndocker run -d \\\n    -e AZURE_API_BASE=https://\u003cyour_azure_resource_name\u003e.openai.azure.com \\\n    -e AZURE_API_KEY=$AZURE_API_KEY \\\n    -e AZURE_API_VERSION=2024-02-15-preview \\\n    -e LLM_MODEL=azure/\u003cyour_deployment_name\u003e \\\n    -e TELEGRAM_TOKEN=$YOUR_TG_TOKEN \\\n    -e TS_LANG=$YOUR_LANGUAGE \\\n    tonypai/summary-gpt-bot:latest\n```\n\nLLM Variables\n\n| Environment Variable | Description |\n|----------------------|-------------|\n| AZURE_API_BASE       | API URL base for AZURE OpenAI API |\n| AZURE_API_KEY        | API key for AZURE OpenAI API |\n| AZURE_API_VERSION    | API version for AZURE OpenAI API |\n| OPENAI_API_KEY       | API key for OpenAI API |\n\nBot Variables\n\n| Environment Variable | Description |\n|----------------------|-------------|\n| CHUNK_SIZE           | The maximum token of a chunk when receiving a large input (default: 10000) |\n| LLM_MODEL            | LLM Model to use for text summarization (default: gpt-3.5-turbo-16k) |\n| TELEGRAM_TOKEN       | Token for Telegram API (required) |\n| TS_LANG              | Language of the text to be summarized (default: Taiwanese Mandarin) |\n| DDG_REGION           | The region of the duckduckgo search (default: wt-wt) 👉[Regions](https://github.com/deedy5/duckduckgo_search#regions) |\n| ALLOWED_USERS        | A list of user IDs allowed to use. Asking @myidbot for Telegram ID (optional) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpai%2Fsummary-gpt-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpai%2Fsummary-gpt-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpai%2Fsummary-gpt-bot/lists"}