mobiler 0.2.0

Mobiler — Rust + Compose mobile framework CLI
mobiler-0.2.0 is not a library.

mobiler

React Native, but Rust + Compose. A CLI for building mobile apps whose logic and UI are written in Rust and rendered to real native widgets.

Status: early & experimental (v0.1). Android only. APIs will change.

mobiler scaffolds and drives mobile apps built on Crux: a Rust core owns all state, events, and business logic, and its view function returns a Widget tree that a thin, app-agnostic Jetpack Compose shell renders into native Material 3 widgets. Events flow back into the Rust core across the FFI (uniffi + bincode). You write the app once, in Rust; the native shell stays generic.

Install

cargo install mobiler

You'll also need the Rust toolchain (with Android targets), the Android SDK/NDK, and an emulator or device. Run mobiler doctor to check your host.

Usage

mobiler doctor          # check the host has everything needed
mobiler new myapp       # scaffold a new app
cd myapp
mobiler dev             # build the Rust core, generate Kotlin types,
                        # build the APK, install, and launch
mobiler watch           # same as dev, re-running on every change
mobiler add-widget Slider --field value:f32   # add a Widget variant + Compose arm

Links

License

Dual-licensed under either MIT or Apache-2.0, at your option.