Roku and the web simulator
Roku is Hosanna's deployment platform. The web simulator is the development environment for that Roku application.
| Environment | Purpose | Runtime |
|---|---|---|
| Web simulator | Fast iteration, layout, state, focus and automated checks | Browser simulation of Roku behavior |
| Roku device | Native validation and production deployment | BrightScript and SceneGraph |
Development workflow
npx hst run browser dev emulator
npx hst build roku dev device
npx hst run roku dev device --device "<roku name or ip>"
Use Roku display profiles in the simulator and exercise remote navigation with the keyboard. Validate device-dependent behavior, protected playback, startup, memory and performance on Roku hardware before release.
The browser and Roku implementations share the application's TypeScript, configuration and generated contracts. See the runtime model, Roku guide, and web simulator guide.