{"adoption": {"forks": 177, "observed_at": "2026-08-28T04:07:56.729634+00:00", "stars": 3335}, "canonical_url": "https://ross.abutalabs.com/products/kodein", "card": {"archived": false, "artifact_type": "library", "description": "Painless Kotlin Dependency Injection", "domain": ["developer-tools", "mobile-development", "cross-platform", "web-development"], "enriched": true, "function": ["developer-tools", "plugin-system"], "health_score": 96, "homepage": "https://kosi-libs.org/kodein", "language": "Kotlin", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["kosi-libs/Kodein"], "name": "kosi-libs/Kodein", "platform": ["jvm", "windows", "wasm"], "pushed_at": "2026-07-21T07:40:56+00:00", "repo": "kosi-libs/Kodein", "stars": 3335, "tags": ["dependency-injection", "kotlin-multiplatform", "di-container", "ktor", "compose", "android", "ios", "macos", "linux"], "topics": ["kotlin-multiplatform", "kotlin-dependency-injection", "kotlin", "ktor", "tornadofx", "android", "injection", "kodein-di", "kodein", "compose-desktop", "compose", "kodein-framework"], "urls": [], "use_cases": ["manage dependencies in a Kotlin multiplatform app", "inject dependencies into Android activities and fragments", "use dependency injection with Ktor server", "lazily instantiate services in a Kotlin project", "replace Dagger or Koin with a simpler DI container", "bind interfaces to implementations in Kotlin"], "what_it_is": "Kodein is a painless Kotlin dependency injection container with a simple declarative DSL. It supports all Kotlin Multiplatform targets and integrates with Android, Compose, and Ktor.", "when_to_avoid": ["you need compile-time DI verification like Dagger", "your project is Java-only without Kotlin", "you need a very large-scale enterprise DI framework with advanced scoping"], "when_to_choose": ["you want a simple, idiomatic Kotlin DI DSL", "you need DI across JVM, Android, iOS, JS, and Native targets", "you use Compose or Ktor and want first-class integration"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/kodein", "repo": "kosi-libs/Kodein", "role": "main", "score": 91}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.729634+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:41:07.829283+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a638ffb892682b36030f2ec11a2aa8294cbe01298ecb4a1d45df1d5c6903897", "fetched_at": "2026-08-28T04:07:56.729634+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kosi-libs/Kodein"}, {"content_hash": "d22b59a2abe35408b43edc1dcf3da8dec2fab6f3aac1cd42db8fe7c758801253", "fetched_at": "2026-08-29T09:34:24.064270+00:00", "kind": "homepage", "missing": false, "url": "https://kosi-libs.org/kodein"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.729634+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:41:07.829283+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a638ffb892682b36030f2ec11a2aa8294cbe01298ecb4a1d45df1d5c6903897", "fetched_at": "2026-08-28T04:07:56.729634+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kosi-libs/Kodein"}, {"content_hash": "d22b59a2abe35408b43edc1dcf3da8dec2fab6f3aac1cd42db8fe7c758801253", "fetched_at": "2026-08-29T09:34:24.064270+00:00", "kind": "homepage", "missing": false, "url": "https://kosi-libs.org/kodein"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:41:07.829283+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a638ffb892682b36030f2ec11a2aa8294cbe01298ecb4a1d45df1d5c6903897", "fetched_at": "2026-08-28T04:07:56.729634+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kosi-libs/Kodein"}, {"content_hash": "d22b59a2abe35408b43edc1dcf3da8dec2fab6f3aac1cd42db8fe7c758801253", "fetched_at": "2026-08-29T09:34:24.064270+00:00", "kind": "homepage", "missing": false, "url": "https://kosi-libs.org/kodein"}], "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:56.729634+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.729634+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.729634+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:41:07.829283+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a638ffb892682b36030f2ec11a2aa8294cbe01298ecb4a1d45df1d5c6903897", "fetched_at": "2026-08-28T04:07:56.729634+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kosi-libs/Kodein"}, {"content_hash": "d22b59a2abe35408b43edc1dcf3da8dec2fab6f3aac1cd42db8fe7c758801253", "fetched_at": "2026-08-29T09:34:24.064270+00:00", "kind": "homepage", "missing": false, "url": "https://kosi-libs.org/kodein"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.729634+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.729634+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:41:07.829283+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a638ffb892682b36030f2ec11a2aa8294cbe01298ecb4a1d45df1d5c6903897", "fetched_at": "2026-08-28T04:07:56.729634+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kosi-libs/Kodein"}, {"content_hash": "d22b59a2abe35408b43edc1dcf3da8dec2fab6f3aac1cd42db8fe7c758801253", "fetched_at": "2026-08-29T09:34:24.064270+00:00", "kind": "homepage", "missing": false, "url": "https://kosi-libs.org/kodein"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.729634+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.729634+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.729634+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:41:07.829283+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a638ffb892682b36030f2ec11a2aa8294cbe01298ecb4a1d45df1d5c6903897", "fetched_at": "2026-08-28T04:07:56.729634+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kosi-libs/Kodein"}, {"content_hash": "d22b59a2abe35408b43edc1dcf3da8dec2fab6f3aac1cd42db8fe7c758801253", "fetched_at": "2026-08-29T09:34:24.064270+00:00", "kind": "homepage", "missing": false, "url": "https://kosi-libs.org/kodein"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.729634+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.729634+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:41:07.829283+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a638ffb892682b36030f2ec11a2aa8294cbe01298ecb4a1d45df1d5c6903897", "fetched_at": "2026-08-28T04:07:56.729634+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kosi-libs/Kodein"}, {"content_hash": "d22b59a2abe35408b43edc1dcf3da8dec2fab6f3aac1cd42db8fe7c758801253", "fetched_at": "2026-08-29T09:34:24.064270+00:00", "kind": "homepage", "missing": false, "url": "https://kosi-libs.org/kodein"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:41:07.829283+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a638ffb892682b36030f2ec11a2aa8294cbe01298ecb4a1d45df1d5c6903897", "fetched_at": "2026-08-28T04:07:56.729634+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kosi-libs/Kodein"}, {"content_hash": "d22b59a2abe35408b43edc1dcf3da8dec2fab6f3aac1cd42db8fe7c758801253", "fetched_at": "2026-08-29T09:34:24.064270+00:00", "kind": "homepage", "missing": false, "url": "https://kosi-libs.org/kodein"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:41:07.829283+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a638ffb892682b36030f2ec11a2aa8294cbe01298ecb4a1d45df1d5c6903897", "fetched_at": "2026-08-28T04:07:56.729634+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kosi-libs/Kodein"}, {"content_hash": "d22b59a2abe35408b43edc1dcf3da8dec2fab6f3aac1cd42db8fe7c758801253", "fetched_at": "2026-08-29T09:34:24.064270+00:00", "kind": "homepage", "missing": false, "url": "https://kosi-libs.org/kodein"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:41:07.829283+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a638ffb892682b36030f2ec11a2aa8294cbe01298ecb4a1d45df1d5c6903897", "fetched_at": "2026-08-28T04:07:56.729634+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kosi-libs/Kodein"}, {"content_hash": "d22b59a2abe35408b43edc1dcf3da8dec2fab6f3aac1cd42db8fe7c758801253", "fetched_at": "2026-08-29T09:34:24.064270+00:00", "kind": "homepage", "missing": false, "url": "https://kosi-libs.org/kodein"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 93, "longevity": 100, "rhythm": 82}, "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": 4157, "days_push": 43, "days_rel": 43, "gap_med": 36, "n_releases_24m": 14}, "score": 91, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}