{"adoption": {"forks": 106, "observed_at": "2026-08-28T04:04:32.326587+00:00", "stars": 1372}, "canonical_url": "https://ross.abutalabs.com/products/zacsweers-metro", "card": {"archived": false, "artifact_type": "library", "description": "A multiplatform, compile-time dependency injection framework for Kotlin", "domain": ["programming-languages", "developer-tools", "cross-platform", "compilers"], "enriched": true, "function": ["compiler", "build-tool", "developer-tools"], "health_score": 100, "homepage": "https://zacsweers.github.io/metro/", "language": "Kotlin", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["ZacSweers/metro"], "name": "ZacSweers/metro", "platform": ["jvm", "wasm", "cli"], "pushed_at": "2026-08-26T18:48:42+00:00", "repo": "ZacSweers/metro", "stars": 1372, "tags": ["kotlin-multiplatform", "compiler-plugin", "dagger-alternative", "jsr-330", "anvil", "code-generation", "compile-time-validation", "dependency-injection", "nodejs"], "topics": ["compiler-plugin", "dependency-injection", "di", "javax-inject", "jsr-330", "kotlin", "jakarta-inject"], "urls": [], "use_cases": ["dependency injection in Kotlin Multiplatform projects", "catch DI graph errors at compile time instead of runtime", "migrate incrementally from Dagger or kotlin-inject", "avoid KAPT/KSP overhead with a compiler-plugin-based DI framework", "aggregate DI contributions across modules like Anvil", "share dependency graphs across JVM, JS, Wasm, and Native targets"], "what_it_is": "Metro is a compile-time dependency injection framework for Kotlin Multiplatform, implemented as a Kotlin compiler plugin with FIR/IR code generation. It combines ideas from Dagger, Anvil, and kotlin-inject, supporting JVM, JS, Wasm, and Native targets without KAPT or KSP.", "when_to_avoid": ["you need runtime or reflection-based DI like Guice or Koin", "your project is not on Kotlin 2.x with compiler plugin support", "you rely on Dagger features or ecosystems Metro does not yet support", "you need a very mature, battle-tested framework with a large community"], "when_to_choose": ["you want fast, compile-time-validated DI in Kotlin Multiplatform", "you prefer a Kotlin-first API over Java-oriented Dagger", "you need Anvil-style contribution aggregation", "you want to incrementally migrate from Dagger, Guice, or kotlin-inject"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/zacsweers-metro", "repo": "ZacSweers/metro", "role": "main", "score": 84}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:32.326587+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:40:45.587008+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58074eb98dc7f2277dfb7f5e44968901e50f6de76e4de848fb88722c6309d53d", "fetched_at": "2026-08-28T04:04:32.326587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZacSweers/metro"}, {"content_hash": "36c6c3c2e4f9f7e35fb7fea86ea9bfd1cf7fe7061016698b1a017ae1cc7f4a36", "fetched_at": "2026-08-29T11:57:18.684849+00:00", "kind": "homepage", "missing": false, "url": "https://zacsweers.github.io/metro/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:32.326587+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:40:45.587008+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58074eb98dc7f2277dfb7f5e44968901e50f6de76e4de848fb88722c6309d53d", "fetched_at": "2026-08-28T04:04:32.326587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZacSweers/metro"}, {"content_hash": "36c6c3c2e4f9f7e35fb7fea86ea9bfd1cf7fe7061016698b1a017ae1cc7f4a36", "fetched_at": "2026-08-29T11:57:18.684849+00:00", "kind": "homepage", "missing": false, "url": "https://zacsweers.github.io/metro/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:40:45.587008+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58074eb98dc7f2277dfb7f5e44968901e50f6de76e4de848fb88722c6309d53d", "fetched_at": "2026-08-28T04:04:32.326587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZacSweers/metro"}, {"content_hash": "36c6c3c2e4f9f7e35fb7fea86ea9bfd1cf7fe7061016698b1a017ae1cc7f4a36", "fetched_at": "2026-08-29T11:57:18.684849+00:00", "kind": "homepage", "missing": false, "url": "https://zacsweers.github.io/metro/"}], "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:04:32.326587+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:32.326587+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:32.326587+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:40:45.587008+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58074eb98dc7f2277dfb7f5e44968901e50f6de76e4de848fb88722c6309d53d", "fetched_at": "2026-08-28T04:04:32.326587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZacSweers/metro"}, {"content_hash": "36c6c3c2e4f9f7e35fb7fea86ea9bfd1cf7fe7061016698b1a017ae1cc7f4a36", "fetched_at": "2026-08-29T11:57:18.684849+00:00", "kind": "homepage", "missing": false, "url": "https://zacsweers.github.io/metro/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:32.326587+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:32.326587+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:40:45.587008+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58074eb98dc7f2277dfb7f5e44968901e50f6de76e4de848fb88722c6309d53d", "fetched_at": "2026-08-28T04:04:32.326587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZacSweers/metro"}, {"content_hash": "36c6c3c2e4f9f7e35fb7fea86ea9bfd1cf7fe7061016698b1a017ae1cc7f4a36", "fetched_at": "2026-08-29T11:57:18.684849+00:00", "kind": "homepage", "missing": false, "url": "https://zacsweers.github.io/metro/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:32.326587+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:32.326587+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:32.326587+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:40:45.587008+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58074eb98dc7f2277dfb7f5e44968901e50f6de76e4de848fb88722c6309d53d", "fetched_at": "2026-08-28T04:04:32.326587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZacSweers/metro"}, {"content_hash": "36c6c3c2e4f9f7e35fb7fea86ea9bfd1cf7fe7061016698b1a017ae1cc7f4a36", "fetched_at": "2026-08-29T11:57:18.684849+00:00", "kind": "homepage", "missing": false, "url": "https://zacsweers.github.io/metro/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:32.326587+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:32.326587+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:40:45.587008+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58074eb98dc7f2277dfb7f5e44968901e50f6de76e4de848fb88722c6309d53d", "fetched_at": "2026-08-28T04:04:32.326587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZacSweers/metro"}, {"content_hash": "36c6c3c2e4f9f7e35fb7fea86ea9bfd1cf7fe7061016698b1a017ae1cc7f4a36", "fetched_at": "2026-08-29T11:57:18.684849+00:00", "kind": "homepage", "missing": false, "url": "https://zacsweers.github.io/metro/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:40:45.587008+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58074eb98dc7f2277dfb7f5e44968901e50f6de76e4de848fb88722c6309d53d", "fetched_at": "2026-08-28T04:04:32.326587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZacSweers/metro"}, {"content_hash": "36c6c3c2e4f9f7e35fb7fea86ea9bfd1cf7fe7061016698b1a017ae1cc7f4a36", "fetched_at": "2026-08-29T11:57:18.684849+00:00", "kind": "homepage", "missing": false, "url": "https://zacsweers.github.io/metro/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:40:45.587008+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58074eb98dc7f2277dfb7f5e44968901e50f6de76e4de848fb88722c6309d53d", "fetched_at": "2026-08-28T04:04:32.326587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZacSweers/metro"}, {"content_hash": "36c6c3c2e4f9f7e35fb7fea86ea9bfd1cf7fe7061016698b1a017ae1cc7f4a36", "fetched_at": "2026-08-29T11:57:18.684849+00:00", "kind": "homepage", "missing": false, "url": "https://zacsweers.github.io/metro/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:40:45.587008+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58074eb98dc7f2277dfb7f5e44968901e50f6de76e4de848fb88722c6309d53d", "fetched_at": "2026-08-28T04:04:32.326587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZacSweers/metro"}, {"content_hash": "36c6c3c2e4f9f7e35fb7fea86ea9bfd1cf7fe7061016698b1a017ae1cc7f4a36", "fetched_at": "2026-08-29T11:57:18.684849+00:00", "kind": "homepage", "missing": false, "url": "https://zacsweers.github.io/metro/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 47, "rhythm": 85}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 666, "days_push": 7, "days_rel": 20, "gap_med": 4, "n_releases_24m": 78}, "score": 84, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}