How xhuriken/osauce works
OSauce is a minimal mobile-shell simulator: the user interacts with a Slint interface, while the Rust entry point initializes the window, supplies clock and battery state, and handles lock/unlock callbacks. The README describes a postmarketOS base and Waydroid app launching as product goals, but the sampled runtime code does not implement those integrations. UI composition details are based on the README and file tree; unsampled Slint relationships are therefore not asserted as source-verified calls.
Main entry points: shell.slint Shell layout · main.rs Shell entry · lib.rs Window bootstrap · home_screen.slint Home screen
Components 12
Rust runtime
- Shell entry
src/main.rs - System telemetry
src/main.rs - Window bootstrap
src/lib.rs
Slint interface
- Shell layout
ui/shell.slint - Home screen
ui/views/home_screen.slint - App dock
ui/components/dock.slint - Status bar
ui/components/status_bar.slint - Visual theme
ui/styles/theme.slint
Platform integrations
- Linux sysfs
- Waydroid
- postmarketOS
Other components
- User
Connections 12
- User → Shell layout: interacts with
README.md - Shell layout → Shell entry: sends callbacks
README.md - Shell entry → Window bootstrap: creates window
src/main.rs - Shell entry → System telemetry: updates state
src/main.rs - System telemetry → Linux sysfs: reads battery
src/main.rs - Shell entry → Shell layout: sets UI properties
README.md - Shell layout → Home screen: presents view
- Shell layout → App dock: includes component
- Shell layout → Status bar: includes component
- Shell layout → Visual theme: uses styles
- Shell entry → Waydroid: planned app launch
README.md - postmarketOS → Shell layout: planned platform
README.md