# Global A **mobile companion** for [KDE Connect](https://kdeconnect.kde.org) / [Valent](https://valent.andyholmes.ca/) peers.
Waydroid (x86_64) — egui + vidya shell, on-device KDE Connect peer
| Layer | Role | |--------|------| | **Gleam** (`global_app`, `dist_driver`) | Domain model + controller over Erlang distribution | | **Rust `dist-ui`** | Thin on-device UI (`egui` + [vidya](https://tangled.org/nandi.uk/vidya)) | | **erl_dist / ETF** | Wire between Gleam and the device UI | | **Peer discovery** | Host: Valent / GSConnect / kdeconnect-cli / LAN identity (`scripts/discover-peers`) | There is **no desktop GUI**. Global always runs on a device (Waydroid or Android over adb). Peer lists are **live** from the host’s Valent (or similar), not mocks. ## Run From the repo root (Waydroid session + NDK/SDK for APK builds): ```bash nix run .#global # or just run ``` That will: 1. `cargo apk build --target x86_64-linux-android --no-default-features` in `dist-ui/` 2. `adb install -r` the APK 3. Launch the app and run Gleam `dist_driver` → `ui@