Skip to content

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

License

Notifications You must be signed in to change notification settings

sollidy/telegram-bot-vercel-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Bot Vercel Boilerplate

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

This template inspired by Telegram Bot Boilerplate for easily deploy to Vercel.

Live Demo

Before you start

First rename .env-sample file to .env and fill in all necessary values.

BOT_TOKEN="<YOUR_BOT_API_TOKEN>"

Start your local server

yarn
yarn 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.

Reference to this update, you need turn off Vercel Authentication, Settings => Deployment Protection

Feel free to create PR!

Demo

You can see a working version of the bot at @Node_api_m_bot