{"id":21348706,"url":"https://github.com/simplestatemachine/simplestatemachinelibrary","last_synced_at":"2025-07-26T11:09:43.710Z","repository":{"id":44427713,"uuid":"241470216","full_name":"SimpleStateMachine/SimpleStateMachineLibrary","owner":"SimpleStateMachine","description":"📚 A simple library for realization state machines in C# code","archived":false,"fork":false,"pushed_at":"2021-06-07T15:00:34.000Z","size":188,"stargazers_count":50,"open_issues_count":7,"forks_count":15,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-12T17:44:42.216Z","etag":null,"topics":["csharp","finite-state-machine","library","netstandard","simple-state-machine","simplestatemachine","state","state-machine","statemachine"],"latest_commit_sha":null,"homepage":"","language":"C#","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/SimpleStateMachine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":["paypal.me/romansolovyov"]}},"created_at":"2020-02-18T21:22:26.000Z","updated_at":"2024-12-26T05:05:41.000Z","dependencies_parsed_at":"2022-09-13T07:00:58.323Z","dependency_job_id":null,"html_url":"https://github.com/SimpleStateMachine/SimpleStateMachineLibrary","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/SimpleStateMachine/SimpleStateMachineLibrary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleStateMachine%2FSimpleStateMachineLibrary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleStateMachine%2FSimpleStateMachineLibrary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleStateMachine%2FSimpleStateMachineLibrary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleStateMachine%2FSimpleStateMachineLibrary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimpleStateMachine","download_url":"https://codeload.github.com/SimpleStateMachine/SimpleStateMachineLibrary/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleStateMachine%2FSimpleStateMachineLibrary/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267155969,"owners_count":24044402,"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-07-26T02:00:08.937Z","response_time":62,"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":["csharp","finite-state-machine","library","netstandard","simple-state-machine","simplestatemachine","state","state-machine","statemachine"],"created_at":"2024-11-22T02:24:50.915Z","updated_at":"2025-07-26T11:09:43.680Z","avatar_url":"https://github.com/SimpleStateMachine.png","language":"C#","funding_links":["paypal.me/romansolovyov"],"categories":[],"sub_categories":[],"readme":"\n[![NuGet Pre Release](https://img.shields.io/nuget/vpre/SimpleStateMachineLibrary.svg)](https://www.nuget.org/packages/SimpleStateMachineLibrary) [![](https://img.shields.io/github/stars/SimpleStateMachine/SimpleStateMachineLibrary)](https://github.com/SimpleStateMachine/SimpleStateMachineLibrary)  [![NuGet Downloads](https://img.shields.io/nuget/dt/SimpleStateMachineLibrary)](https://www.nuget.org/packages/SimpleStateMachineLibrary) [![](https://img.shields.io/github/license/SimpleStateMachine/SimpleStateMachineLibrary)](https://github.com/SimpleStateMachine/SimpleStateMachineLibrary) [![](https://img.shields.io/github/languages/code-size/SimpleStateMachine/SimpleStateMachineLibrary)](https://github.com/SimpleStateMachine/SimpleStateMachineLibrary) \n [![]( https://img.shields.io/github/last-commit/SimpleStateMachine/SimpleStateMachineLibrary)](https://github.com/SimpleStateMachine/SimpleStateMachineLibrary) [![](https://img.shields.io/badge/chat-slack-blueviolet.svg)](https://join.slack.com/t/simplestatemachine/shared_invite/zt-fnfhvvsx-fTejcpPn~PPb2ojdG_MQBg) [![](https://img.shields.io/badge/chat-telegram-blue.svg)](https://t.me/joinchat/HMLJFkv9do6aDV188rhd0w)\n [![Build Status](https://dev.azure.com/GMIKE/SimpleStateMachineLibrary/_apis/build/status/SimpleStateMachine.SimpleStateMachineLibrary?branchName=master)](https://dev.azure.com/GMIKE/SimpleStateMachineLibrary/_build/latest?definitionId=2\u0026branchName=master)\n # SimpleStateMachineLibrary\nA C# library for realization simple state-machine on .Net\n\n ## Give a Star! :star:\nIf you like or are using this project please give it a star. Thanks!\n\n # Why SimpleStateMachine?\nCreate state machine in **three** steps :\n\n**1.** Create scheme in  [node editor🔗](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) and load it in your project using [this library📚](https://github.com/SimpleStateMachine/SimpleStateMachineLibrary)\n```C#\nStateMachine stateMachine = new StateMachine(\"scheme.xml\");\n```\n**2.** Describe your app logic on events⚡\n ```C#\nstateMachine.GetState(\"State1\").OnExit(Action1);\nstateMachine.GetState(\"State2\").OnEntry(Action2);\nstateMachine.GetTransition(\"Transition1\").OnInvoke(Action3);\nstateMachine.OnChangeState(Action4);\n```\n**3.** Run the state machine🚘\n ```C#\nstateMachine.Start();\n```\n## Features💡 \n\nState machine properties:\n* Start state\n* Entry/exit events for state\n* Invoke event for transition\n* Parameters for transitions\n* Parameters for entry/exit for state\n\nUseful extensions for work:\n* State changed event for state machine\n* Data for sharing between states\n* Change event for data\n* Export/Import to/from XML\n* Logging\n\n## Getting Started📂\nInstall from Nuget:\n```sh\n Install-Package SimpleStateMachineLibrary \n```\n## Documentation📄 \nDocumentation here: https://github.com/SimpleStateMachine/SimpleStateMachineLibrary/wiki\n\n ## FAQ❔\n If you think you have found a bug, create a github [issue](https://github.com/SimpleStateMachine/SimpleStateMachineLibrary/issues).\n \n But if you just have questions about how to use:\n \n- [Slack channel](https://join.slack.com/t/simplestatemachine/shared_invite/zt-fnfhvvsx-fTejcpPn~PPb2ojdG_MQBg)\n- [Telegram channel](https://t.me/joinchat/HMLJFkv9do6aDV188rhd0w)\n\n## License📑\n\nCopyright (c) SimpleStateMachine\n\nLicensed under the [MIT](LICENSE) license.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplestatemachine%2Fsimplestatemachinelibrary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplestatemachine%2Fsimplestatemachinelibrary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplestatemachine%2Fsimplestatemachinelibrary/lists"}