Skip to content

adaptive/cloudflare-telegram

Repository files navigation

Notification Worker for Telegram

Webhook to integrate with Telegram Bot API, connecting Cloudflare and send notifications to Telegram.

🛠️ Usage

Webhook

Set up a webhook on your Cloudflare Notifications and point it to the following URL:

https://cloudflare-telegram.adaptive.workers.dev/telegram/:user

API Tests Keys as your Webhook Secret

46b05bb8-8a5e-4f09-9ed3-5f58ff3bc972 5d5d59b3-2090-4941-a05b-445b444dfbb5 9587a8e7-26fd-45a0-9386-6b3ae85283de c8c685-ee25-4273-8690-9d34bdfacd26 e8b2d730-c4c3-467d-8b17-ca7d5dc8ff58

If using your own bot, setup Enviroment Variable TeleramToken with your bot token

  • Cloudflare Workers (The App)
  • Cloudflare Workers KV (API Keys Storage)
  • Durable Objects (Rate Limiter)

Cloudflare Workers provides a serverless execution environment that allows you to create entirely new applications or augment existing ones without configuring or maintaining infrastructure.

Cloudflare Workers KV provides access to a secure low latency key-value store at all of the data centers in Cloudflare's global network.

Durable Objects provide low-latency coordination and consistent storage for the Workers platform through two features: global uniqueness and a transactional storage API.

🧡 Future

Connected notification services today only supports PagerDuty, with this Spring Challenge Cloudflare Worker Telegram can be a great addition. Notifications Team wanna talk?!

About

Notification Worker for Telegram

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published