{"adoption": {"forks": 113, "observed_at": "2026-08-28T04:06:27.676510+00:00", "stars": 2222}, "canonical_url": "https://ross.abutalabs.com/products/cashapp-molecule", "card": {"archived": false, "artifact_type": "library", "description": "Build a StateFlow stream using Jetpack Compose", "domain": ["mobile-development", "developer-tools", "cross-platform"], "enriched": true, "function": ["state-management", "concurrency"], "health_score": 94, "homepage": "https://cashapp.github.io/molecule/docs/2.x/", "language": "Kotlin", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["cashapp/molecule"], "name": "cashapp/molecule", "platform": ["jvm", "cross-platform"], "pushed_at": "2026-08-22T23:55:52+00:00", "repo": "cashapp/molecule", "stars": 2222, "tags": ["jetpack-compose", "kotlinx-coroutines", "stateflow", "mvi", "presenter-pattern", "reactive", "android"], "topics": [], "urls": [], "use_cases": ["build a StateFlow from composable state logic", "separate business logic from UI in Android apps", "write presenters using Jetpack Compose runtime", "test presenter logic without UI layer", "share reactive state logic across Kotlin multiplatform targets"], "what_it_is": "Molecule is a Kotlin library from Cash App that lets you build StateFlow or Flow streams using Jetpack Compose's runtime, without its UI toolkit. It enables writing presenter logic as composable functions that emit reactive state streams.", "when_to_avoid": ["you don't use Kotlin or coroutines", "you want full Compose UI rendering rather than headless state streams"], "when_to_choose": ["you use Kotlin coroutines Flow and want declarative state logic", "you want to test business logic separately from Compose UI", "you're building MVI-style presenters in Kotlin Multiplatform"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cashapp-molecule", "repo": "cashapp/molecule", "role": "main", "score": 73}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:27.676510+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:45:45.681689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "68425f16d7075356b05f57f82b7fde10115ff3ae77534c1061186e2db89ebb1a", "fetched_at": "2026-08-28T04:06:27.676510+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cashapp/molecule"}, {"content_hash": "904b7753441daa7a11e18e855a839a68346db48e2de712b2adf775ad4e1751c9", "fetched_at": "2026-08-29T10:25:38.344454+00:00", "kind": "homepage", "missing": false, "url": "https://cashapp.github.io/molecule/docs/2.x/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:27.676510+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:45:45.681689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "68425f16d7075356b05f57f82b7fde10115ff3ae77534c1061186e2db89ebb1a", "fetched_at": "2026-08-28T04:06:27.676510+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cashapp/molecule"}, {"content_hash": "904b7753441daa7a11e18e855a839a68346db48e2de712b2adf775ad4e1751c9", "fetched_at": "2026-08-29T10:25:38.344454+00:00", "kind": "homepage", "missing": false, "url": "https://cashapp.github.io/molecule/docs/2.x/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:45:45.681689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "68425f16d7075356b05f57f82b7fde10115ff3ae77534c1061186e2db89ebb1a", "fetched_at": "2026-08-28T04:06:27.676510+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cashapp/molecule"}, {"content_hash": "904b7753441daa7a11e18e855a839a68346db48e2de712b2adf775ad4e1751c9", "fetched_at": "2026-08-29T10:25:38.344454+00:00", "kind": "homepage", "missing": false, "url": "https://cashapp.github.io/molecule/docs/2.x/"}], "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:06:27.676510+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:27.676510+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:27.676510+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:45:45.681689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "68425f16d7075356b05f57f82b7fde10115ff3ae77534c1061186e2db89ebb1a", "fetched_at": "2026-08-28T04:06:27.676510+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cashapp/molecule"}, {"content_hash": "904b7753441daa7a11e18e855a839a68346db48e2de712b2adf775ad4e1751c9", "fetched_at": "2026-08-29T10:25:38.344454+00:00", "kind": "homepage", "missing": false, "url": "https://cashapp.github.io/molecule/docs/2.x/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:27.676510+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:27.676510+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:45:45.681689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "68425f16d7075356b05f57f82b7fde10115ff3ae77534c1061186e2db89ebb1a", "fetched_at": "2026-08-28T04:06:27.676510+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cashapp/molecule"}, {"content_hash": "904b7753441daa7a11e18e855a839a68346db48e2de712b2adf775ad4e1751c9", "fetched_at": "2026-08-29T10:25:38.344454+00:00", "kind": "homepage", "missing": false, "url": "https://cashapp.github.io/molecule/docs/2.x/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:27.676510+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:27.676510+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:27.676510+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:45:45.681689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "68425f16d7075356b05f57f82b7fde10115ff3ae77534c1061186e2db89ebb1a", "fetched_at": "2026-08-28T04:06:27.676510+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cashapp/molecule"}, {"content_hash": "904b7753441daa7a11e18e855a839a68346db48e2de712b2adf775ad4e1751c9", "fetched_at": "2026-08-29T10:25:38.344454+00:00", "kind": "homepage", "missing": false, "url": "https://cashapp.github.io/molecule/docs/2.x/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:27.676510+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:27.676510+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:45:45.681689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "68425f16d7075356b05f57f82b7fde10115ff3ae77534c1061186e2db89ebb1a", "fetched_at": "2026-08-28T04:06:27.676510+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cashapp/molecule"}, {"content_hash": "904b7753441daa7a11e18e855a839a68346db48e2de712b2adf775ad4e1751c9", "fetched_at": "2026-08-29T10:25:38.344454+00:00", "kind": "homepage", "missing": false, "url": "https://cashapp.github.io/molecule/docs/2.x/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:45:45.681689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "68425f16d7075356b05f57f82b7fde10115ff3ae77534c1061186e2db89ebb1a", "fetched_at": "2026-08-28T04:06:27.676510+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cashapp/molecule"}, {"content_hash": "904b7753441daa7a11e18e855a839a68346db48e2de712b2adf775ad4e1751c9", "fetched_at": "2026-08-29T10:25:38.344454+00:00", "kind": "homepage", "missing": false, "url": "https://cashapp.github.io/molecule/docs/2.x/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:45:45.681689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "68425f16d7075356b05f57f82b7fde10115ff3ae77534c1061186e2db89ebb1a", "fetched_at": "2026-08-28T04:06:27.676510+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cashapp/molecule"}, {"content_hash": "904b7753441daa7a11e18e855a839a68346db48e2de712b2adf775ad4e1751c9", "fetched_at": "2026-08-29T10:25:38.344454+00:00", "kind": "homepage", "missing": false, "url": "https://cashapp.github.io/molecule/docs/2.x/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:45:45.681689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "68425f16d7075356b05f57f82b7fde10115ff3ae77534c1061186e2db89ebb1a", "fetched_at": "2026-08-28T04:06:27.676510+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cashapp/molecule"}, {"content_hash": "904b7753441daa7a11e18e855a839a68346db48e2de712b2adf775ad4e1751c9", "fetched_at": "2026-08-29T10:25:38.344454+00:00", "kind": "homepage", "missing": false, "url": "https://cashapp.github.io/molecule/docs/2.x/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 25}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1911, "days_push": 11, "days_rel": 343, "gap_med": 165, "n_releases_24m": 2}, "score": 73, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}