Kotlin Dependency Injection

Open-source Kotlin projects categorized as Dependency Injection

Top 20 Kotlin Dependency Injection Projects

  • koin

    Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform

    Project mention: KVision 6.0.0 is released | dev.to | 2022-12-31

    New modules allow you to easily build KVision apps with the Ballast opinionated application state management framework. You can see how Ballast (together with Koin) can help you design your application architecture in the new todomvc-ballast example.

  • Kodein

    Painless Kotlin Dependency Injection

    Project mention: Kodein VS MocKMP - a user suggested alternative | libhunt.com/r/Kodein | 2022-11-09
  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support. Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • NotyKT 🖊️

    📒 NotyKT is a complete 💎Kotlin-stack (Backend + Android) 📱 application built to demonstrate the use of Modern development tools with best practices implementation🦸.

    Project mention: I have been unable to find some good and upto date android projects on using api, retrofit and mvvm architecture on youtube. Was hoping you guys can suggest some good playlists to learn these and other important topics. | reddit.com/r/androiddev | 2022-10-02

    I also recommend: NotyKt multi-module

  • kotlin-inject

    Dependency injection lib for kotlin

    Project mention: Alternative to Hilt for KMM but not Koin | reddit.com/r/androiddev | 2022-09-02
  • ActivityStarter

    Simple Android Library, that provides easy way to start the Activities with arguments.

  • AvengersChat

    💙 Android sample Avengers chat application using Stream Chat SDK based on MVVM (ViewModel, Coroutines, Room, Hilt, Repository) architecture.

  • whetstone

    Whetstone is a dependency injection framework for Android that greatly simplifies working with Dagger 2 using all the powers of Anvil (by deliveryhero)

    Project mention: Whetstone: A DI framework for Android that simplifies working with Dagger 2 using Anvil | reddit.com/r/androiddev | 2022-10-02
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • PopKorn

    DI can be simple. Forget about modules and components. Just use it!

  • injekt

    Next gen DI framework powered by a Kotlin compiler plugin [WIP] (by IVIanuu)

  • ThinkRchive

    An app showing all details for various Lenovo Thinkpad models. Made to try out Jepack Compose for Android.

    Project mention: Nifty, well made, small apps you've run into? | reddit.com/r/androiddev | 2022-04-08

    I'll plug mine. https://github.com/Thinkrchive/ThinkRchive

  • kotlin-guice

    Guice DSL extensions for Kotlin

  • dagger-track

    Gradle plugin to add clock trackings to your dagger components and subcomponents

  • FlairFramework

    This is powerful android framework (by Rasalexman)

  • ModularDynamicFeatureHilt

    Example Multi module architecture Android project using MVVM, Dynamic Features, Dagger-Hilt, Coroutines and Navigation Components

    Project mention: Dynamic Feature modules template | dev.to | 2022-05-09

    Github Repository

  • BCVAX-Android

  • Warehouse

    Kotlin DSL dependency injection library (by osama-raddad)

    Project mention: Warehouse | reddit.com/r/androiddev | 2022-07-14

    Warehouse is a lightweight Kotlin DSL dependency injection library; this library has an extremely faster learning curve and more human-friendly logs, and more explicit, it has graph nesting and multi-module support.

  • kotlin-guiced

    Convenience Kotlin API over the Google Guice DI Library

  • KODI

    light-weight KOtlin Dependency Injection (KODI)

  • On

    Kotlin Dependency Injection with zero setup and zero boilerplate code

  • viewmodel-parameters

    Example on how to inject parameters directly into an Android ViewModel

    Project mention: Parameter Injection for Android ViewModels | dev.to | 2022-08-23

    The whole example with different variants using the SavedStateHandle, Hilt and an Activity can be found on GitHub

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-12-31.

Kotlin Dependency Injection related posts


What are some of the best open-source Dependency Injection projects in Kotlin? This list will help you:

Project Stars
1 koin 7,818
2 Kodein 2,890
3 NotyKT 🖊️ 1,425
4 kotlin-inject 504
5 ActivityStarter 429
6 AvengersChat 353
7 whetstone 164
8 PopKorn 146
9 injekt 94
10 ThinkRchive 81
11 kotlin-guice 64
12 dagger-track 60
13 FlairFramework 31
14 ModularDynamicFeatureHilt 28
15 BCVAX-Android 19
16 Warehouse 18
17 kotlin-guiced 17
18 KODI 12
19 On 6
20 viewmodel-parameters 0
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.