{"id":37080397,"url":"https://github.com/andrewsapw/autobot","last_synced_at":"2026-01-14T09:45:37.236Z","repository":{"id":62952625,"uuid":"562392397","full_name":"andrewsapw/autobot","owner":"andrewsapw","description":"Telegram Bot creation made easy","archived":false,"fork":false,"pushed_at":"2023-05-01T11:34:09.000Z","size":188,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-23T03:11:16.343Z","etag":null,"topics":["telegram","telegram-bot","yaml"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewsapw.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":"2022-11-06T07:50:20.000Z","updated_at":"2023-04-23T14:11:26.000Z","dependencies_parsed_at":"2023-01-22T09:45:09.680Z","dependency_job_id":null,"html_url":"https://github.com/andrewsapw/autobot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrewsapw/autobot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsapw%2Fautobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsapw%2Fautobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsapw%2Fautobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsapw%2Fautobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewsapw","download_url":"https://codeload.github.com/andrewsapw/autobot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsapw%2Fautobot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28416120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"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":["telegram","telegram-bot","yaml"],"created_at":"2026-01-14T09:45:36.523Z","updated_at":"2026-01-14T09:45:37.231Z","avatar_url":"https://github.com/andrewsapw.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/andrewsapw/autobot/raw/master/docs/static/autobot_head.png\" alt=\"Pyrogram\" width=\"128\"\u003e\n    \u003cbr\u003e\n    \u003cb\u003eAUTOBOT\u003c/b\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\n\u003e :warning: Project is in active development and not intended for any serious application\n\nFramework for making bot from config files (we all love *YAML*, does't we?)\n\n1. [Features](#features)\n2. [Usage](#usage)\n\n# Features\n- **Automatic back button configuration** - not need to plainly think about branching\n- **Beautiful inline buttons experience** - previous message gets updated on button pressed (much cleaner message history)\n- **RegEx message filters**\n\n# Installation\n\n```bash\n$ pip install autobot-tg # or: pipx install autobot-tg\n$ autobot-tg --help\n```\n# Usage\n\nBefore starting the bot, you have to specify bot token with env variable `BOT_TOKEN`\n\n```sh\nautobot examples/configs/simple.yaml\n```\n# Config\n## Config examples\n- [Simple one](/examples/configs/simple.yaml)\n- [Inline buttons](/examples/configs/inline_buttons.yaml)\n## Config schema\nCore elements of schema is:\n- `states` - describes possible bot states (nodes in network graph)\n- `transitions` - describes transitions between states (edges)\n\n### States schema\nStates can be represented as array of named elements:\n- `\u003cstate name\u003e`\n  - `text` (required) - text message that the bot will send when entering the state\n  - `command` (optional) - specifies the command that will trigger state (for example `/start`)\n  - `add_back_button` (optional) - whether state should have back button (_yes_ or _no_)\n  - `inline_buttons` (optional) - describes inline buttons of this state\n    - `row` (required) - buttons in one row (array)\n      - `text` -  inline button text\n      - `callback_data` - data that will be sent on button pressed\n### Transitions\nTransitions is an array of elements with these fields:\n- `from` (required) - source state. Transition will be triggered only if bot is in this state. Must be present in states schema\n- `to` (required) - target state.  Must be present in states schema\n- `conditions` (required) - under what conditions the transition will be triggered. Possible conditions:\n  - `message` (array of regex) - transition will be triggered on message sent. Applies regex filter to user's message. If filter passes - transition is triggered (for example `.+` will always trigger transition)\n  - `data` (array of strings) - transition will be triggered if specified callback data will be sent (when user presses the inline button)\n  - `else` (string - name of state) - trigger transition if no other conditions are satisfied. Must be valid state name\n  - `always` (no parameters) - always triggers transition. When bot enters `from` state, it will instantly enter `to` state\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewsapw%2Fautobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewsapw%2Fautobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewsapw%2Fautobot/lists"}