Skip to content

vdistortion/telegram-bot-vercel-boilerplate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Bot Vercel Boilerplate

Telegram Bot Vercel Boilerplate based on Node.js and grammY framework.

Open in StackBlitz

Before you start

First copy .env.example file to .env and fill in all necessary values.

TELEGRAM_BOT_TOKEN="<YOUR_BOT_API_TOKEN>"

Start your local server

npm ci
npm run dev

Production

You can fork this template and do the necessary changes you need. Then you when are done with your changes simply goto vercel git import.

Import the .env file in the settings: Settings => Environment Variables.

The webhook is usually set automatically. If not, open the following URL to trigger manual setup: https://YOUR_DOMAIN.vercel.app/.

Feel free to create PR!

Links

About

📦 Telegram Bot Starter kit based on Node.js and grammY for deploying on Vercel.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 84.9%
  • HTML 15.1%