{"id":50844383,"url":"https://github.com/arrazyfathan/kbbi-kmp","last_synced_at":"2026-06-14T08:31:00.322Z","repository":{"id":363515207,"uuid":"1263659068","full_name":"arrazyfathan/kbbi-kmp","owner":"arrazyfathan","description":"KBBI dictionary app migrated from Android to Kotlin Multiplatform, sharing Compose UI, navigation, networking, and   persistence across Android and iOS.","archived":false,"fork":false,"pushed_at":"2026-06-09T08:28:14.000Z","size":2067,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-09T09:19:28.965Z","etag":null,"topics":["android","cmp","compose-multiplatform","hybrid","ios","kmp","kotlin","kotlin-multiplatform"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arrazyfathan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-09T06:40:45.000Z","updated_at":"2026-06-09T08:28:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/arrazyfathan/kbbi-kmp","commit_stats":null,"previous_names":["arrazyfathan/kbbi-kmp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/arrazyfathan/kbbi-kmp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arrazyfathan%2Fkbbi-kmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arrazyfathan%2Fkbbi-kmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arrazyfathan%2Fkbbi-kmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arrazyfathan%2Fkbbi-kmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arrazyfathan","download_url":"https://codeload.github.com/arrazyfathan/kbbi-kmp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arrazyfathan%2Fkbbi-kmp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34315072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","cmp","compose-multiplatform","hybrid","ios","kmp","kotlin","kotlin-multiplatform"],"created_at":"2026-06-14T08:30:59.697Z","updated_at":"2026-06-14T08:31:00.307Z","avatar_url":"https://github.com/arrazyfathan.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# KBBI Multiplatform\n\nAn Indonesian dictionary application built with Kotlin Multiplatform and Compose Multiplatform.\n\n**Android · iOS · Web · Desktop**\n\n[Features](#features) · [Architecture](#architecture) · [Running](#running-the-project) · [Development](#development)\n\n\u003c/div\u003e\n\n---\n\n## Overview\n\nKBBI Multiplatform shares its user interface, navigation, domain logic, networking, and data layer across four application platforms. Platform-specific source sets provide native integrations where required.\n\n| Platform | Target | Application module | Local persistence |\n|---|---|---|---|\n| Android | Android JVM | `androidApp` | Room and bundled SQLite |\n| iOS | Kotlin/Native | `iosApp` | Room and bundled SQLite |\n| Web | JavaScript and WebAssembly | `webApp` | In-memory storage |\n| Desktop | JVM | `desktopApp` | Room and bundled SQLite |\n\nThis project is a Kotlin Multiplatform migration of the original [Android KBBI application](https://github.com/arrazyfathan/kbbi). See [MIGRATION_STATE.md](./MIGRATION_STATE.md) for migration coverage, known warnings, and remaining test work.\n\n## Features\n\n| Feature | Description |\n|---|---|\n| Dictionary search | Search for Indonesian words using the KBBI API |\n| Word details | View meanings, origins, and structural information |\n| Word catalog | Browse the bundled offline-capable word catalog |\n| Bookmarks | Save and manage selected words |\n| Search history | Review recently searched words |\n| Shared navigation | Use one Navigation 3 flow across all platforms |\n| Shared interface | Render a unified Material 3 interface with Compose Multiplatform |\n\n## Technology\n\n| Area | Technology |\n|---|---|\n| Language and core | [Kotlin Multiplatform](https://kotlinlang.org/docs/multiplatform.html) 2.4.0 |\n| User interface | [Compose Multiplatform](https://www.jetbrains.com/lp/compose-multiplatform/) 1.11.1 and Material 3 |\n| Navigation | [Navigation 3](https://developer.android.com/guide/navigation/navigation-3) |\n| Dependency injection | [Koin](https://insert-koin.io/) 4.2.1 |\n| Networking | [Ktor](https://ktor.io/) 3.5.0 |\n| Persistence | [Room](https://developer.android.com/jetpack/androidx/releases/room) and bundled SQLite |\n| Serialization | [Kotlinx Serialization](https://github.com/Kotlin/kotlinx.serialization) |\n| Configuration | [BuildKonfig](https://github.com/yshrsmz/BuildKonfig) |\n| Code quality | [Ktlint](https://github.com/pinterest/ktlint) and [Detekt](https://github.com/detekt/detekt) |\n\n### Platform Integrations\n\n| Platform | Ktor engine | Platform implementation |\n|---|---|---|\n| Android | OkHttp | Android context, system bars, toast, clipboard, and Room builder |\n| iOS | Darwin | UIKit integration, clipboard, and Room builder |\n| Web | JavaScript | Browser runtime, clipboard, and in-memory data access |\n| Desktop | CIO | AWT clipboard and JVM Room builder |\n\n## Architecture\n\nThe project follows a shared, feature-oriented architecture. Most production code lives in `shared`, while application modules provide platform entry points and packaging.\n\n```text\nkbbi-kmp/\n├── androidApp/             Android entry point and application configuration\n├── desktopApp/             Desktop JVM entry point and native distributions\n├── iosApp/                 Native Xcode project and iOS entry point\n├── webApp/                 JavaScript and WebAssembly browser entry points\n└── shared/\n    └── src/\n        ├── commonMain/     Shared UI, navigation, domain, data, and networking\n        ├── androidMain/    Android integrations\n        ├── iosMain/        iOS integrations\n        ├── jvmMain/        Desktop integrations\n        ├── sqliteMain/     Room implementation shared by native platforms\n        └── webMain/        JavaScript and WebAssembly integrations\n```\n\n### Shared Boundaries\n\n- `commonMain` contains the shared application and feature code.\n- `sqliteMain` contains Room entities, converters, database definitions, and DAO adapters.\n- Android, iOS, and desktop provide platform-specific database builders.\n- Web uses the same repository contracts with an in-memory DAO because Room does not target JavaScript or WebAssembly.\n- Koin assembles shared modules with the appropriate platform networking and persistence implementations.\n\n## Running the Project\n\n### Requirements\n\n- Android Studio or IntelliJ IDEA with Kotlin Multiplatform support\n- Xcode for the iOS application\n- A compatible JDK for Gradle, Android, and desktop builds\n- Node.js tooling managed by the Kotlin Gradle plugin for web builds\n\n### Command Reference\n\n| Platform | Action | Command |\n|---|---|---|\n| Android | Build debug APK | `./gradlew :androidApp:assembleDebug` |\n| iOS | Build simulator framework | `./gradlew :shared:linkDebugFrameworkIosSimulatorArm64` |\n| Desktop | Run application | `./gradlew :desktopApp:run` |\n| Desktop | Create native distribution | `./gradlew :desktopApp:createDistributable` |\n| Web JS | Run development server | `./gradlew :webApp:jsBrowserDevelopmentRun` |\n| Web JS | Build production distribution | `./gradlew :webApp:jsBrowserDistribution` |\n| Web Wasm | Run development server | `./gradlew :webApp:wasmJsBrowserDevelopmentRun` |\n| Web Wasm | Build production distribution | `./gradlew :webApp:wasmJsBrowserDistribution` |\n\n### IDE Launching\n\n**Android**\n\nOpen the project in Android Studio and run the `androidApp` configuration.\n\n**iOS**\n\nOpen [`iosApp/iosApp.xcodeproj`](./iosApp/iosApp.xcodeproj) in Xcode, select an iOS simulator, and run the project.\n\n## Development\n\n### Tests\n\nRun the shared multiplatform test suites:\n\n```shell\n./gradlew :shared:allTests\n```\n\nThe current suite primarily provides migration smoke coverage. Porting the original repository's substantive unit and Room instrumentation tests remains planned work.\n\n### Code Quality\n\nCheck formatting and static analysis:\n\n```shell\n./gradlew ktlintCheck detekt\n```\n\nFormat Kotlin sources:\n\n```shell\n./gradlew ktlintFormat\n```\n\nRules are configured in [.editorconfig](./.editorconfig) and [config/detekt/detekt.yml](./config/detekt/detekt.yml).\n\n### Environment Configuration\n\nBuild-time configuration, including the API base URL, is managed through BuildKonfig in [shared/build.gradle.kts](./shared/build.gradle.kts).\n\n| Environment source | Usage |\n|---|---|\n| Shared Gradle configuration | Default application values |\n| `local.properties` | Local settings excluded from Git |\n| Environment variables | CI/CD and production configuration |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farrazyfathan%2Fkbbi-kmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farrazyfathan%2Fkbbi-kmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farrazyfathan%2Fkbbi-kmp/lists"}