kosi-libs/Kodein
Painless Kotlin Dependency Injection observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 93
- Release rhythm 82
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 36
- age_days: 4157
- days_rel: 43
- days_push: 43
- n_releases_24m: 14
Adoption not part of the score
3335 stars · 177 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
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.
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
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
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
Facets
library · maturity active
developer-tools plugin-system developer-tools mobile-development cross-platform web-development jvm windows wasm dependency-injection kotlin-multiplatform di-container ktor compose android ios macos linux
2 sources
- readme: https://github.com/kosi-libs/Kodein · fetched 2026-08-28 · 6a638ffb8926
- homepage: https://kosi-libs.org/kodein · fetched 2026-08-29 · d22b59a2abe3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kosi-libs/Kodein | main | 91 |
For agents
markdown · JSON · MCP: product_card(name="kosi-libs/Kodein")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem