GrammYVercel
🤖 @grammyjs template for @Vercel
Install / Use
/learn @PonomareVlad/GrammYVercelREADME
Telegram Bot Template for Vercel
This template is built on the grammY, thanks to which it supports both Serverless (Node.js) and Edge Runtime.
How to use
A. Click the Deploy button ...
... and follow the instructions on next page.
B. Click the Use this template button ...
... and connect the repository to your project on Vercel.
C. Clone the template to your host ...
... and run the bot locally.
Workflow
Local development
- Install dependencies (
npm i) and link Vercel project - Pull
envs from Vercel (
npm run env) or set them in a.envfile - Run the bot
in polling mode (
npm start) or use the Vercel dev server
Vercel deployment
When you push a commit to a GitHub repository, Vercel runs build script and assigns a unique URL that will be set as the URL for incoming webhooks.
Lifecycle
Until you run the bot locally, your code will run on the Vercel side, where you can view runtime logs and usage.
About this template
Environment variables
Telegram bot token from @BotFather (required)
TELEGRAM_BOT_TOKEN = "..."
Secret token for incoming requests (optional)
TELEGRAM_SECRET_TOKEN = "..."
Credits
Made with 🌚 by Vladislav Ponomarev
Related Skills
node-connect
347.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
