kompendium
Kodein
kompendium | Kodein | |
---|---|---|
5 | 3 | |
138 | 3,136 | |
5.8% | 0.3% | |
8.7 | 6.0 | |
12 days ago | about 1 month ago | |
Kotlin | Kotlin | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kompendium
-
How is Ktor different
My team has had some luck with Kompendium , although we did run into some rough edges and had to do some local bug fixes for it. Some of them may have been addressed since I last looked though.
-
What do you use to generate openapi documentation?
There is also a plug-in in IntelliJ for ktor 2.2.1+, kompendium and papsign Ktor-OpenAPI-Generator
- Check out the What’s New in Ktor 2.0 talk to learn about features that the team has been working on to simplify development ⬇️
-
Kompendium: A minimally invasive OpenAPI generator for Ktor
Yes pleaseeeee 🙏 or if you like you could comment on the issue https://github.com/bkbnio/kompendium/issues/37 that way other people can track as well.... for the life of me I could not get it to work lol, so I figured GitHub Packages was good enough in the meantime
Kodein
-
Kodein VS MocKMP - a user suggested alternative
2 projects | 9 Nov 2022
-
Do we really need to use Dependency Injection Framework?
Now I will finish up saying Hilt is just an opinionated way to dependency injection on Android, but there are simpler frameworks out there such as Koin or Kodein that can help take away a lot of the troubles that can come when you try to make your own framework. Just know that most other frameworks tend to be runtime injection instead of compile time injection like Hilt, which can be helpful to know at compile time if you are missing a dependency in your graph as opposed to runtime when its out in the wild.
-
Yet another DI library, bit this time it's not a service locator
Long answer: My pain mostly comes from using [Kodein](https://github.com/Kodein-Framework/Kodein-DI/) and a custom service locator in an iOS/Swift project. Other than that I have very little experience with DI (e.g. I never used Dagger so far), so my opinion might be a little biased. Also, both of these projects are really large, so, in many cases, a class is declared in one module but used in a completely different module and the DI or service locator is sort of the glue between the modules.
What are some alternatives?
Ktor-OpenAPI-Generator - Ktor OpenAPI/Swagger 3 Generator
koin - Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform
NotyKT 🖊️ - 📒 NotyKT is a complete 💎Kotlin-stack (Backend + Android) 📱 application built to demonstrate the use of Modern development tools with best practices implementation🦸.
kotlin-guice - Guice DSL extensions for Kotlin
kvision - Object oriented web framework for Kotlin/JS
injekt
ktor-swagger-ui - Kotlin Ktor plugin to generate OpenAPI and provide Swagger UI
kapsule - Minimalist dependency injection library for Kotlin.
zally - A minimalistic, simple-to-use API linter
KODI - light-weight KOtlin Dependency Injection (KODI)
kjs - Kotlin Client Server React Demo
kotlin-guiced - Convenience Kotlin API over the Google Guice DI Library