{"id":15011494,"url":"https://github.com/mtkruto/mtkruto","last_synced_at":"2026-05-10T22:24:33.826Z","repository":{"id":163237160,"uuid":"622257063","full_name":"MTKruto/MTKruto","owner":"MTKruto","description":"Cross-runtime JavaScript library for building Telegram clients","archived":false,"fork":false,"pushed_at":"2026-04-01T18:21:46.000Z","size":5567,"stargazers_count":157,"open_issues_count":1,"forks_count":14,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-02T06:26:10.457Z","etag":null,"topics":["bun","deno","mtproto","nodejs","telegram"],"latest_commit_sha":null,"homepage":"https://mtkru.to","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MTKruto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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-04-01T15:25:03.000Z","updated_at":"2026-04-01T18:16:04.000Z","dependencies_parsed_at":"2026-04-04T08:01:02.646Z","dependency_job_id":null,"html_url":"https://github.com/MTKruto/MTKruto","commit_stats":{"total_commits":1155,"total_committers":8,"mean_commits":144.375,"dds":"0.18181818181818177","last_synced_commit":"8a50ffc04062b3bb31647c4abadcadc6808d4b3d"},"previous_names":[],"tags_count":384,"template":false,"template_full_name":null,"purl":"pkg:github/MTKruto/MTKruto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MTKruto%2FMTKruto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MTKruto%2FMTKruto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MTKruto%2FMTKruto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MTKruto%2FMTKruto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MTKruto","download_url":"https://codeload.github.com/MTKruto/MTKruto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MTKruto%2FMTKruto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31392188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"last_error":"SSL_read: 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","deno","mtproto","nodejs","telegram"],"created_at":"2024-09-24T19:41:09.774Z","updated_at":"2026-04-04T08:01:21.953Z","avatar_url":"https://github.com/MTKruto.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# MTKruto\n\nCross-runtime JavaScript library for building Telegram clients\n\n###### [Documentation](https://mtkruto.deno.dev) / [API Reference](https://deno.land/x/mtkruto/mod.ts) / [Discussion Chat](https://t.me/MTKrutoChat) / [License](#license)\n\n\u003c/div\u003e\n\n### Key Features\n\n- **Cross-runtime.** Supports Node.js, Deno, browsers, and Bun.\n- **Type-safe.** Written in TypeScript with accurate typings.\n- **Prioritizes the Web.** Prefers Web APIs over runtime-specific APIs.\n- **Easy-to-use.** Provides its own high-level API on top of the Telegram API.\n- **Extensible.** Its middleware system lets you integrate external code.\n\n\u003e Note: MTKruto has not reached version 1.0.0 yet. While it can run in production, we currently do not recommend depending on it for critical projects.\n\n## Get Started\n\n### Node.js\n\n```ts\nconst { Client, getRandomId } = require(\"@mtkruto/node\"); // npm install @mtkruto/node\n\nconst client = new Client();\nawait client.connect();\n\nconst pong = await client.invoke({ _: \"ping\", ping_id: getRandomId() });\nconsole.debug(pong);\n```\n\n### Deno\n\n```ts\nimport { Client, getRandomId } from \"https://deno.land/x/mtkruto/mod.ts\";\n\nconst client = new Client();\nawait client.connect();\n\nconst pong = await client.invoke({ _: \"ping\", ping_id: getRandomId() });\nconsole.debug(pong);\n```\n\n### Browsers\n\n```html\n\u003cscript type=\"module\"\u003e\n  import { Client, getRandomId } from \"https://cdn.jsdelivr.net/npm/@mtkruto/browser/esm/mod.js\";\n\n  const client = new Client();\n  await client.connect();\n\n  const pong = await client.invoke({ _: \"ping\", ping_id: getRandomId() });\n  console.debug(pong);\n\u003c/script\u003e\n```\n\n### Bun\n\n```ts\nimport { Client, getRandomId } from \"@mtkruto/node\"; // bun add @mtkruto/node\n\nconst client = new Client();\nawait client.connect();\n\nconst pong = await client.invoke({ _: \"ping\", ping_id: getRandomId() });\nconsole.debug(pong);\n```\n\n## License\n\nMTKruto is made open-source under the GNU Lesser General Public License version 3, or at your option, any later version. Refer to [COPYING](./COPYING) and [COPYING.LESSER](./COPYING.LESSER) for more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtkruto%2Fmtkruto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtkruto%2Fmtkruto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtkruto%2Fmtkruto/lists"}