Git Stars Git Stars

#state-machine Repositories

Discover 53 active open source GitHub repositories tagged with #state-machine, accumulating 125,822 total stars (averaging 2,374 stars per project). Leading this topic is statelyai/xstate with 30,526 stars.

53
Total Repositories
125,822
Total Stars
2,374
Avg Stars/Repo
1
statelyai/xstate

State machines, statecharts, and actors for complex logic

statelyai
โญ 30,526 TypeScript ๐Ÿ‘ค statelyai Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2015-09-14
2
angular-ui/ui-router

The de-facto solution to flexible routing with nested views in AngularJS

angular-ui
โญ 13,413 TypeScript ๐Ÿ‘ค angular-ui Organization ๐Ÿ• Updated 2025-12-31 ๐Ÿ“… Created 2013-01-18
3
pytransitions/transitions

A lightweight, object-oriented finite state machine implementation in Python with many extensions

pytransitions
โญ 6,586 Python ๐Ÿ‘ค pytransitions Organization ๐Ÿ• Updated 2025-09-11 ๐Ÿ“… Created 2014-10-12
4
aasm/aasm

AASM - State machines for Ruby classes (plain Ruby, ActiveRecord, Mongoid, NoBrainer, Dynamoid)

aasm
โญ 5,230 Ruby ๐Ÿ‘ค aasm Organization ๐Ÿ• Updated 2026-07-05 ๐Ÿ“… Created 2008-02-28
5
BehaviorTree/BehaviorTree.CPP

Behavior Trees Library in C++. Batteries included.

BehaviorTree
โญ 4,306 C++ ๐Ÿ‘ค BehaviorTree Organization ๐Ÿ• Updated 2026-11-13 ๐Ÿ“… Created 2018-10-16
6
nixzhu/dev-blog

Translation, development insights, or learning notes

nixzhu
โญ 3,922 ๐Ÿ‘ค nixzhu User ๐Ÿ• Updated 2024-05-08 ๐Ÿ“… Created 2014-04-16
7
p-org/P

The P programming language.

p-org
โญ 3,741 C# ๐Ÿ‘ค p-org Organization ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2015-06-21
8
Tinder/Scarlet

A Retrofit inspired WebSocket client for Kotlin, Java, and Android

Tinder
โญ 3,255 Kotlin ๐Ÿ‘ค Tinder Organization ๐Ÿ• Updated 2025-11-21 ๐Ÿ“… Created 2018-05-29
9
laudspeaker/laudspeaker

๐Ÿ“ข Laudspeaker is an Open Source Customer Engagement and Product Onboarding Platform. Open Source alternative to Braze / One Signal / Customer Io / Appcues / Pendo . Use Laudspeaker to design product onboarding flows and send product and event triggered emails, sms, push and more.

laudspeaker
โญ 2,635 TypeScript ๐Ÿ‘ค laudspeaker Organization ๐Ÿ• Updated 2026-07-10 ๐Ÿ“… Created 2022-10-06
10
apache/burr

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.

apache
โญ 2,608 Python ๐Ÿ‘ค apache Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2024-01-29
11
cassiozen/useStateMachine

The <1 kb state machine hook for React

cassiozen
โญ 2,407 TypeScript ๐Ÿ‘ค cassiozen User ๐Ÿ• Updated 2024-04-22 ๐Ÿ“… Created 2021-03-12
12
0x1abin/MultiButton

Button driver for embedded system

0x1abin
โญ 2,403 C ๐Ÿ‘ค 0x1abin User ๐Ÿ• Updated 2026-03-17 ๐Ÿ“… Created 2016-08-29
13
viewflow/django-fsm

Django friendly finite state machine support

viewflow
โญ 2,346 Python ๐Ÿ‘ค viewflow Organization ๐Ÿ• Updated 2026-11-13 ๐Ÿ“… Created 2010-05-31
14
hekailiang/squirrel

squirrel-foundation is a State Machine library, which provided a lightweight, easy use, type safe and programmable state machine implementation for Java.

hekailiang
โญ 2,243 Java ๐Ÿ‘ค hekailiang User ๐Ÿ• Updated 2024-06-04 ๐Ÿ“… Created 2013-03-31
15
miroiu/nodify

Highly performant and modular controls for node-based editors designed for data-binding and MVVM.

miroiu
โญ 2,016 C# ๐Ÿ‘ค miroiu User ๐Ÿ• Updated 2026-11-07 ๐Ÿ“… Created 2020-08-27
16
ifandelse/machina.js

ts ex machina - finite state machines in TypeScript

ifandelse
โญ 1,975 TypeScript ๐Ÿ‘ค ifandelse User ๐Ÿ• Updated 2026-11-14 ๐Ÿ“… Created 2012-02-28
17
gocardless/statesman

A statesmanlike state machine library.

gocardless
โญ 1,912 Ruby ๐Ÿ‘ค gocardless Organization ๐Ÿ• Updated 2026-10-30 ๐Ÿ“… Created 2013-09-05
18
geekq/workflow

Ruby finite-state-machine-inspired API for modeling workflow

geekq
โญ 1,801 Ruby ๐Ÿ‘ค geekq User ๐Ÿ• Updated 2025-10-16 ๐Ÿ“… Created 2009-01-23
19
Inspiaaa/UnityHFSM

A fast, tried-and-tested hierarchical finite state machine library for Unity, designed to be easy to use yet powerful without compromising performance.

Inspiaaa
โญ 1,636 C# ๐Ÿ‘ค Inspiaaa User ๐Ÿ• Updated 2026-03-25 ๐Ÿ“… Created 2020-03-31
20
fossasia/knitlib

Knitting backend library for knitting machines

fossasia
โญ 1,545 Python ๐Ÿ‘ค fossasia Organization ๐Ÿ• Updated 2026-02-02 ๐Ÿ“… Created 2015-05-23
21
bluebill1049/little-state-machine

๐Ÿ“  React custom hook for persist state management

bluebill1049
โญ 1,537 TypeScript ๐Ÿ‘ค bluebill1049 User ๐Ÿ• Updated 2026-10-25 ๐Ÿ“… Created 2019-04-08
22
boost-ext/sml

C++14 State Machine library

boost-ext
โญ 1,418 C++ ๐Ÿ‘ค boost-ext Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2015-12-05
23
QuantumLeaps/qpc

QP/C Real-Time Event Framework/RTOS implements event-driven Active Object (Actor) model combined with Hierarchical State Machines. Specifically designed for embedded systems (e.g., ARM Cortex-M MCUs).

QuantumLeaps
โญ 1,405 C ๐Ÿ‘ค QuantumLeaps Organization ๐Ÿ• Updated 2026-11-17 ๐Ÿ“… Created 2016-06-15
24
qmuntal/stateless

Go library for creating finite state machines

qmuntal
โญ 1,400 Go ๐Ÿ‘ค qmuntal User ๐Ÿ• Updated 2026-02-10 ๐Ÿ“… Created 2019-09-11
25
yohang/Finite

A Simple PHP Finite State Machine

yohang
โญ 1,348 PHP ๐Ÿ‘ค yohang User ๐Ÿ• Updated 2025-12-01 ๐Ÿ“… Created 2012-09-27
26
fgmacedo/python-statemachine

Expressive statecharts and FSMs for modern Python

fgmacedo
โญ 1,338 Python ๐Ÿ‘ค fgmacedo User ๐Ÿ• Updated 2026-10-23 ๐Ÿ“… Created 2017-03-22
27
google/textfsm

Python module for parsing semi-structured text into python tables.

google
โญ 1,258 Python ๐Ÿ‘ค google Organization ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2015-06-23
28
square/workflow

A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.

square
โญ 1,168 Shell ๐Ÿ‘ค square Organization ๐Ÿ• Updated 2026-09-03 ๐Ÿ“… Created 2018-11-16
29
digint/tinyfsm

A simple C++ finite state machine library

digint
โญ 1,126 C++ ๐Ÿ‘ค digint User ๐Ÿ• Updated 2024-06-25 ๐Ÿ“… Created 2014-05-15
30
square/workflow-kotlin

A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.

square
โญ 1,122 Kotlin ๐Ÿ‘ค square Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2020-06-02
31
python-hyper/h2

Pure-Python HTTP/2 protocol implementation

python-hyper
โญ 1,043 Python ๐Ÿ‘ค python-hyper Organization ๐Ÿ• Updated 2026-11-09 ๐Ÿ“… Created 2015-06-24
32
optimajet/WorkflowEngine.NET

Workflow Engine by Optimajet, the embeddable workflow engine for .NET and C#. Approvals, state machines, and long-running processes with a visual Workflow Designer, BPMN import, and support for six databases.

optimajet
โญ 1,001 C# ๐Ÿ‘ค optimajet User ๐Ÿ• Updated 2026-10-30 ๐Ÿ“… Created 2014-12-26
33
StateSmith/StateSmith

A state machine code generation tool suitable for bare metal, embedded and more.

StateSmith
โญ 957 C# ๐Ÿ‘ค StateSmith Organization ๐Ÿ• Updated 2026-05-11 ๐Ÿ“… Created 2022-09-06
34
sverweij/state-machine-cat

write beautiful state charts :scream_cat:

sverweij
โญ 875 TypeScript ๐Ÿ‘ค sverweij User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2016-09-14
35
state-machines/state_machines

Adds support for creating state machines for attributes on any Ruby class

state-machines
โญ 872 Ruby ๐Ÿ‘ค state-machines Organization ๐Ÿ• Updated 2026-11-17 ๐Ÿ“… Created 2014-04-27
36
pokemonzlj/douyin_guaji

For Douyin live room lucky bag auto-farming

pokemonzlj
โญ 819 Python ๐Ÿ‘ค pokemonzlj User ๐Ÿ• Updated 2026-10-21 ๐Ÿ“… Created 2024-05-23
37
mdeloof/statig

Hierarchical state machines for designing event-driven systems

mdeloof
โญ 814 Rust ๐Ÿ‘ค mdeloof User ๐Ÿ• Updated 2025-11-29 ๐Ÿ“… Created 2021-08-19
38
piotrmurach/finite_machine

A minimal finite state machine with a straightforward syntax.

piotrmurach
โญ 805 Ruby ๐Ÿ‘ค piotrmurach User ๐Ÿ• Updated 2024-03-16 ๐Ÿ“… Created 2014-02-09
39
mattsse/voyager

crawl and scrape web pages in rust

mattsse
โญ 767 Rust ๐Ÿ‘ค mattsse User ๐Ÿ• Updated 2024-12-14 ๐Ÿ“… Created 2020-12-22
40
rive-app/awesome-rive

An awesome list that curates Rive runtime examples, articles and tutorials, videos, resources and more!

rive-app
โญ 736 ๐Ÿ‘ค rive-app Organization ๐Ÿ• Updated 2026-09-28 ๐Ÿ“… Created 2023-02-06
41
ongardie/raftscope

super hacky visualization of Raft

ongardie
โญ 696 JavaScript ๐Ÿ‘ค ongardie User ๐Ÿ• Updated 2024-07-08 ๐Ÿ“… Created 2014-05-21
42
andrew-gresyk/HFSM2

High-Performance Hierarchical Finite State Machine Framework

andrew-gresyk
โญ 649 C++ ๐Ÿ‘ค andrew-gresyk User ๐Ÿ• Updated 2026-06-27 ๐Ÿ“… Created 2018-09-26
43
daha1216/dsh-adult-tension

DeepSeek comes with armor-piercing 18+ interactive storytelling: lifelike NPCs (independent decision-making/refuse to pander), 211 worlds and tens of thousands of assets, fully customizable starts, self-running worlds, and zero-drift saves.

daha1216
โญ 625 Python ๐Ÿ‘ค daha1216 User ๐Ÿ• Updated 2026-10-29 ๐Ÿ“… Created 2026-08-19
44
steffendx/GoNorth

GoNorth is a story and content planning tool for RPGs and other open world games.

steffendx
โญ 624 JavaScript ๐Ÿ‘ค steffendx User ๐Ÿ• Updated 2026-11-13 ๐Ÿ“… Created 2018-02-20
45
SwiftRex/SwiftRex

Swift + Redux + (SwiftConcurrency | Combine | RxSwift | ReactiveSwift | ReactiveConcurrency) -> SwiftRex

SwiftRex
โญ 620 Swift ๐Ÿ‘ค SwiftRex Organization ๐Ÿ• Updated 2026-10-25 ๐Ÿ“… Created 2018-03-31
46
asantibanez/laravel-eloquent-state-machines

State Machines for your Laravel Eloquent models

asantibanez
โญ 568 PHP ๐Ÿ‘ค asantibanez User ๐Ÿ• Updated 2025-08-15 ๐Ÿ“… Created 2020-12-07
47
joaomdmoura/machinery

Elixir State machine thin layer for structs

joaomdmoura
โญ 562 Elixir ๐Ÿ‘ค joaomdmoura User ๐Ÿ• Updated 2024-05-03 ๐Ÿ“… Created 2016-11-15
48
Interana/eventsim

Event data simulator. Generates a stream of pseudo-random events from a set of users, designed to simulate web traffic.

Interana
โญ 553 Scala ๐Ÿ‘ค Interana Organization ๐Ÿ• Updated 2026-01-27 ๐Ÿ“… Created 2014-09-05
49
appccelerate/statemachine

A .net library that lets you build state machines (hierarchical, async with fluent definition syntax and reporting capabilities).

appccelerate
โญ 549 C# ๐Ÿ‘ค appccelerate Organization ๐Ÿ• Updated 2025-03-28 ๐Ÿ“… Created 2014-01-03
50
ui-router/react

๐Ÿ”ผ UI-Router for React

ui-router
โญ 542 TypeScript ๐Ÿ‘ค ui-router Organization ๐Ÿ• Updated 2026-04-09 ๐Ÿ“… Created 2016-06-20

Frequently Asked Questions

1

What is the most popular #state-machine repository on GitHub?

The top ranked open source #state-machine project on GitHub is statelyai/xstate with 30,526 stars. State machines, statecharts, and actors for complex logic

2

Which programming languages are most used in #state-machine repositories?

Among the top ranked #state-machine projects on GitHub, the most common programming languages are Python, TypeScript, C#, Ruby.

3

How is the #state-machine repository ranking calculated?

We track 53 active open source repositories tagged with #state-machine (500+ stars), totaling 125,822 stars with an average of 2,374 stars per repository. Rankings update daily from the GitHub API.