Skip to content
@gramiojs

GramIO

TypeScript/JavaScript Telegram Bot API Framework for create your bots with convenience!

GramIO

Bot API npm JSR JSR Score

TypeScript/JavaScript Telegram Bot API Framework for create your bots with convenience!

Extensible - Our plugin and hook system is awesome

🛡️ Type-safe - Written in TypeScript with love ❤️

🌐 Multi-runtime - Works on Node.js, Bun and Deno*

⚙️ Code-generated - Many parts are code-generated (for example, code-generated and auto-published Telegram Bot API types)

Deno* windows-specific issue with undici

To create your new bot, you just need to write it to the console:

npm create gramio ./bot

and GramIO customize your project the way you want it!

Example

import { Bot } from "gramio";

const bot = new Bot()
    .command("start", (context) => context.send("Hello!"))
    .onStart(({ info }) => console.log(`✨ Bot ${info.username} was started!`));

bot.start();

For more, please see documentation.

Pinned

  1. gramio gramio Public

    Powerful Telegram Bot API framework

    TypeScript 11

  2. documentation documentation Public

    GramIO framework documentation

    TypeScript 2

  3. types types Public

    Code-generated and Auto-published Telegram Bot API types

    TypeScript 5

Repositories

Showing 10 of 20 repositories
  • create-gramio Public

    Scaffolding your GramIO project with the environment with easy!

    TypeScript 2 0 1 8 Updated May 22, 2024
  • documentation Public

    GramIO framework documentation

    TypeScript 2 0 0 0 Updated May 21, 2024
  • i18n Public

    is plugin provide internationalization for your bots with Fluent syntax

    TypeScript 2 0 0 0 Updated May 21, 2024
  • gramio Public

    Powerful Telegram Bot API framework

    TypeScript 11 0 0 0 Updated May 20, 2024
  • format Public

    Library for formatting text for Telegram Bot API

    TypeScript 2 0 0 0 Updated May 20, 2024
  • media-group Public

    Media group collector plugin for GramIO

    TypeScript 1 0 0 0 Updated May 19, 2024
  • prompt Public

    Prompt plugin for GramIO

    TypeScript 2 0 0 0 Updated May 19, 2024
  • keyboards Public

    Framework-agnostic Telegram bot keyboard builder with many cool features!

    TypeScript 3 1 0 0 Updated May 18, 2024
  • examples Public
    TypeScript 2 0 0 0 Updated May 16, 2024
  • autoload Public

    Autoload commands plugin for GramIO

    TypeScript 2 0 0 0 Updated May 14, 2024

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…