Kotlin kotlin-multiplatform

Open-source Kotlin projects categorized as kotlin-multiplatform

Top 23 Kotlin kotlin-multiplatform Projects

  • okio

    A modern I/O library for Android, Java, and Kotlin Multiplatform.

    Project mention: Is it a good idea to use Google Guava library for Android development? | /r/codehunter | 2023-05-15

    I 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).

  • koin

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

    Project mention: Kotlin Multiplatform and Swift - Overcoming Interoperability Challenges for Multiplatform Development | dev.to | 2023-07-16

    Let'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.

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • SQLDelight

    SQLDelight - Generates typesafe Kotlin APIs from SQL

    Project mention: querky – autogenerate Python functions and types for your SQL queries | news.ycombinator.com | 2023-12-15

    This 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).

  • apollo-android

    :robot:  A strongly-typed, caching GraphQL client for the JVM, Android, and Kotlin multiplatform.

    Project mention: Migrating Netflix to GraphQL Safely | news.ycombinator.com | 2023-06-18

    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/

  • 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

  • Kodein

    Painless Kotlin Dependency Injection

  • Store

    A Kotlin Multiplatform library for building network-resilient applications (by MobileNativeFoundation)

    Project mention: Store5 is in beta! | /r/androiddev | 2023-05-19
  • 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.

  • 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.

  • Splitties

    A collection of hand-crafted extensions for your Kotlin projects.

  • KaMPKit

    KaMP Kit by Touchlab. A collection of code & tools designed to get your mobile team started quickly w/Kotlin Multiplatform

    Project mention: Is Kotlin Multiplatform the right answer ? | /r/Kotlin | 2023-12-06

    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

  • 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.

    Project mention: Kotlin Multiplatform for Android and iOS Apps | news.ycombinator.com | 2023-09-25

    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#...

  • Decompose

    Kotlin Multiplatform lifecycle-aware business logic components (aka BLoCs) with routing (navigation) and pluggable UI (Jetpack Compose, SwiftUI, JS React, etc.)

    Project mention: What do you use for compose navigation? | /r/androiddev | 2023-04-11

    I use Decompose, although I also have a kmp project which that supports. I find the compose extensions providing a very easy API when integrating with compose.

  • Emoji

    A library to add Emoji support to your Android / JVM Application

  • multiplatform-settings

    A Kotlin Multiplatform library for saving simple key-value data

  • twine

    Twine: A multiplatform RSS reader built using Kotlin and Compose (by msasikanth)

    Project mention: Show HN: Twine – Gorgeous open source multiplatform RSS app | news.ycombinator.com | 2024-01-31
  • 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

    Project mention: Is Kotlin Multiplatform the right answer ? | /r/Kotlin | 2023-12-06

    If you like Retrofit, I'd recommend checking out Ktorfit which is similar for KMP. https://github.com/Foso/Ktorfit

  • Reaktive

    Kotlin multi-platform implementation of Reactive Extensions

  • 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.

  • DroidconKotlin

    Kotlin Multiplatfom app for Droidcon Events

  • moko-mvvm

    Model-View-ViewModel architecture components for mobile (android & ios) Kotlin Multiplatform development

  • moko-resources

    Resources access for mobile (android & ios) Kotlin Multiplatform development

    Project mention: Anyone here who uses compose-multiplatform for desktop apps, what’s your feedback? | /r/Kotlin | 2023-04-03

    For resource management and internationalisation we use https://github.com/icerockdev/moko-resources you need to spend a bit of time with it to understand how it works, but once you have it, it works pretty well. There are some quirks like you have to trigger the gradle task for generating the strings resources manually and some IDE auto-complete does not work (the import of package mostly).

  • KMP-NativeCoroutines

    Library to use Kotlin Coroutines from Swift code in KMP apps

  • Result

    The modelling for success/failure of operations in Kotlin and KMM (Kotlin Multiplatform Mobile) (by kittinunf)

  • Onboard AI

    ChatGPT with full context of any GitHub repo. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.

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 2024-01-31.

Kotlin kotlin-multiplatform related posts

Index

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

Project Stars
1 okio 8,615
2 koin 8,520
3 SQLDelight 5,801
4 apollo-android 3,637
5 AboutLibraries 3,432
6 Kodein 3,117
7 Store 3,022
8 PeopleInSpace 2,719
9 Splitties 2,434
10 KaMPKit 2,035
11 kmm-production-sample 1,864
12 Decompose 1,822
13 Emoji 1,489
14 multiplatform-settings 1,349
15 twine 1,316
16 Ktorfit 1,299
17 Reaktive 1,132
18 gradle-maven-publish-plugin 1,084
19 DroidconKotlin 976
20 moko-mvvm 946
21 moko-resources 937
22 KMP-NativeCoroutines 922
23 Result 877
ChatGPT with full context of any GitHub repo.
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.
app.getonboardai.com