Open-source KMP client toolkit
frnk
A modular Kotlin Multiplatform toolkit for indie and small-team mobile apps.
Headless Compose UI, MVI presentation, Room persistence, PostHog + Sentry observability, and RevenueCat monetization — wired together via Koin so day-to-day work stays on features, not plumbing.
Why frnk
frnk gives indie / small-team apps a fast-compiling foundation with a clean architecture, aggressive modularization, and a standardized MVI presentation layer — so the day-to-day work stays on features and business logic.
What it ships
-
MVI presentation engine
MviContract, MviViewModel<S, I, E> and UiText ship in core-mvi, with no Compose dependency. New screens subclass MviViewModel and stay consistent across the toolkit.
-
Headless Compose UI
Built on compose-unstyled so consuming apps bring their own design system instead of fighting opinionated defaults.
-
PostHog + Sentry observability
Analytics and crash reporting sit behind AnalyticsTracker and CrashReporter interfaces, with PostHog and Sentry implementations installed in one call: frnkModules { observability(…) }.
-
Strict api / impl modules
*-api modules expose only interfaces and DTOs; *-impl modules carry the concrete bindings — wired via Koin and swappable per project.
-
One-call Koin bootstrap
initializeFrnk(modules) starts DI from the explicit module list the host passes, so capability modules you don't pass never enter the graph.
-
Room persistence
Room KMP with the bundled SQLite driver, plus a Multiplatform Settings key/value store. The toolkit owns the driver; your host app owns the schema.
-
RevenueCat monetization
Entitlement and feature-gate interfaces with a RevenueCat implementation behind them — paywall logic stays out of feature modules.
-
Tagged releases + pre-commit ktlint
Each release tag is checked against Frnk.VERSION and published with notes from the CHANGELOG; ktlint formatting runs in a git pre-commit hook.
Built with
- Kotlin
- Compose Multiplatform
- Coroutines
- MVI
- Koin
- Nav3
- Room
- PostHog
- Sentry
- RevenueCat
- Unstyled Compose
Project status
Early / pre-1.0. APIs may shift between minor versions — pre-1.0 policy is that 0.x.0 may break API while 0.x.y stays additive and fix-only.
View CHANGELOG on GitHub