{"id":24115642,"url":"https://github.com/bstrdlord/zgram","last_synced_at":"2025-09-18T04:31:11.207Z","repository":{"id":253004779,"uuid":"842172229","full_name":"bstrdlord/zgram","owner":"bstrdlord","description":"the best (as of 2024) zig framework for creating telegram bots ","archived":false,"fork":false,"pushed_at":"2024-10-13T16:37:32.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T23:21:08.292Z","etag":null,"topics":["framework","telegram","telegram-bot","telegram-framework","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bstrdlord.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-08-13T20:22:11.000Z","updated_at":"2024-10-18T22:52:53.000Z","dependencies_parsed_at":"2025-01-04T12:18:54.133Z","dependency_job_id":null,"html_url":"https://github.com/bstrdlord/zgram","commit_stats":null,"previous_names":["blockkwork/zgram","bstrdlord/zgram"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bstrdlord%2Fzgram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bstrdlord%2Fzgram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bstrdlord%2Fzgram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bstrdlord%2Fzgram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bstrdlord","download_url":"https://codeload.github.com/bstrdlord/zgram/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233446358,"owners_count":18677488,"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":["framework","telegram","telegram-bot","telegram-framework","zig"],"created_at":"2025-01-11T06:13:13.398Z","updated_at":"2025-09-18T04:31:05.913Z","avatar_url":"https://github.com/bstrdlord.png","language":"Zig","readme":"# zgram\n\n## 💡 Info\nIn development. use at your own risk\n\n## 🚀 Example\nfull example: [src/main.zig](https://github.com/blockkwork/zgram/blob/main/src/main.zig)\n\n```zig\n    var gpa = std.heap.GeneralPurposeAllocator(.{}){};\n    const allocator = gpa.allocator();\n\n    var tg = try Client.init(allocator, TOKEN, .{});\n    {\n        try tg.handleAll(handleKeyboard); // handle all messages\n        try tg.command(\"start\", handleAll); // handle /start command\n        try tg.hears(\"hello from zgram!\", handleAll); // handle message\n        try tg.action(\"data1\", handleQuery); // handle callback query\n    }\n    try tg.startPolling(.{ .drop_pending_updates = true });\n```\n\n![image](https://github.com/user-attachments/assets/fa302fab-4230-4298-883d-e2f8c77454ce)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbstrdlord%2Fzgram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbstrdlord%2Fzgram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbstrdlord%2Fzgram/lists"}