/telegram-bot-vercel-boilerplate

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

Primary LanguageTypeScriptMIT LicenseMIT

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