Skip to content
TypeScript Telegram Bot Framework

VibeGram Telegram Bot Framework

Build production-ready Telegram bots with middleware, webhooks, conversations, sessions, framework adapters, and broad Bot API v9.6 coverage.

Install package
npm install vibegram
Node.js 18+modern runtime
CJS + ESMdual output
Bot API 9.6broad coverage
Strict TStyped DX

The core bot workflow in one framework

The homepage now points developers to the practical path: understand the pipeline, choose an adapter, then reach for the API surfaces they need.

Middleware

Async onion-model pipeline for commands, filters, plugins, and multi-step flows.

Webhook adapters

Express, Fastify, Hono, Koa, and native HTTP with secret token validation.

Conversations

Async wait-state conversations for natural bot dialogs that stay testable.

Sessions

Per-user and per-chat state with storage adapters and approachable typing.

Bot API coverage

Modern context methods and types for messages, media, admin, business, and new flows.

Production

Built for production runtime

VibeGram keeps the important pieces explicit: typed APIs, predictable launch modes, adapter boundaries, and errors you can reason about.

TypeScript strict

Clearer API contracts.

CJS + ESM

Safe for modern Node setups.

Webhook security

Secret token validation.

Rate limit

Built-in throttle middleware.

Observability

Lifecycle hooks and logger.

From install to launch without ceremony

A short path that mirrors the docs structure: install, create a bot, add handlers, then choose polling or webhook mode.

01

Install

Add the package to a Node.js project.

npm install vibegram
02

Create bot

Create a Bot instance with a token from env.

const bot = new Bot(process.env.BOT_TOKEN!)
03

Add handlers

Compose commands, filters, middleware, and scenes.

bot.command('start', ctx => ctx.reply('Ready'))
04

Launch

Choose local polling or production webhooks.

await bot.launch()

Keep moving through the docs

Start with the quickstart when you are exploring, or jump into API reference when you are integrating an existing bot.

Released under the ISC License.