Skip to content

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.

You need Rust. On Linux you also need the development packages for fontconfig, xkbcommon and Wayland.

Terminal window
git clone https://github.com/jackhric/r3cui
cd r3cui
cargo run -p r3cui -- --demo

A 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
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.

Terminal window
scripts/test.sh

This is what CI runs: every test in the workspace, then clippy with warnings as errors.

Terminal window
scripts/build-device.sh

This builds for the remote in a container and writes packaging/out/r3cui-<version>.tar.gz. Install that file with the install script:

Terminal window
./install.sh <IP> <PIN> packaging/out/r3cui-<version>.tar.gz