InsertKoinIO/koin
Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 87
- Release rhythm 77
- 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: 34.0
- age_days: 3375
- days_rel: 79
- days_push: 79
- n_releases_24m: 15
Adoption not part of the score
10013 stars · 789 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Koin is a pragmatic, lightweight dependency injection framework for Kotlin and Kotlin Multiplatform, offering a concise DSL and annotations with optional compile-time safety via a Kotlin compiler plugin. It integrates with Android, Jetpack Compose, and Ktor, and is backed by an official IDE plugin and observability tooling.
Use cases
- inject dependencies in an Android app without code generation
- share DI setup across Kotlin Multiplatform mobile targets
- replace Hilt or Dagger with a simpler DI framework
- wire dependencies in a Ktor backend application
- add compile-time verification of a dependency graph
- inject ViewModels in Jetpack Compose apps
When to choose
- you want DI set up in minutes with a simple Kotlin DSL
- you need runtime flexibility like dynamic module loading or lazy loading
- you target Kotlin Multiplatform including Android, iOS, and desktop
- you prefer avoiding complex annotation processing and generated code
When to avoid
- you need statically enforced DI without adding a compiler plugin
- your team is already deeply invested in Hilt or Dagger conventions
- you work outside the Kotlin ecosystem
Facets
library · maturity stable
middleware developer-tools plugin-system mobile-development cross-platform backend developer-tools programming-languages jvm cross-platform dependency-injection kotlin-multiplatform service-locator di-framework jetpack-compose ktor compiler-plugin annotations android ios desktop web-server
10 sources
- readme: https://github.com/InsertKoinIO/koin · fetched 2026-08-28 · b512fc699a6c
- homepage: https://insert-koin.io · fetched 2026-08-29 · 7696e3e7af09
- site_page: https://insert-koin.io/docs/intro/what-is-koin · fetched 2026-08-29 · 0a422cc22607
- site_page: https://insert-koin.io/docs/intro/what-is-dependency-injection · fetched 2026-08-29 · 0320c871eb4f
- site_page: https://insert-koin.io/docs/intro/koin-compiler-plugin · fetched 2026-08-29 · 3094698d91e4
- site_page: https://insert-koin.io/docs/intro/koin-vs-hilt · fetched 2026-08-29 · f1e1eb5eeada
- site_page: https://insert-koin.io/docs/setup · fetched 2026-08-29 · b57ea8dca70f
- site_page: https://insert-koin.io/docs/reference/koin-core/starting-koin · fetched 2026-08-29 · 0cd932e366dc
- site_page: https://insert-koin.io/docs/reference/koin-android/start · fetched 2026-08-29 · d0b3e4b94110
- site_page: https://insert-koin.io/docs/reference/koin-compose/compose · fetched 2026-08-29 · d5dcbc1fbaa4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| InsertKoinIO/koin | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="InsertKoinIO/koin")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem