Skip to content

Repository files navigation

Telegraf Cloudflare Telegram Bot Boilerplate

Workflow

  1. Register on Cloudflare
  2. Register Telegram Bot
  3. Clone the repo
  4. Create .dev.vars using .dev.vars.example
  5. Set compatibility date in wrangler.toml
  6. Run (wrangler installation):
    npm run setup
    
  7. Run to tell the bot to use the correct cloudflare worker
    npm run set-webhook
    
  8. Start development with
    npm run start
    
  9. ...do something awesome...
  10. (OPTIONAL) run npm run set-webhook if you've changed BOT_DOMAIN in .dev.vars
  11. Deploy with:
    npm run deploy
    

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages