cf-workers-telegram-bot

Run a Telegram bot and Svelte web application on Cloudflare Workers and Pages with this project.

github.com/codebam/cf-workers-telegram-bot
cf-workers-telegram-bot homepage screenshot

About cf-workers-telegram-bot

This open-source repository contains a Telegram bot built with grammY and a Svelte 5 web application that interacts with the bot. Both are designed to run on Cloudflare Workers and Pages. The repository is structured as a monorepo with the bot, the web app, and a shared package for types and helpers. It includes setup, deployment, and release instructions.

Deployment requires a Telegram bot token from @BotFather, Wrangler authentication through a Cloudflare account, and configured secrets. The development and production environments must point at different KV namespaces and Vectorize indexes. Web search is optional and requires a separate Tavily API key. The source does not state the cost of running the bot or web app on Cloudflare.

Key features

  • Telegram bot built with the grammY framework, deployed to Cloudflare Workers
  • SvelteKit 5 web application deployed to Cloudflare Pages
  • Shared package of types and helpers used by both the bot and web app
  • Optional web search through the Tavily API
  • GitHub Actions deploys the bot to a dev environment on push to master
  • Release script that creates per-component tags, with optional GPG-signed tags
Best for: Developers who want a starting codebase for a Telegram bot and companion web app running on Cloudflare Workers and Pages.
Good for
  • Released under the Apache-2.0 open-source license
  • Setup, deployment, and release steps are documented in the repository
  • Includes GitHub Actions workflows for deploying the bot and web app
Watch out for
  • Requires a Telegram bot token from @BotFather and Cloudflare Wrangler login
  • The dev and production environments must use different KV namespaces and Vectorize indexes
  • Web search requires an optional TAVILY_API_KEY secret, which is not included

cf-workers-telegram-bot at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

cf-workers-telegram-bot alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in APIs & Databases

Well-known listings from the same topic.

All 93

cf-workers-telegram-bot FAQ

How do I register the Telegram webhook after deploying the bot?
Run a curl request to the worker host with the command=set parameter and your SECRET_ADMIN_TOKEN. The source says to do this once for each deploy target.
Is web search included by default?
No. Web search is optional and requires setting the TAVILY_API_KEY secret for the bot.
How do I clone the repository with its components?
Use git clone with the --recursive flag, because the bot and web app are included as Git submodules.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing