How felipekoga/deeplink-launcher works
Project Type and Purpose
• This is a full-stack, modular Kotlin Multiplatform Compose application called “DeepLink Launcher.” It provides a UI on Android, iOS and desktop to execute, organize, share and track deeplinks.
File Structure Analysis
• Top-level “androidApp”, “iosApp” and “desktopApp” modules are the platform-specific entry points.
• “shared” contains common UI setup and DI initialization.
• “core” houses low-level, reusable libraries (coroutines, database, file, date, navigation, preferences, resources, design system, UI events).
• “feature” is broken out by domain (deeplink, device-bridge, home, import-export, purchase, settings), each subdivided into API, implementation and UI submodules.
• Build logic, configuration and CI/CD files live in “build-logic”, “config” and “.github”.
README Insights
• Uses Compose Multiplatform for cross-platform UI, Koin for DI, SQLDelight for the database, DataStore for preferences, Material3, RevenueCat for IAP, and external device control via ADB/Xcrun.
Main Components and Interactions
a. Platform Apps: Android, iOS, Desktop – each depends on shared UI + feature modules.
b. Shared Module: hosts cross-platform UI entry, KoinInit, common animations & DI.
c. Core Libraries: data layer (SQLDelight DB, DataStore), file I/O, date/time, navigation, coroutines, resources, design system, UI events.
d. Feature Layers:
– Domain API modules (interfaces)
– Domain Impl modules (use-cases, repositories, mappers)
– UI modules (screens, components, view-models)
e. External Services:
– Local SQLite through SQLDelight
– Android DataStore
– ADB and Xcrun via the device-bridge feature
– RevenueCat for in-app purchase
Architectural Patterns
• Layered architecture: Presentation (Compose UI) → Domain (Use-cases & repositories) → Data (SQLDelight, DataStore, file, device bridge).
• Modular design: clear separation of concerns per feature and per platform.
• Dependency Injection with Koin.
• Kotlin Multiplatform with “commonMain” vs platformMain source sets.