{"adoption": {"forks": 195, "observed_at": "2026-08-28T04:03:54.802826+00:00", "stars": 1184}, "canonical_url": "https://ross.abutalabs.com/products/tinyfsm", "card": {"archived": false, "artifact_type": "library", "description": "A simple C++ finite state machine library", "domain": ["embedded-systems", "developer-tools"], "enriched": true, "function": ["concurrency", "developer-tools"], "health_score": 20, "homepage": "https://digint.ch/tinyfsm", "language": "C++", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["digint/tinyfsm"], "name": "digint/tinyfsm", "platform": ["cpp", "embedded", "cross-platform"], "pushed_at": "2024-06-25T23:43:36+00:00", "repo": "digint/tinyfsm", "stars": 1184, "tags": ["finite-state-machine", "header-only", "cpp11", "template-metaprogramming", "real-time", "event-dispatching", "algorithms"], "topics": ["c-plus-plus", "header-only", "cpp11", "cpp-library", "state-machine"], "urls": [], "use_cases": ["implement a finite state machine in C++", "state machine library for real-time embedded systems", "map UML state charts to C++ code", "lightweight event dispatching without RTTI or exceptions", "header-only state machine for low-memory devices", "model on/off or elevator-style state logic in C++"], "what_it_is": "TinyFSM is a simple, header-only C++11 finite state machine library designed for optimal performance and low memory footprint. It wraps event dispatching into function calls using template metaprogramming, with no dependency on RTTI, exceptions, or external libraries.", "when_to_avoid": ["you need hierarchical state machines with advanced UML features beyond entry/exit actions and transitions", "you work in a language other than C++ or need pre-C++11 compiler support", "you want a graphical state machine modeling tool"], "when_to_choose": ["you need a fast, low-overhead state machine for real-time or embedded C++ projects", "you want a simple, understandable header-only library with no external dependencies", "your toolchain supports C++11 but lacks RTTI or exception support"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/tinyfsm", "repo": "digint/tinyfsm", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.802826+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.404407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b46d2619b7e4764478fd44e357abeb3879780952a55ab6f64a2b10acf5b03bad", "fetched_at": "2026-08-28T04:03:54.802826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/digint/tinyfsm"}, {"content_hash": "808c3dc820eeb287bc3f08f43e15e28c1fdb8665644d0d4dbf18ca5c79082cfb", "fetched_at": "2026-08-29T12:31:17.105590+00:00", "kind": "homepage", "missing": false, "url": "https://digint.ch/tinyfsm"}, {"content_hash": "7b4f23799aa5fa5da9a55f0a315159a3c3d00f222b8348f8dfe26d0bcfc7af79", "fetched_at": "2026-08-29T12:31:17.116467+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/contact.html"}, {"content_hash": "614f66445b95c12788b0a98b0f10c18bccb41c41f470dfc8ab9663fe666d1622", "fetched_at": "2026-08-29T12:31:17.114505+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/index.html"}, {"content_hash": "7b97ec6a8f3fd085f4d8f8adb02871f0b089f0a238e8cc3b300c8e9c4ea71f4c", "fetched_at": "2026-08-29T12:31:17.117915+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/siteinfo.html"}, {"content_hash": "abc51b5326e75068ed136c39be7f198fe56fcae3f604b4f6360ea0d4049d4a08", "fetched_at": "2026-08-29T12:31:17.119997+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/tinyfsm/doc/introduction.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.802826+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.404407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b46d2619b7e4764478fd44e357abeb3879780952a55ab6f64a2b10acf5b03bad", "fetched_at": "2026-08-28T04:03:54.802826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/digint/tinyfsm"}, {"content_hash": "808c3dc820eeb287bc3f08f43e15e28c1fdb8665644d0d4dbf18ca5c79082cfb", "fetched_at": "2026-08-29T12:31:17.105590+00:00", "kind": "homepage", "missing": false, "url": "https://digint.ch/tinyfsm"}, {"content_hash": "7b4f23799aa5fa5da9a55f0a315159a3c3d00f222b8348f8dfe26d0bcfc7af79", "fetched_at": "2026-08-29T12:31:17.116467+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/contact.html"}, {"content_hash": "614f66445b95c12788b0a98b0f10c18bccb41c41f470dfc8ab9663fe666d1622", "fetched_at": "2026-08-29T12:31:17.114505+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/index.html"}, {"content_hash": "7b97ec6a8f3fd085f4d8f8adb02871f0b089f0a238e8cc3b300c8e9c4ea71f4c", "fetched_at": "2026-08-29T12:31:17.117915+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/siteinfo.html"}, {"content_hash": "abc51b5326e75068ed136c39be7f198fe56fcae3f604b4f6360ea0d4049d4a08", "fetched_at": "2026-08-29T12:31:17.119997+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/tinyfsm/doc/introduction.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.404407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b46d2619b7e4764478fd44e357abeb3879780952a55ab6f64a2b10acf5b03bad", "fetched_at": "2026-08-28T04:03:54.802826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/digint/tinyfsm"}, {"content_hash": "808c3dc820eeb287bc3f08f43e15e28c1fdb8665644d0d4dbf18ca5c79082cfb", "fetched_at": "2026-08-29T12:31:17.105590+00:00", "kind": "homepage", "missing": false, "url": "https://digint.ch/tinyfsm"}, {"content_hash": "7b4f23799aa5fa5da9a55f0a315159a3c3d00f222b8348f8dfe26d0bcfc7af79", "fetched_at": "2026-08-29T12:31:17.116467+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/contact.html"}, {"content_hash": "614f66445b95c12788b0a98b0f10c18bccb41c41f470dfc8ab9663fe666d1622", "fetched_at": "2026-08-29T12:31:17.114505+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/index.html"}, {"content_hash": "7b97ec6a8f3fd085f4d8f8adb02871f0b089f0a238e8cc3b300c8e9c4ea71f4c", "fetched_at": "2026-08-29T12:31:17.117915+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/siteinfo.html"}, {"content_hash": "abc51b5326e75068ed136c39be7f198fe56fcae3f604b4f6360ea0d4049d4a08", "fetched_at": "2026-08-29T12:31:17.119997+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/tinyfsm/doc/introduction.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.802826+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.802826+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.802826+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.404407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b46d2619b7e4764478fd44e357abeb3879780952a55ab6f64a2b10acf5b03bad", "fetched_at": "2026-08-28T04:03:54.802826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/digint/tinyfsm"}, {"content_hash": "808c3dc820eeb287bc3f08f43e15e28c1fdb8665644d0d4dbf18ca5c79082cfb", "fetched_at": "2026-08-29T12:31:17.105590+00:00", "kind": "homepage", "missing": false, "url": "https://digint.ch/tinyfsm"}, {"content_hash": "7b4f23799aa5fa5da9a55f0a315159a3c3d00f222b8348f8dfe26d0bcfc7af79", "fetched_at": "2026-08-29T12:31:17.116467+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/contact.html"}, {"content_hash": "614f66445b95c12788b0a98b0f10c18bccb41c41f470dfc8ab9663fe666d1622", "fetched_at": "2026-08-29T12:31:17.114505+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/index.html"}, {"content_hash": "7b97ec6a8f3fd085f4d8f8adb02871f0b089f0a238e8cc3b300c8e9c4ea71f4c", "fetched_at": "2026-08-29T12:31:17.117915+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/siteinfo.html"}, {"content_hash": "abc51b5326e75068ed136c39be7f198fe56fcae3f604b4f6360ea0d4049d4a08", "fetched_at": "2026-08-29T12:31:17.119997+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/tinyfsm/doc/introduction.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.802826+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.802826+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.404407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b46d2619b7e4764478fd44e357abeb3879780952a55ab6f64a2b10acf5b03bad", "fetched_at": "2026-08-28T04:03:54.802826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/digint/tinyfsm"}, {"content_hash": "808c3dc820eeb287bc3f08f43e15e28c1fdb8665644d0d4dbf18ca5c79082cfb", "fetched_at": "2026-08-29T12:31:17.105590+00:00", "kind": "homepage", "missing": false, "url": "https://digint.ch/tinyfsm"}, {"content_hash": "7b4f23799aa5fa5da9a55f0a315159a3c3d00f222b8348f8dfe26d0bcfc7af79", "fetched_at": "2026-08-29T12:31:17.116467+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/contact.html"}, {"content_hash": "614f66445b95c12788b0a98b0f10c18bccb41c41f470dfc8ab9663fe666d1622", "fetched_at": "2026-08-29T12:31:17.114505+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/index.html"}, {"content_hash": "7b97ec6a8f3fd085f4d8f8adb02871f0b089f0a238e8cc3b300c8e9c4ea71f4c", "fetched_at": "2026-08-29T12:31:17.117915+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/siteinfo.html"}, {"content_hash": "abc51b5326e75068ed136c39be7f198fe56fcae3f604b4f6360ea0d4049d4a08", "fetched_at": "2026-08-29T12:31:17.119997+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/tinyfsm/doc/introduction.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.802826+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.802826+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.802826+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.404407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b46d2619b7e4764478fd44e357abeb3879780952a55ab6f64a2b10acf5b03bad", "fetched_at": "2026-08-28T04:03:54.802826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/digint/tinyfsm"}, {"content_hash": "808c3dc820eeb287bc3f08f43e15e28c1fdb8665644d0d4dbf18ca5c79082cfb", "fetched_at": "2026-08-29T12:31:17.105590+00:00", "kind": "homepage", "missing": false, "url": "https://digint.ch/tinyfsm"}, {"content_hash": "7b4f23799aa5fa5da9a55f0a315159a3c3d00f222b8348f8dfe26d0bcfc7af79", "fetched_at": "2026-08-29T12:31:17.116467+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/contact.html"}, {"content_hash": "614f66445b95c12788b0a98b0f10c18bccb41c41f470dfc8ab9663fe666d1622", "fetched_at": "2026-08-29T12:31:17.114505+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/index.html"}, {"content_hash": "7b97ec6a8f3fd085f4d8f8adb02871f0b089f0a238e8cc3b300c8e9c4ea71f4c", "fetched_at": "2026-08-29T12:31:17.117915+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/siteinfo.html"}, {"content_hash": "abc51b5326e75068ed136c39be7f198fe56fcae3f604b4f6360ea0d4049d4a08", "fetched_at": "2026-08-29T12:31:17.119997+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/tinyfsm/doc/introduction.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.802826+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.802826+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.404407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b46d2619b7e4764478fd44e357abeb3879780952a55ab6f64a2b10acf5b03bad", "fetched_at": "2026-08-28T04:03:54.802826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/digint/tinyfsm"}, {"content_hash": "808c3dc820eeb287bc3f08f43e15e28c1fdb8665644d0d4dbf18ca5c79082cfb", "fetched_at": "2026-08-29T12:31:17.105590+00:00", "kind": "homepage", "missing": false, "url": "https://digint.ch/tinyfsm"}, {"content_hash": "7b4f23799aa5fa5da9a55f0a315159a3c3d00f222b8348f8dfe26d0bcfc7af79", "fetched_at": "2026-08-29T12:31:17.116467+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/contact.html"}, {"content_hash": "614f66445b95c12788b0a98b0f10c18bccb41c41f470dfc8ab9663fe666d1622", "fetched_at": "2026-08-29T12:31:17.114505+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/index.html"}, {"content_hash": "7b97ec6a8f3fd085f4d8f8adb02871f0b089f0a238e8cc3b300c8e9c4ea71f4c", "fetched_at": "2026-08-29T12:31:17.117915+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/siteinfo.html"}, {"content_hash": "abc51b5326e75068ed136c39be7f198fe56fcae3f604b4f6360ea0d4049d4a08", "fetched_at": "2026-08-29T12:31:17.119997+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/tinyfsm/doc/introduction.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.404407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b46d2619b7e4764478fd44e357abeb3879780952a55ab6f64a2b10acf5b03bad", "fetched_at": "2026-08-28T04:03:54.802826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/digint/tinyfsm"}, {"content_hash": "808c3dc820eeb287bc3f08f43e15e28c1fdb8665644d0d4dbf18ca5c79082cfb", "fetched_at": "2026-08-29T12:31:17.105590+00:00", "kind": "homepage", "missing": false, "url": "https://digint.ch/tinyfsm"}, {"content_hash": "7b4f23799aa5fa5da9a55f0a315159a3c3d00f222b8348f8dfe26d0bcfc7af79", "fetched_at": "2026-08-29T12:31:17.116467+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/contact.html"}, {"content_hash": "614f66445b95c12788b0a98b0f10c18bccb41c41f470dfc8ab9663fe666d1622", "fetched_at": "2026-08-29T12:31:17.114505+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/index.html"}, {"content_hash": "7b97ec6a8f3fd085f4d8f8adb02871f0b089f0a238e8cc3b300c8e9c4ea71f4c", "fetched_at": "2026-08-29T12:31:17.117915+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/siteinfo.html"}, {"content_hash": "abc51b5326e75068ed136c39be7f198fe56fcae3f604b4f6360ea0d4049d4a08", "fetched_at": "2026-08-29T12:31:17.119997+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/tinyfsm/doc/introduction.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.404407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b46d2619b7e4764478fd44e357abeb3879780952a55ab6f64a2b10acf5b03bad", "fetched_at": "2026-08-28T04:03:54.802826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/digint/tinyfsm"}, {"content_hash": "808c3dc820eeb287bc3f08f43e15e28c1fdb8665644d0d4dbf18ca5c79082cfb", "fetched_at": "2026-08-29T12:31:17.105590+00:00", "kind": "homepage", "missing": false, "url": "https://digint.ch/tinyfsm"}, {"content_hash": "7b4f23799aa5fa5da9a55f0a315159a3c3d00f222b8348f8dfe26d0bcfc7af79", "fetched_at": "2026-08-29T12:31:17.116467+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/contact.html"}, {"content_hash": "614f66445b95c12788b0a98b0f10c18bccb41c41f470dfc8ab9663fe666d1622", "fetched_at": "2026-08-29T12:31:17.114505+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/index.html"}, {"content_hash": "7b97ec6a8f3fd085f4d8f8adb02871f0b089f0a238e8cc3b300c8e9c4ea71f4c", "fetched_at": "2026-08-29T12:31:17.117915+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/siteinfo.html"}, {"content_hash": "abc51b5326e75068ed136c39be7f198fe56fcae3f604b4f6360ea0d4049d4a08", "fetched_at": "2026-08-29T12:31:17.119997+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/tinyfsm/doc/introduction.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.404407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b46d2619b7e4764478fd44e357abeb3879780952a55ab6f64a2b10acf5b03bad", "fetched_at": "2026-08-28T04:03:54.802826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/digint/tinyfsm"}, {"content_hash": "808c3dc820eeb287bc3f08f43e15e28c1fdb8665644d0d4dbf18ca5c79082cfb", "fetched_at": "2026-08-29T12:31:17.105590+00:00", "kind": "homepage", "missing": false, "url": "https://digint.ch/tinyfsm"}, {"content_hash": "7b4f23799aa5fa5da9a55f0a315159a3c3d00f222b8348f8dfe26d0bcfc7af79", "fetched_at": "2026-08-29T12:31:17.116467+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/contact.html"}, {"content_hash": "614f66445b95c12788b0a98b0f10c18bccb41c41f470dfc8ab9663fe666d1622", "fetched_at": "2026-08-29T12:31:17.114505+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/index.html"}, {"content_hash": "7b97ec6a8f3fd085f4d8f8adb02871f0b089f0a238e8cc3b300c8e9c4ea71f4c", "fetched_at": "2026-08-29T12:31:17.117915+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/about/siteinfo.html"}, {"content_hash": "abc51b5326e75068ed136c39be7f198fe56fcae3f604b4f6360ea0d4049d4a08", "fetched_at": "2026-08-29T12:31:17.119997+00:00", "kind": "site_page", "missing": false, "url": "https://digint.ch/tinyfsm/doc/introduction.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4493, "days_push": 799, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}