{"repo":"sxzz/telegram-bot-starter","free":true,"listed":false,"github":"https://github.com/sxzz/telegram-bot-starter","clone":"git clone https://github.com/sxzz/telegram-bot-starter.git","description":"A starter template for Telegram bots on Serverless, with Vercel, Netlify, Cloudflare, and more support.","language":"TypeScript","stars":84,"topics":["bot","netlify","nitro","nitropack","telegraf","telegram","vercel","starter","template","serverless"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Telegram Bot Starter A starter template for Telegram bots on Serverless, with Vercel, Netlify, and more support. Built top of Nitro and grammY. Local Development 1. Create a bot with @BotFather, and get the bot token. 2. Clone this repo. 3. Run pnpm install to install dependencies. 4. Copy .env.example to .env , and fill in the BOT TOKEN and TOKEN in .env . 5. Run pnpm dev to start the development server. 6. Expose your local server to the internet with Local Port Forwarding of VSCode ( set Port Visibility to Public ) or ngrok. 7. Visit https://your-domain.com/set-webhook?token=TOKEN 8. Send /start to your bot. Deployment 1. Deploy on Vercel, Netlify or others, with BOT TOKEN and TOKEN environment variables. 2. Visit https://your-domain.com/set-webhook?token=TOKEN 3. Send /start to your bot. Credits Thanks to the project jsjoeio/telegram-bot-template. Sponsors License MIT License © 2024 三咲智子 Kevin Deng","default_branch":null,"files":null,"tree":[],"storefront":"/r/sxzz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sxzz/telegram-bot-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}