{"id":15328998,"url":"https://github.com/shazron/robot","last_synced_at":"2025-10-09T21:30:18.217Z","repository":{"id":52092983,"uuid":"215438411","full_name":"shazron/robot","owner":"shazron","description":"🤖 A functional, immutable Finite State Machine library","archived":false,"fork":true,"pushed_at":"2021-05-07T15:34:43.000Z","size":562,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T14:37:41.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://thisrobot.life","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"matthewp/robot","license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shazron.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-16T02:24:21.000Z","updated_at":"2021-05-07T15:34:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/shazron/robot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shazron/robot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazron%2Frobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazron%2Frobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazron%2Frobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazron%2Frobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shazron","download_url":"https://codeload.github.com/shazron/robot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazron%2Frobot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002050,"owners_count":26083285,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-01T09:45:56.980Z","updated_at":"2025-10-09T21:30:17.927Z","avatar_url":"https://github.com/shazron.png","language":"JavaScript","readme":"# Robot\n\n\u003cp align=\"center\"\u003e\n  \u003cimg \n    alt=\"The Robot logo, with green background.\"\n    src=\"https://github.com/matthewp/robot-logo/raw/master/logo/robot-green.png\"\n    width=\"40%\"\n  /\u003e\n\u003c/p\u003e\n\nA small functional and immutable Finite State Machine library. Using state machines for your components brings the declarative programming approach to application state.\n\nSee [thisrobot.life](https://thisrobot.life/) for the main documentation.\n\n```js\nimport { createMachine, interpret, state, transition } from 'robot3';\n\nlet machine = createMachine({\n  off: state(\n    transition('toggle', 'on')\n  ),\n  on: state(\n    transition('toggle', 'off')\n  )\n});\n\nconst service = interpret(machine, () =\u003e {\n  render();\n});\n```\n\n## 📚 [Documentation](https://thisrobot.life/)\n\n* Please star [the repository](https://github.com/matthewp/robot) on GitHub.\n* [File an issue](https://github.com/matthewp/robot/issues) if you find a bug. Or better yet...\n* [Submit a pull request](https://github.com/matthewp/robot/compare) to contribute.\n\n## Testing\n\nTests are located in the `test/` folder. Load `test/test.html` in your browser of choice with any HTTP server you like (I use [http-server](https://www.npmjs.com/package/http-server)). Tests are written in [QUnit](https://qunitjs.com/) and are simple to understand.\n\n## Integrations\n\nRobot works with a variety of UI libraries, and includes integrations for React, Preact, Haunted, and more. See the [integrations page](https://thisrobot.life/integrations.html) to learn more.\n\n## License\n\nBSD-2-Clause","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshazron%2Frobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshazron%2Frobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshazron%2Frobot/lists"}