{"id":13483368,"url":"https://github.com/botgram/botgram","last_synced_at":"2025-03-27T14:31:14.842Z","repository":{"id":52001263,"uuid":"49835981","full_name":"botgram/botgram","owner":"botgram","description":"⚙️ Microframework to build Telegram bots","archived":false,"fork":false,"pushed_at":"2021-05-08T10:39:39.000Z","size":621,"stargazers_count":271,"open_issues_count":9,"forks_count":55,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-02T11:05:45.696Z","etag":null,"topics":["bots","nodejs","telegram-api"],"latest_commit_sha":null,"homepage":"https://botgram.js.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/botgram.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}},"created_at":"2016-01-17T21:17:17.000Z","updated_at":"2025-01-06T08:28:47.000Z","dependencies_parsed_at":"2022-08-28T06:30:58.946Z","dependency_job_id":null,"html_url":"https://github.com/botgram/botgram","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botgram%2Fbotgram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botgram%2Fbotgram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botgram%2Fbotgram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botgram%2Fbotgram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/botgram","download_url":"https://codeload.github.com/botgram/botgram/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245863066,"owners_count":20684782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bots","nodejs","telegram-api"],"created_at":"2024-07-31T17:01:10.505Z","updated_at":"2025-03-27T14:31:14.460Z","avatar_url":"https://github.com/botgram.png","language":"JavaScript","readme":"[![Botgram](./docs/splash.png)](https://botgram.js.org)\n\n[Bots] are special Telegram users controlled with an HTTP API. Botgram\naims to expose the capabilities of this API with a very clear and minimal\nsyntax, so you can create Telegram bots easily.\n\n~~~ js\nconst botgram = require(\"botgram\")\nconst bot = botgram(\"\u003cauth token\u003e\")\n\nbot.command(\"start\", \"help\", (msg, reply) =\u003e\n  reply.text(\"To schedule an alert, do: /alert \u003cseconds\u003e \u003ctext\u003e\"))\n\nbot.command(\"alert\", (msg, reply, next) =\u003e {\n  var [ seconds, text ] = msg.args(2)\n  if (!seconds.match(/^\\d+$/) || !text) return next()\n\n  setTimeout(() =\u003e reply.text(text), Number(seconds) * 1000)\n})\n\nbot.command((msg, reply) =\u003e\n  reply.text(\"Invalid command.\"))\n~~~\n\n### Features\n\n - Simple, intuitive API.\n - Quick setup; just put your auth token and you're in business.\n - Exposes all functionality in the Bot API 2.3.1, including custom\n   keyboards, inline keyboards, force reply, chat actions, deep\n   linking, kicking users, editing messages, notifications...\n - Ability to stream downloads and uploads.\n - Powerful, [connect]-style message handling and filtering.\n\nBots API version implemented: December 4, 2016\n\n### Install\n\n~~~ bash\nnpm install botgram\n~~~\n\n**Follow the [tutorial], take a look at more [examples],\nor consult the [documentation].**\n\n\n\n[bots]: https://core.telegram.org/bots\n[connect]: https://github.com/senchalabs/connect\n\n[tutorial]: https://github.com/botgram/botgram/blob/master/docs/tutorial.md\n[examples]: https://github.com/botgram/botgram/tree/master/examples\n[documentation]: https://github.com/botgram/botgram/blob/master/docs/index.md\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotgram%2Fbotgram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbotgram%2Fbotgram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotgram%2Fbotgram/lists"}