Skip to main content

Architecture

Boot​

  1. The boot loader starts the kernel with the system partition as root.
  2. /init brings up the USB gadget, mounts the user partition at /data (taunus-datamount), runs the first-boot setup once after an install (taunus-firstboot, with a progress bar from taunus-splash), then starts OpenRC.
  3. OpenRC starts the root services (taunus-keyd, taunus-authd, taunus-hwd, iwd, BlueZ, tdtd).
  4. pad, the session user, is logged in on tty1: dbus-run-session labwc.
  5. labwc's autostart starts taunus-shell (restarted if it dies), PipeWire and WirePlumber, Setup if needed, and the user daemons taunus-clockd, taunus-accountsd, taunus-voice, taunus-castd.

The session​

labwc (wlroots compositor)
├── taunus-shell ─ layer-shell surfaces: home, nav pill, recents, lock, keyboard, dialogs, HUD
│ Slint on its own Wayland platform (libs/wl); control socket; launches apps
├── apps ───────── winit windows, connected through a security-context socket ($XDG_RUNTIME_DIR/taunus-apps.sock):
│ they cannot create layer surfaces or inject input
└── user daemons ─ JSON lines over Unix sockets

The shell is one process. It owns navigation (taunus-nav, a pure state machine: Home, App, Recents, Off, …), the lock screen and app lock, the on-screen keyboard (input-method and virtual-keyboard protocols), and starts and ends apps.

Data​

WhereWhat
system partition (/)Alpine, the programs; replaced by an update
/data (user partition)survives updates: /home, /root, Wi-Fi and Bluetooth pairings, logs, /data/keys
~/.config/taunussettings.json, accounts.json
~/.local/share/taunusapp data (clock, calendar cache, models)
~/.local/state/taunusapp state for restoring
$XDG_RUNTIME_DIRsockets

Languages and toolkits​

Everything on screen and every Taunus service is Rust. The UI is Slint; the browser engine is WebKitGTK in its own process; the wake word uses openWakeWord models, speech recognition whisper.cpp and the language model llama.cpp, all on the device.