{"adoption": {"forks": 108, "observed_at": "2026-08-28T04:07:26.818549+00:00", "stars": 2867}, "canonical_url": "https://ross.abutalabs.com/products/decompose", "card": {"archived": false, "artifact_type": "library", "description": "Kotlin Multiplatform lifecycle-aware business logic components (aka BLoCs) with routing (navigation) and pluggable UI (Jetpack Compose, SwiftUI, JS React, etc.)", "domain": ["mobile-development", "cross-platform", "web-development", "frontend"], "enriched": true, "function": ["state-management", "routing", "middleware", "ui-components"], "health_score": 94, "homepage": "https://arkivanov.github.io/Decompose", "language": "Kotlin", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["arkivanov/Decompose"], "name": "arkivanov/Decompose", "platform": ["jvm", "wasm"], "pushed_at": "2026-07-08T15:01:39+00:00", "repo": "arkivanov/Decompose", "stars": 2867, "tags": ["kotlin-multiplatform", "bloc", "navigation", "jetpack-compose", "swiftui", "lifecycle-aware", "mvi", "android", "ios", "macos"], "topics": ["android", "kotlin", "kotlin-multiplatform", "multiplatform", "navigation"], "urls": [], "use_cases": ["share navigation and business logic across Android and iOS in Kotlin Multiplatform", "structure an app into lifecycle-aware BLoC components with parent-child trees", "swap UI frameworks (Compose, SwiftUI, React) while keeping the same logic", "keep back-stack components alive in background without UI", "preserve and restore component state across configuration changes", "write pure multiplatform unit tests for business logic"], "what_it_is": "Decompose is a Kotlin Multiplatform library for breaking code into tree-structured, lifecycle-aware business logic components (BLoCs) with routing/navigation and pluggable UI layers. It supports Jetpack/Multiplatform Compose, Android Views, SwiftUI, and Kotlin/React, keeping business logic testable and UI-agnostic.", "when_to_avoid": ["building a single-platform app where simpler platform-native navigation suffices", "you are not using Kotlin or Kotlin Multiplatform", "you want a batteries-included UI toolkit rather than a logic/navigation library"], "when_to_choose": ["building a Kotlin Multiplatform app needing shared navigation and state", "you want strict separation of UI and business logic with pluggable UI", "you need lifecycle-aware components with state preservation and instance retention"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/decompose", "repo": "arkivanov/Decompose", "role": "main", "score": 79}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:26.818549+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:36:05.172317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "945eaae3bd8cf39cf5c8a5eb05df95fd7c8b09cfbcb5c4979c4798178797e473", "fetched_at": "2026-08-28T04:07:26.818549+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arkivanov/Decompose"}, {"content_hash": "0638e2723db1e729adf66d128824e7e884c28fb393edee1eb2f4ddd292799794", "fetched_at": "2026-08-29T09:51:42.771694+00:00", "kind": "homepage", "missing": false, "url": "https://arkivanov.github.io/Decompose"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:26.818549+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:36:05.172317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "945eaae3bd8cf39cf5c8a5eb05df95fd7c8b09cfbcb5c4979c4798178797e473", "fetched_at": "2026-08-28T04:07:26.818549+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arkivanov/Decompose"}, {"content_hash": "0638e2723db1e729adf66d128824e7e884c28fb393edee1eb2f4ddd292799794", "fetched_at": "2026-08-29T09:51:42.771694+00:00", "kind": "homepage", "missing": false, "url": "https://arkivanov.github.io/Decompose"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:36:05.172317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "945eaae3bd8cf39cf5c8a5eb05df95fd7c8b09cfbcb5c4979c4798178797e473", "fetched_at": "2026-08-28T04:07:26.818549+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arkivanov/Decompose"}, {"content_hash": "0638e2723db1e729adf66d128824e7e884c28fb393edee1eb2f4ddd292799794", "fetched_at": "2026-08-29T09:51:42.771694+00:00", "kind": "homepage", "missing": false, "url": "https://arkivanov.github.io/Decompose"}], "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:07:26.818549+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:26.818549+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:26.818549+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:36:05.172317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "945eaae3bd8cf39cf5c8a5eb05df95fd7c8b09cfbcb5c4979c4798178797e473", "fetched_at": "2026-08-28T04:07:26.818549+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arkivanov/Decompose"}, {"content_hash": "0638e2723db1e729adf66d128824e7e884c28fb393edee1eb2f4ddd292799794", "fetched_at": "2026-08-29T09:51:42.771694+00:00", "kind": "homepage", "missing": false, "url": "https://arkivanov.github.io/Decompose"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:26.818549+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:26.818549+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:36:05.172317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "945eaae3bd8cf39cf5c8a5eb05df95fd7c8b09cfbcb5c4979c4798178797e473", "fetched_at": "2026-08-28T04:07:26.818549+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arkivanov/Decompose"}, {"content_hash": "0638e2723db1e729adf66d128824e7e884c28fb393edee1eb2f4ddd292799794", "fetched_at": "2026-08-29T09:51:42.771694+00:00", "kind": "homepage", "missing": false, "url": "https://arkivanov.github.io/Decompose"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:26.818549+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:26.818549+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:26.818549+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:36:05.172317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "945eaae3bd8cf39cf5c8a5eb05df95fd7c8b09cfbcb5c4979c4798178797e473", "fetched_at": "2026-08-28T04:07:26.818549+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arkivanov/Decompose"}, {"content_hash": "0638e2723db1e729adf66d128824e7e884c28fb393edee1eb2f4ddd292799794", "fetched_at": "2026-08-29T09:51:42.771694+00:00", "kind": "homepage", "missing": false, "url": "https://arkivanov.github.io/Decompose"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:26.818549+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:26.818549+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:36:05.172317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "945eaae3bd8cf39cf5c8a5eb05df95fd7c8b09cfbcb5c4979c4798178797e473", "fetched_at": "2026-08-28T04:07:26.818549+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arkivanov/Decompose"}, {"content_hash": "0638e2723db1e729adf66d128824e7e884c28fb393edee1eb2f4ddd292799794", "fetched_at": "2026-08-29T09:51:42.771694+00:00", "kind": "homepage", "missing": false, "url": "https://arkivanov.github.io/Decompose"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:36:05.172317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "945eaae3bd8cf39cf5c8a5eb05df95fd7c8b09cfbcb5c4979c4798178797e473", "fetched_at": "2026-08-28T04:07:26.818549+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arkivanov/Decompose"}, {"content_hash": "0638e2723db1e729adf66d128824e7e884c28fb393edee1eb2f4ddd292799794", "fetched_at": "2026-08-29T09:51:42.771694+00:00", "kind": "homepage", "missing": false, "url": "https://arkivanov.github.io/Decompose"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:36:05.172317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "945eaae3bd8cf39cf5c8a5eb05df95fd7c8b09cfbcb5c4979c4798178797e473", "fetched_at": "2026-08-28T04:07:26.818549+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arkivanov/Decompose"}, {"content_hash": "0638e2723db1e729adf66d128824e7e884c28fb393edee1eb2f4ddd292799794", "fetched_at": "2026-08-29T09:51:42.771694+00:00", "kind": "homepage", "missing": false, "url": "https://arkivanov.github.io/Decompose"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:36:05.172317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "945eaae3bd8cf39cf5c8a5eb05df95fd7c8b09cfbcb5c4979c4798178797e473", "fetched_at": "2026-08-28T04:07:26.818549+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arkivanov/Decompose"}, {"content_hash": "0638e2723db1e729adf66d128824e7e884c28fb393edee1eb2f4ddd292799794", "fetched_at": "2026-08-29T09:51:42.771694+00:00", "kind": "homepage", "missing": false, "url": "https://arkivanov.github.io/Decompose"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 91, "longevity": 100, "rhythm": 51}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1727, "days_push": 56, "days_rel": 171, "gap_med": 110, "n_releases_24m": 6}, "score": 79, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}