The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 kotlin-multiplatform Open-Source Projects
-
koin
Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
apollo-android
:robot: A strongly-typed, caching GraphQL client for the JVM, Android, and Kotlin multiplatform.
-
AboutLibraries
AboutLibraries automatically collects all dependencies and licenses of any gradle project (Kotlin MultiPlatform), and provides easy to integrate UI components for Android and Compose-jb environments
-
Store
A Kotlin Multiplatform library for building network-resilient applications (by MobileNativeFoundation)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
PeopleInSpace
Kotlin Multiplatform project with SwiftUI, Jetpack Compose, Compose for Wear, Compose for Desktop, Compose for Web and Kotlin/JS + React clients along with Ktor backend.
-
Kotlin-Multiplatform-Libraries
Kotlin Multiplatform Libraries. Welcome PR if you find or create new Kotlin Multiplatform Library.
-
KaMPKit
KaMP Kit by Touchlab. A collection of code & tools designed to get your mobile team started quickly w/Kotlin Multiplatform
-
Decompose
Kotlin Multiplatform lifecycle-aware business logic components (aka BLoCs) with routing (navigation) and pluggable UI (Jetpack Compose, SwiftUI, JS React, etc.)
-
kmm-production-sample
This is an open-source, mobile, cross-platform application built with Kotlin Multiplatform Mobile. It's a simple RSS reader, and you can download it from the App Store and Google Play. It's been designed to demonstrate how KMM can be used in real production projects.
-
Ktorfit
HTTP client generator / KSP plugin for Kotlin Multiplatform (Android, iOS, Js, Jvm, Native) using KSP and Ktor clients inspired by Retrofit https://foso.github.io/Ktorfit
-
gradle-maven-publish-plugin
A Gradle plugin that publishes your Android and Kotlin libraries, including sources and javadoc, to Maven Central or any other Nexus instance.
-
moko-mvvm
Model-View-ViewModel architecture components for mobile (android & ios) Kotlin Multiplatform development
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Is it a good idea to use Google Guava library for Android development? | /r/codehunter | 2023-05-15I am involved in the development of Android application which is a rather "thick" mobile client for a Web service. It heavily communicates with the server but also has a lot of inner logic too. So, I decided to use some features of Google Guava library to simplify development process. Here is a list of features I'm very interested in: immutable collections, base utils, collection extensions, functional programming sugar and idioms (common.collect and common.base), primitives utilities (common.primitives), hashing utilities (common.hash), concurrent utils (futures and AsyncFunction). Things I don't want to use in Android: common.cache (see question below), common.eventbus (we have better Android specific libs for this, such as Otto), common.io (we can use okio for Android now).
Project mention: Kotlin Multiplatform and Swift - Overcoming Interoperability Challenges for Multiplatform Development | dev.to | 2023-07-16Let's see how we can use Koin to achieve Dependency Injection (DI) and incorporate a third-party iOS Swift SDK in a KMM project. Koin supports KMM development, making it the ideal choice for KMM projects.
Project mention: querky – autogenerate Python functions and types for your SQL queries | news.ycombinator.com | 2023-12-15This seems to be similar to https://github.com/cashapp/sqldelight, and I've always wanted a python equivalent!
In typescript, there are query builders (not talking about ORMs) that can basically do this within the type system, but that would be infeasible in python's type system. This approach (type/code generation is a good alternative, though I like using sqlalchemy / alembic to manage schemas/migrations.
One thing I'm curious about is how it knows the types of columns? I looked quickly at the Readme but didn't see it (probably a parameter somewhere I missed).
GraphQL queries are just HTTP POST queries with a JSON body. They're supported everywhere.
If you want specialized tooling for them, Kotlin and Swift both have great strongly-typed GraphQL libraries.
Apollo publishes libraries for both:
- https://www.apollographql.com/docs/kotlin/
- https://www.apollographql.com/docs/ios/
Project mention: Multi-platform libraries built with Kotlin Multiplatform (KMP) | dev.to | 2024-03-14There's nothing you can do. However, Kotlin's official provides several libraries, so the scope that can be achieved using them is by no means small. Also, AAkira/Kotlin-Multiplatform-Libraries introduces several famous libraries created with Kotlin Multiplatform, which can be helpful. However, it can be quite disappointing when certain environments are not supported. But let's think of it as an opportunity! Let's become the first person to implement it!
In KaMP Kit we actually use Koin to add the Application instance: https://github.com/touchlab/KaMPKit/blob/main/app/src/main/kotlin/co/touchlab/kampkit/android/MainApp.kt
Business logic is not only about backend. Apps usually have a lot of client-side logic that can be written once in KMM and used on both platforms. See [1] for a high level architecture diagram.
I'm an iOS dev and I've been using KMM on a couple of projects for more than a year now. It's really a powerfull technology which allows teams to move faster, but there are downsides, for example lack of native Swift interop, though there are opensource tools trying to solve this [2].
[1]: https://github.com/Kotlin/kmm-production-sample/tree/master#...
Project mention: Show HN: Twine – Gorgeous open source multiplatform RSS app | news.ycombinator.com | 2024-01-31
If you like Retrofit, I'd recommend checking out Ktorfit which is similar for KMP. https://github.com/Foso/Ktorfit
kotlin-multiplatform related posts
- Multi-platform libraries built with Kotlin Multiplatform (KMP)
- querky – autogenerate Python functions and types for your SQL queries
- Is Kotlin Multiplatform the right answer ?
- Is Kotlin Multiplatform the right answer ?
- Kotlin Multiplatform Is Stable and Production-Ready
- Show HN: Mementō – File browser for local and cloud storage
- Kotlin Multiplatform for Android and iOS Apps
-
A note from our sponsor - WorkOS
workos.com | 24 Apr 2024
Index
What are some of the best open-source kotlin-multiplatform projects? This list will help you:
Project | Stars | |
---|---|---|
1 | okio | 8,659 |
2 | koin | 8,609 |
3 | SQLDelight | 5,908 |
4 | apollo-android | 3,665 |
5 | AboutLibraries | 3,495 |
6 | Kodein | 3,131 |
7 | Store | 3,064 |
8 | kmp-awesome | 2,983 |
9 | PeopleInSpace | 2,781 |
10 | Kotlin-Multiplatform-Libraries | 2,542 |
11 | Splitties | 2,448 |
12 | KaMPKit | 2,068 |
13 | Decompose | 1,946 |
14 | kmm-production-sample | 1,917 |
15 | Emoji | 1,498 |
16 | twine | 1,469 |
17 | multiplatform-settings | 1,412 |
18 | Ktorfit | 1,364 |
19 | Reaktive | 1,151 |
20 | gradle-maven-publish-plugin | 1,134 |
21 | DroidconKotlin | 989 |
22 | moko-resources | 985 |
23 | moko-mvvm | 972 |
Sponsored