{"repo":"bot-base/telegram-bot-template","free":true,"listed":false,"github":"https://github.com/bot-base/telegram-bot-template","clone":"git clone https://github.com/bot-base/telegram-bot-template.git","description":"Telegram bot template based on grammY","language":"TypeScript","stars":443,"topics":["telegram-bot","grammy","telegram-bot-api","telegram-api","prisma","grammyjs","starter-template","template","bot","telegram"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"🤖 Telegram Bot Template Bot starter template based on grammY bot framework. Features - Scalable structure - Config loading and validation - Internationalization, language changing - Graceful shutdown - Logger (powered by pino) - Ultrafast and multi-runtime server (powered by hono) - Ready-to-use deployment setups: - Docker - Vercel - Examples: - grammY plugins: - Conversations - Databases: - Prisma ORM - Runtimes: - Bun Usage Follow these steps to set up and run your bot using this template: 1. Create a New Repository Start by creating a new repository using this template. You can do this by clicking here. 2. Environment Variables Setup Create an environment variables file by copying the provided example file: Open the newly created .env file and set the BOT TOKEN environment variable. 3. Launching the Bot You can run your bot in both development and production modes. Development Mode: Install the required dependencies: Start the bot in watch mode (auto-reload when code changes): Production Mode: Install only production dependencies: Set DEBUG environment variable to false in your .env file. Start the bot in production mode: List of Available Commands - npm run lint — Lint source code. - npm run format — Format source code. - npm run typecheck — Run type checking. - npm run dev — Start the bot in development mode. - npm run start — Start the bot. - npm run start:force — Starts the bot without type checking. Directory Structure Deploy Docker (docker.com) Branch: deploy/docker","default_branch":null,"files":null,"tree":[],"storefront":"/r/bot-base","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bot-base/telegram-bot-template/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."}