telegram-bot-boilerplate icon indicating copy to clipboard operation
telegram-bot-boilerplate copied to clipboard

🤖 Modern Telegram Bot Starter kit based on Node.js and Telegraf framework.

Telegram Bot Boilerplate

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

Before you start

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

BOT_TOKEN="<YOUR_BOT_API_TOKEN>"
USERNAME="<YOUR_BOT_USERNAME>"
WEBHOOK_URL="<THE_URL_OF_YOUR_WEBHOOK>"
PORT="<PORT>"

For deployment just create .env.prod with your production values.

Start your server

yarn install
yarn dev

Pull Requests are welcomed :)