{"id":20151876,"url":"https://github.com/g4s8/openbots","last_synced_at":"2026-02-10T23:31:02.722Z","repository":{"id":60212733,"uuid":"526130708","full_name":"g4s8/openbots","owner":"g4s8","description":"Telegram bot framework with declarative YAML specification","archived":false,"fork":false,"pushed_at":"2024-08-11T11:56:59.000Z","size":235,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T20:52:08.489Z","etag":null,"topics":["go","telegram","telegram-bot","yaml"],"latest_commit_sha":null,"homepage":"https://g4s8.github.io/openbots","language":"Go","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/g4s8.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}},"created_at":"2022-08-18T08:49:23.000Z","updated_at":"2024-08-11T11:57:02.000Z","dependencies_parsed_at":"2023-12-07T21:29:44.478Z","dependency_job_id":"49513f00-fe89-4a73-9705-41a2c4cdab33","html_url":"https://github.com/g4s8/openbots","commit_stats":{"total_commits":116,"total_committers":2,"mean_commits":58.0,"dds":"0.11206896551724133","last_synced_commit":"73f0ae3e95f01442d7b6c4d68bb4453db6eb66d4"},"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/g4s8/openbots","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4s8%2Fopenbots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4s8%2Fopenbots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4s8%2Fopenbots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4s8%2Fopenbots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g4s8","download_url":"https://codeload.github.com/g4s8/openbots/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4s8%2Fopenbots/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29321329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T20:44:44.282Z","status":"ssl_error","status_checked_at":"2026-02-10T20:44:43.393Z","response_time":65,"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":["go","telegram","telegram-bot","yaml"],"created_at":"2024-11-13T23:07:45.499Z","updated_at":"2026-02-10T23:31:02.705Z","avatar_url":"https://github.com/g4s8.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Telegram Bot framework with declarative YAML specification.\n\n[![CI](https://github.com/g4s8/openbots/actions/workflows/go.yml/badge.svg)](https://github.com/g4s8/openbots/actions/workflows/go.yml)\n[![Docker Pulls](https://img.shields.io/docker/pulls/g4s8/openbots)](https://hub.docker.com/r/g4s8/openbots)\n\n## Example\n\nWrite bot specification in `bot.yml` file:\n```yaml\nbot:\n  handlers:\n    - on:\n        message:\n          command: start\n      reply:\n        - message:\n            text: Hello\n            markup:\n              keyboard:\n                - [\"Hello!\"]\n                - [\"How are you?\"]\n    - on:\n        message: \"Hello!\"\n      reply:\n        - message:\n            text: \"Hi!\"\n    - on:\n        message: \"How are you?\"\n      reply:\n        - message:\n            text: \"I'm fine, thank you\"\n```\nCreate new Telegram bot and get its token: https://core.telegram.org/bots#6-botfather\n\nProvide this token to docker image as `BOT_TOKEN` environment.\n\nRun your bot:\n```sh\ndocker run \\\n    -v $PWD/bot.yml:/w/config.yml \\\n    --env BOT_TOKEN=\"$BOT_TOKEN\" \\\n    g4s8/openbots:latest\n```\n\n## Quick start\n\nSee [quick start](https://g4s8.github.io/openbots/quickstart/) guide to create Telegram bot in minutes.\n\n## Documentation\n\nThe full documentation is available here: [g4s8.github.io/openbots/documentation](https://g4s8.github.io/openbots/documentation/).\n\n## About\n\nThis is a Telegram bot framework which allows you to write low-code bot project. You delcare the bot in YAML specification\nfile and start the bot using CLI or Docker image.\n\nFull feature list:\n - [x] handle text messages\n - [x] handle bot commands\n - [x] handle inline queries callbacks (buttons)\n - [x] reply with text messages\n - [x] reply callbacks\n - [x] reply with inline buttons\n - [x] change keyboard layout (reply markup)\n - [x] reply with Markup, MarkupV2, HTML messages\n - [x] switch context, handle context-based updates\n - [x] keep state data and interpolate state in replies\n - [x] edit message\n - [x] reply with images\n - [ ] handle image messages\n - [x] delete messages\n - [x] API:\n   - [x] send message to particular user\n - [x] call webhook on update\n - [x] database storage\n - [x] payments\n - [x] validation\n - [x] state operations\n \n## Persistence\n\nBot can keep its state in two modes:\n - `memory` - store all data in memory\n - `database` - connect PostgreSQL database\n\nFor persistence configuration see [documentation](https://g4s8.github.io/openbots/persistence).\n\n## Extending\n\nThis bot could be extended with custom handlers on Go.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg4s8%2Fopenbots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg4s8%2Fopenbots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg4s8%2Fopenbots/lists"}