Build and run
r3cui is written in Rust with Slint. You don’t need a remote to work on it: the whole app runs in a window on your desktop.
Run it
Section titled “Run it”You need Rust. On Linux you also need the development packages for fontconfig, xkbcommon and Wayland.
git clone https://github.com/jackhric/r3cuicd r3cuicargo run -p r3cui -- --demoA 480×800 window opens with made-up devices: a receiver, a film playing and a library. Nothing is saved. Add
--onboarding to see the first-run tour.
Your keyboard stands in for the remote’s keys:
| Keyboard | Remote | Keyboard | Remote |
|---|---|---|---|
| Arrows, Enter | D-pad, OK | + - 0 |
Volume up, down, mute |
| Backspace, Esc | Back | Space , . |
Play, previous, next |
H M |
Home, Menu | S R |
Stop, record |
| PgUp, PgDn | Channel up, down | V |
Voice |
Where things are
Section titled “Where things are”| Path | What it is |
|---|---|
crates/sdk |
r3cui-sdk: what an integration is written against |
crates/kodi, crates/homeassistant, crates/androidtv |
The integrations, one crate each |
crates/r3cui |
The app. src/ is Rust, ui/ is Slint |
crates/bridge |
The r3cui bridge, for the microphone |
crates/r3ctl |
Remote control of r3cui from a computer |
Running against the core simulator and the stand-in devices is covered in the dev loop.
scripts/test.shThis is what CI runs: every test in the workspace, then clippy with warnings as errors.
Build for the remote
Section titled “Build for the remote”scripts/build-device.shThis builds for the remote in a container and writes packaging/out/r3cui-<version>.tar.gz. Install that file
with the install script:
./install.sh <IP> <PIN> packaging/out/r3cui-<version>.tar.gz