{"id":32654942,"url":"https://github.com/halcyonmobile/multiplatformplayground","last_synced_at":"2026-02-27T22:41:52.790Z","repository":{"id":53183470,"uuid":"329287530","full_name":"halcyonmobile/MultiplatformPlayground","owner":"halcyonmobile","description":"Kotlin Multiplatform project in Jetpack Compose \u0026 SwiftUI with shared ViewModel layer and File upload","archived":false,"fork":false,"pushed_at":"2021-04-03T17:12:39.000Z","size":2383,"stargazers_count":82,"open_issues_count":10,"forks_count":11,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-10-31T09:54:05.473Z","etag":null,"topics":["android","backend","hierarchy","kotlin","kotlin-multiplatform","kotlin-native","kotlinx-coroutines","ktor","localization","moko","swiftui","usecase","viewmodel"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/halcyonmobile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-13T11:32:36.000Z","updated_at":"2025-05-16T15:56:31.000Z","dependencies_parsed_at":"2022-08-13T02:20:40.128Z","dependency_job_id":null,"html_url":"https://github.com/halcyonmobile/MultiplatformPlayground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/halcyonmobile/MultiplatformPlayground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halcyonmobile%2FMultiplatformPlayground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halcyonmobile%2FMultiplatformPlayground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halcyonmobile%2FMultiplatformPlayground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halcyonmobile%2FMultiplatformPlayground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halcyonmobile","download_url":"https://codeload.github.com/halcyonmobile/MultiplatformPlayground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halcyonmobile%2FMultiplatformPlayground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29917930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"ssl_error","status_checked_at":"2026-02-27T19:37:41.463Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","backend","hierarchy","kotlin","kotlin-multiplatform","kotlin-native","kotlinx-coroutines","ktor","localization","moko","swiftui","usecase","viewmodel"],"created_at":"2025-10-31T09:54:03.897Z","updated_at":"2026-02-27T22:41:52.751Z","avatar_url":"https://github.com/halcyonmobile.png","language":"Kotlin","readme":"# Multiplatform Playground (AppPortfolio)\n\nA **Kotlin Multiplatform** project with the purpose of experimenting with and providing a possible direction to newcomers having questions about *tech stack*, *project setup*, *architectural decisions* in a KMP environment.\n\n\u003cp float=\"left\"\u003e\n    \u003cimg src=\"img/android.jpg\" alt=\"Android\" width=\"250\"/\u003e\n    \u003cimg src=\"img/iOS.png\" alt=\"iOS\" width=\"250\"/\u003e\n    \u003cimg src=\"img/macOS.png\" alt=\"macOS\" width=\"250\"/\u003e\n\u003c/p\u003e\n\n#### Note:\n\nIts primary purpose is to showcase sharing every layer except the UI layer in between multiple platforms, so shared **Presentation layer** using the MVVM pattern, shared **Domain** and **Data layers** (UseCase, Repositories, Entities, etc.).\n\n If sharing ViewModel logic is out of scope for you, then consider checking out the following repositories:\n\n- https://github.com/joreilly/PeopleInSpace\n- https://github.com/touchlab/KaMPKit\n- https://github.com/joreilly/BikeShare\n\n### Shared pieces\n\n- Every layer except UI (so ViewModel, UseCase, Repository layers)\n- Localization\n- DI\n- Shared DTOs (between Backend \u0026 Clients)\n\n### Tech stack\n\n- Declarative UI with `Jetpack Compose` and `SwiftUI`\n- [Koin](https://github.com/InsertKoinIO/koin)\n- [Ktor](https://ktor.io/) (Backend + Client logic)\n- [Kotlinx-serialization](https://github.com/Kotlin/kotlinx.serialization)\n- [SqlDelight](https://github.com/cashapp/sqldelight)\n- [Moko-Resources](https://github.com/icerockdev/moko-resources) (Localization)\n\n### Targets\n\n- JVM (Backend)\n- Android\n- iOS\n- macOS\n- desktop (planned)\n- web (planned)\n\n### Module Hierarchy\n![module-hierarchy](img/modules.png)\n\n### Further Development\n\n- Shared testing (currently android only, [Mockk K/N support](https://github.com/mockk/mockk/issues/58))\n- Supporting more targets\n\n##### The icons are from: https://icons8.com\n##\n### License\n\n    Copyright 2021 HalcyonMobile https://www.halcyonmobile.com\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       https://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalcyonmobile%2Fmultiplatformplayground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalcyonmobile%2Fmultiplatformplayground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalcyonmobile%2Fmultiplatformplayground/lists"}