{"id":13454342,"url":"https://github.com/gramiojs/gramio","last_synced_at":"2026-02-14T19:05:55.525Z","repository":{"id":222983241,"uuid":"713502591","full_name":"gramiojs/gramio","owner":"gramiojs","description":"Powerful, extensible and really type-safe Telegram Bot API framework","archived":false,"fork":false,"pushed_at":"2025-09-07T17:03:53.000Z","size":386,"stargazers_count":154,"open_issues_count":2,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-07T19:08:33.233Z","etag":null,"topics":["bun","framework","nodejs","telegram","telegram-api","telegram-bot","telegram-bot-api","telegram-framework","typescript"],"latest_commit_sha":null,"homepage":"https://gramio.dev/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gramiojs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-02T16:42:36.000Z","updated_at":"2025-09-07T17:02:47.000Z","dependencies_parsed_at":"2024-03-08T15:43:55.640Z","dependency_job_id":"62b60558-cefd-4f61-8458-8366222f2752","html_url":"https://github.com/gramiojs/gramio","commit_stats":null,"previous_names":["gramiojs/gramio"],"tags_count":61,"template":false,"template_full_name":null,"purl":"pkg:github/gramiojs/gramio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gramiojs%2Fgramio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gramiojs%2Fgramio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gramiojs%2Fgramio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gramiojs%2Fgramio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gramiojs","download_url":"https://codeload.github.com/gramiojs/gramio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gramiojs%2Fgramio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29452640,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bun","framework","nodejs","telegram","telegram-api","telegram-bot","telegram-bot-api","telegram-framework","typescript"],"created_at":"2024-07-31T08:00:53.230Z","updated_at":"2026-02-14T19:05:55.520Z","avatar_url":"https://github.com/gramiojs.png","language":"TypeScript","readme":"# GramIO\n\n\u003cdiv align=\"center\"\u003e\n\n[![Bot API](https://img.shields.io/badge/Bot%20API-9.0-blue?logo=telegram\u0026style=flat\u0026labelColor=000\u0026color=3b82f6)](https://core.telegram.org/bots/api)\n[![npm](https://img.shields.io/npm/v/gramio?logo=npm\u0026style=flat\u0026labelColor=000\u0026color=3b82f6)](https://www.npmjs.org/package/gramio)\n[![npm downloads](https://img.shields.io/npm/dw/gramio?logo=npm\u0026style=flat\u0026labelColor=000\u0026color=3b82f6)](https://www.npmjs.org/package/gramio)\n[![JSR](https://jsr.io/badges/@gramio/core)](https://jsr.io/@gramio/core)\n[![JSR Score](https://jsr.io/badges/@gramio/core/score)](https://jsr.io/@gramio/core)\n\n\u003c/div\u003e\n\nTypeScript/JavaScript Telegram Bot API Framework for create your bots with convenience!\n\n✨ **Extensible** - Our [plugin](https://gramio.dev/plugins/) and [hook](https://gramio.dev/hooks/overview) system is awesome\n\n🛡️ **Type-safe** - Written in TypeScript with love ❤️\n\n🌐 **Multi-runtime** - Works on [Node.js](https://nodejs.org/), [Bun](https://bun.sh/) and [Deno](https://deno.com/)\n\n⚙️ **Code-generated** - Many parts are code-generated (for example, [code-generated and auto-published Telegram Bot API types](https://github.com/gramiojs/types))\n\n## [Get started](https://gramio.dev/get-started)\n\nTo create your new bot, you just need to write it to the console:\n\n```bash [npm]\nnpm create gramio@latest ./bot\n```\n\nand GramIO customize your project the way you want it!\n\n### Example\n\n```typescript\nimport { Bot } from \"gramio\";\n\nconst bot = new Bot(process.env.TOKEN as string)\n    .command(\"start\", (context) =\u003e context.send(\"Hello!\"))\n    .onStart(({ info }) =\u003e console.log(`✨ Bot ${info.username} was started!`));\n\nbot.start();\n```\n\nFor more, please see [documentation](https://gramio.dev).\n\n### GramIO in action\n\nExample which uses some interesting features.\n\n```ts\nimport { Bot, format, bold, code } from \"gramio\";\nimport { findOrRegisterUser } from \"./utils\";\n\nconst bot = new Bot(process.env.BOT_TOKEN as string)\n    .derive(\"message\", async () =\u003e {\n        const user = await findOrRegisterUser();\n\n        return {\n            user,\n        };\n    })\n    .on(\"message\", (context) =\u003e {\n        context.user; // typed\n\n        return context.send(format`\n        Hi, ${bold(context.user.name)}! \n        You balance: ${code(context.user.balance)}`);\n    });\n```\n","funding_links":[],"categories":["TypeScript","Bots"],"sub_categories":["Bot Libs"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgramiojs%2Fgramio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgramiojs%2Fgramio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgramiojs%2Fgramio/lists"}