{"id":20536063,"url":"https://github.com/techprober/telegram-webhook-forwarder-bot","last_synced_at":"2025-09-17T16:48:05.997Z","repository":{"id":61422172,"uuid":"551403754","full_name":"techprober/telegram-webhook-forwarder-bot","owner":"techprober","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-21T15:28:07.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-16T13:57:49.836Z","etag":null,"topics":["serverless","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techprober.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}},"created_at":"2022-10-14T10:36:09.000Z","updated_at":"2022-10-14T15:51:57.000Z","dependencies_parsed_at":"2023-01-20T07:20:40.199Z","dependency_job_id":null,"html_url":"https://github.com/techprober/telegram-webhook-forwarder-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techprober%2Ftelegram-webhook-forwarder-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techprober%2Ftelegram-webhook-forwarder-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techprober%2Ftelegram-webhook-forwarder-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techprober%2Ftelegram-webhook-forwarder-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techprober","download_url":"https://codeload.github.com/techprober/telegram-webhook-forwarder-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242142176,"owners_count":20078676,"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":["serverless","telegram-bot"],"created_at":"2024-11-16T00:35:13.659Z","updated_at":"2025-09-17T16:48:00.930Z","avatar_url":"https://github.com/techprober.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e💬 Telegram Webhook Forwarder Bot\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n    \u003cem\u003eChatOps as a Service\u003c/em\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/TechProber/ci-bot?color=critical\" alt=\"License\"/\u003e\n    \u003cimg src=\"https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Ftechprober%2Ftelegram-webhook-forwarder-bot\u0026count_bg=%238032AA\u0026title_bg=%23555555\u0026icon=\u0026icon_color=%23E7E7E7\u0026title=hits\u0026edge_flat=false\"/\u003e\n    \u003cimg src=\"https://custom-icon-badges.herokuapp.com/github/issues-pr-closed/techprober/telegram-webhook-forwarder-bot?color=purple\u0026logo=git-pull-request\u0026logoColor=white\"/\u003e\n    \u003cimg src=\"https://img.shields.io/github/last-commit/techprober/telegram-webhook-forwarder-bot\" alt=\"lastcommit\"/\u003e\n\u003c/p\u003e\n\n## Introduction\n\nCopyRight 2022 TechProber. All rights reserved.\n\nMaintainer: [ Kevin Yu (@yqlbu) ](https://github.com/yqlbu)\n\nThe `telegram-webhook-forwarder-bot` forwards any incoming webhooks to the target telegram chat.\n\nThe bot is written in Python with Web Server Gateway Interface (WSGI) and Flask\n\n## Prerequisites\n\nInstall depedencies\n\n```bash\n./install\n```\n\nConfigure Environment with `.env`\n\n```\n# .env\nAPI_TOKEN=\nCHAT_ID=\nWEBHOOK_PATH=\nPORT=\n```\n\nNotes:\n\n- `API_TOKEN` can be obtained by [BotFather](https://t.me/botfather?start=botostore)\n- `CHAT_ID` can be obtained by sharing the chat to the [IDBot](https://t.me/username_to_id_bot?start=botostore)\n- `WEBHOOK_PATH` is the api endpoint as part of the webhook url. e.g. `/webhook/hello`\n- `PORT` is the port that the server listens to when running the bot locally\n\n## Usage\n\nActivate the virtual environment\n\n```bash\n# bash\n. ./venv/bin/activate\n# fish\n. ./venv/bin/activate.fish\n```\n\nSpin up the local server for debugging\n\n```bash\npython3 server.py\n```\n\n## Deploy\n\nThis bot can be hosted as a serverless function. e.g hosted on [Vercel](https://vercel.com/)\n\n```bash\n# install vercel client (cli)\nnpm -g install vercel\n# login and authenticate\nverlcel\n# publish a new deployment and automatically promote it to production\nvercel --prod\n```\n\n## References\n\n- [Github - pyTelegramBotAPI](https://github.com/eternnoir/pyTelegramBotAPI)\n- [Vercel Advanced Python Usage - Web Server Gateway Interface](https://vercel.com/docs/runtimes#advanced-usage/advanced-python-usage/web-server-gateway-interface)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechprober%2Ftelegram-webhook-forwarder-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechprober%2Ftelegram-webhook-forwarder-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechprober%2Ftelegram-webhook-forwarder-bot/lists"}