|Project Name||Stars||Downloads||Repos Using This||Packages Using This||Most Recent Commit||Total Releases||Latest Release||Open Issues||License||Language|
|Peopleinspace||2,390||5 days ago||9||September 07, 2022||18||apache-2.0||Objective-C|
|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.|
|Androidbaseframemvvm||869||5 days ago||3||Kotlin|
|基于 Jetpack + Kotlin 的 Android 组件化 MVVM 框架|
|Reactive Mvvm Android||636||2 months ago||15||apache-2.0||Kotlin|
|My way to MVVM using KotlinX Coroutines and Android data-binding|
|Uniflow Kt||565||a year ago||15||May 19, 2022||11||other||Kotlin|
|Uniflow 🦄 - Simple Unidirectional Data Flow for Android & Kotlin, using Kotlin coroutines and open to functional programming|
|Bikeshare||502||5 days ago||11||apache-2.0||Makefile|
|SwiftUI, Jetpack Compose, and Compose for Desktop based Kotlin Multiplatform project (using CityBikes API http://api.citybik.es/v2/). Uses Realm for local persistence|
|Tvflix||403||2 months ago||mit||Kotlin|
|TvFlix android app using Dagger Hilt, Coroutines, Flow, KTX, Jetpack(Room, ViewModel, Paging3, Lifecycle) based on MVVM with clean code architecture purely written in Kotlin|
|Jetpack_github||355||a year ago||mit||Roff|
|基于Kotlin + Jetpack全家桶 + Coroutines(协程) + Flutter等架构实现的一款精简版Github客户端项目,望与广大小伙伴一起成长,欢迎start or fork！|
|Delish||327||5 months ago||Kotlin|
|Delish, a Food Recipes App in Jetpack Compose and Hilt based on modern Android tech-stacks and MVI clean architecture.|
|Eiffel||205||a year ago||2||mit||Kotlin|
|Redux-inspired Android architecture library leveraging Architecture Components and Kotlin Coroutines|
|Starwarssearch Mvi||196||15 days ago||apache-2.0||Kotlin|
|Star wars sample android project showcasing the use of View components for rendering UI in Fragments and Activities. Uses Android Jetpack, clean architecture with MVI (Uni-directional data flow), dagger hilt, and kotlin coroutines with StateFlow|
Kotlin Multiplatform project with SwiftUI, Jetpack Compose, Compose for Wear OS, Compose for Desktop, Compose for Web, and Kotlin/JS + React clients along with Ktor backend. Currently running on
It makes use of Open Notify PeopleInSpace API to show list of people currently in space and also the position of the International Space Station (inspired by https://kousenit.org/2019/12/19/a-few-astronomical-examples-in-kotlin/)!
The project is included as sample in the official Kotlin Multiplatform Mobile docs and also the Google Dev Library
Note that this repository very much errs on the side of minimalism to help more clearly illustrate key moving parts of a Kotlin Multiplatform project and also to hopefully help someone just starting to explore KMP to get up and running for first time (and is of course primarily focused on use of Jetpack Compose and SwiftUI). If you're at the stage of moving beyond this then I'd definitely recommend checking out KaMPKit from Touchlab. I also have the following samples that demonstrate the use of a variety of Kotlin Multiplatform libraries (and also use Jetpack Compose and SwiftUI).
You need to use at least Android Studio Flamingo (note: Java 17 is now the minimum version required). Requires XCode 13.2 or later (due to use of new Swift 5.5 concurrency APIs).
Open `PeopleInSpaceSwiftUI' for iOS/watchOS/macOS projects.
To exercise (React based) web client run
To run backend you can either run
./gradlew :backend:run or run
Server.kt directly from Android Studio. After doing that you should then for example be able to open
http://localhost:9090/astros_local.json in a browser.
The Compose for Web client resides in the
compose-web module and can be run by
This client is available in
compose-desktop module and can be run using
./gradlew :compose-desktop:run. Note that you
need to use appropriate version of JVM when running (works for example with Java 11)
Can be run using for example
Have tested this out in Google App Engine deployment. Using shadowJar plugin to create an "uber" jar and then deploying it as shown below. Should be possible to deploy this jar to other services as well.
./gradlew :backend:shadowJar gcloud app deploy backend/build/libs/backend-all.jar
There's a GraphQL module (
graphql-server) which can be run locally using
./gradlew :graphql-server:bootRun with "playground" then available at http://localhost:8080/playground
Android (Jetpack Compose)
Wear OS (Wear Compose)
Compose for Desktop
Compose for Web
Web App (Kotlin/JS + React)