Get started
Start in the playground to edit a document in your browser. To build the example apps or the playground locally, use a checkout of the repository. Cloning requires access to the repository. The remaining commands run from the repository root.
git clone https://github.com/swarthout/relo-ui.git
cd relo-ui
- iOS
- Android
- Web
You need macOS, full Xcode, XcodeGen, Python 3.12, and the pinned Rust toolchain. Follow the iOS setup guide to choose an installed simulator runtime. The app targets iOS 16 and later.
scripts/ios doctor
scripts/ios examples --screen components-fieldtrip
The helper builds the app, starts the shared backend, and launches the simulator. Open the gallery to explore other examples, including Sidequest and the animation studio.
Follow the Android setup guide to install the Android SDK, NDK, JDK 17, and pinned Rust toolchain. The project uses minSdk 24, compileSdk 36, and JVM target 11. Package the Rust libraries on a fresh checkout and start the API 36 emulator before launching the app.
scripts/android doctor
scripts/android package
scripts/android start relo-api36 --window
scripts/android examples
Choose Fieldtrip · slow travel or Sidequest · independent games from the gallery. The shared Python backend supplies their documents.
The web workspace uses Node 24.10.0 and npm 11.6.1. Maintainers also need the pinned Rust/Wasm toolchain described in the web guide.
scripts/web doctor
scripts/web install
scripts/web playground
scripts/web preview
Open http://127.0.0.1:4174/. Use this preview server so the sandbox receives the necessary CSP/CORS headers. No backend or account is required for the static playground.
Build your first screen
Read your first screen, then choose an integration path. The examples show how to connect documents to services and manage sessions as users navigate.