{"id":14964935,"url":"https://github.com/codebam/cf-workers-telegram-bot","last_synced_at":"2025-09-30T23:30:37.556Z","repository":{"id":36974828,"uuid":"459813878","full_name":"codebam/cf-workers-telegram-bot","owner":"codebam","description":"Telegram Bot library for CloudFlare Workers","archived":false,"fork":true,"pushed_at":"2025-09-22T04:06:02.000Z","size":6172,"stargazers_count":292,"open_issues_count":9,"forks_count":226,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-27T13:06:14.972Z","etag":null,"topics":["ai","cloudflare","llama2","llama3","mistral","telegram","telegram-business","webhook","worker"],"latest_commit_sha":null,"homepage":"https://t.me/TuxRobot","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"nikhiljohn10/telegram-bot-worker","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codebam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":["codebam"]}},"created_at":"2022-02-16T01:45:00.000Z","updated_at":"2025-09-22T10:07:18.000Z","dependencies_parsed_at":"2023-10-12T05:11:06.762Z","dependency_job_id":"3dc78429-16c7-43c3-998a-dca8a8d3a79c","html_url":"https://github.com/codebam/cf-workers-telegram-bot","commit_stats":{"total_commits":585,"total_committers":4,"mean_commits":146.25,"dds":"0.19487179487179485","last_synced_commit":"cd59d3fd005d23825d7625a57845d6abf86f8751"},"previous_names":[],"tags_count":149,"template":false,"template_full_name":null,"purl":"pkg:github/codebam/cf-workers-telegram-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebam%2Fcf-workers-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebam%2Fcf-workers-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebam%2Fcf-workers-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebam%2Fcf-workers-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codebam","download_url":"https://codeload.github.com/codebam/cf-workers-telegram-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebam%2Fcf-workers-telegram-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277295924,"owners_count":25794402,"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","status":"online","status_checked_at":"2025-09-27T02:00:08.978Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ai","cloudflare","llama2","llama3","mistral","telegram","telegram-business","webhook","worker"],"created_at":"2024-09-24T13:33:59.656Z","updated_at":"2025-09-30T23:30:37.257Z","avatar_url":"https://github.com/codebam.png","language":"TypeScript","funding_links":["https://github.com/sponsors/codebam"],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003ch3 align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/codebam/cf-workers-telegram-bot/master/assets/logo.png\" width=\"100\" /\u003e\n\u003cbr/\u003e\nCF Workers Telegram Bot\n\u003cbr/\u003e\n\u003c/h3\u003e\n\n\u003ch6 align=\"center\"\u003e\n  \u003ca href=\"https://codebam.github.io/cf-workers-telegram-bot/\"\u003eDocs\u003c/a\u003e\n  \u003ca href=\"https://github.com/codebam/cf-workers-telegram-bot/wiki\"\u003eWiki\u003c/a\u003e\n\u003c/h6\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/codebam/cf-workers-telegram-bot/stargazers\"\u003e  \u003cimg src=\"https://img.shields.io/github/stars/codebam/cf-workers-telegram-bot?style=for-the-badge\u0026logo=starship\u0026color=111111\u0026logoColor=ffffff\u0026labelColor=000000\" alt=\"GitHub stars\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/codebam/cf-workers-telegram-bot/issues\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/issues/codebam/cf-workers-telegram-bot?style=for-the-badge\u0026logo=gitbook\u0026color=111111\u0026logoColor=ffffff\u0026labelColor=000000\" alt=\"GitHub issues\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/codebam/cf-workers-telegram-bot\"\u003e  \u003cimg src=\"https://img.shields.io/github/forks/codebam/cf-workers-telegram-bot?style=for-the-badge\u0026logo=git\u0026color=111111\u0026logoColor=ffffff\u0026labelColor=000000\" alt=\"GitHub forks\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/@codebam/cf-workers-telegram-bot\"\u003e  \u003cimg src=\"https://img.shields.io/npm/v/@codebam/cf-workers-telegram-bot?style=for-the-badge\u0026logo=npm\u0026color=111111\u0026logoColor=ffffff\u0026labelColor=000000\" alt=\"npm version\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n![screenshot of cf-workers-telegram-bot](https://raw.githubusercontent.com/codebam/cf-workers-telegram-bot/master/assets/screenshot.png)\n\n```sh\nnpm i @codebam/cf-workers-telegram-bot\n```\n\nSee [cwtb-consumer](https://github.com/codebam/cwtb-consumer) for an example of what a bot might look like. Just import from `@codebam/cf-workers-telegram-bot`.\n\nSee [my blog post](https://seanbehan.ca/posts/cf-workers-telegram-bot) for a more in-depth guide for how to set up a bot.\n\n- `npm create cloudflare@latest`\n- `npx wrangler login`\n- `npx wrangler secret put SECRET_TELEGRAM_API_TOKEN`, set it to your telegram bot token that you got from `@BotFather`\n- `npx wrangler deploy`\n- Open this url in your browser to set your webhook `https://your-worker.username.workers.dev/SECRET_TELEGRAM_API_TOKEN?command=set`\n\nTo set up GitHub actions to deploy when you push, see https://github.com/cloudflare/wrangler-action\n\n---\n\nThese instructions are for if you want to deploy a copy of the bot along with\nthe library. Such as if you need extra API requests that haven't been\nimplemented yet.\n\n[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/codebam/cf-workers-telegram-bot)\n\n- Click the deploy button\n- Navigate to your new **GitHub repository \u0026gt; Settings \u0026gt; Secrets** and add the following secrets:\n\n  ```yaml\n  - Name: CLOUDFLARE_API_TOKEN  (should be added automatically)\n  - Name: CLOUDFLARE_ACCOUNT_ID (should be added automatically)\n\n  - Name: SECRET_TELEGRAM_API_TOKEN\n  - Value: your-telegram-bot-token\n  ```\n\n- Push to `master` to trigger a deploy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebam%2Fcf-workers-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodebam%2Fcf-workers-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebam%2Fcf-workers-telegram-bot/lists"}