Directories | |
| RPi | |
apps/webUi is the standalone browser frontend for OpenRoadCode.
The application bootstrap lives under apps/webUi, while reusable browser rendering and browser-only capabilities live under frontends/web.
From the repository root:
Then open:
This works well for local testing under Termux on Android.
WebUi is intentionally independent from CarUi.
Some WebUi panels are experimental or browser-native equivalents rather than feature-for-feature ports of CarUi.
The Off-Road panel can use browser geolocation and device-orientation APIs.
Open:
and press START SENSORS.
The browser posts position and orientation samples into WebUi, where they are normalized into the same navigation state contracts used elsewhere in OpenRoadCode.
Spotify uses the shared OpenRoadCode Spotify controller, media presenter, OAuth implementation, and token store.
Set the Spotify client ID before launching WebUi:
Register this exact redirect URI in the Spotify Developer Dashboard:
Start authorization with:
Successful authorization writes the normal token store at:
The Web Spotify panel supports playback state, artwork, track metadata, seeking, synchronized lyrics, playback controls, and browser-native music-video lookup. Device volume control is disabled when the active Spotify device reports that remote volume is unsupported.
YouTube and Netflix panels use browser-native launch/search behavior. They intentionally do not introduce controller abstractions while their only responsibility is opening external browser content.
returns a small JSON response indicating that the Web frontend is running.