- Register on Cloudflare
- Register Telegram Bot
- Clone the repo
- Create
.dev.vars
using.dev.vars.example
- Set compatibility date in
wrangler.toml
- Run (wrangler installation):
npm run setup
- Run to tell the bot to use the correct cloudflare worker
npm run set-webhook
- Start development with
npm run start
- ...do something awesome...
- (OPTIONAL) run
npm run set-webhook
if you've changedBOT_DOMAIN
in.dev.vars
- Deploy with:
npm run deploy
-
Notifications
You must be signed in to change notification settings - Fork 2
ShiiRochi/telegraf-cloudflare-telegram-bot-boilerplate
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Boilerplate for creating telegram bots using telegraf and cloudflare workers
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published