work/nomarch-tv
Android TV app · nomarch client
nomarch TV
A native Android TV app that turns the living-room TV into a nomarch machine. It is the TV's launcher, puts any computer's screen on the big screen, and starts games on a game host.
Live
The TV is just another machine in the nomarch fleet. The app is its home launcher: it loads TV Home in a locked-down web view and adds native pieces around it, the most important being Stream.
- Runs on
- Android TV (a 4K streaming box), paired with the nomarch server
- Built with
- Java, Gradle, a Rust JNI transport shared with the nomarch phone app, hardware MediaCodec decoding
- Started
- October 2026
Architecture
The TV as a nomarch machine
The TV as a nomarch machine: screens and games arrive through the server, and anything risky waits for Face ID.
Stream
Stream is a carousel of every display that every paired computer is sharing, Linux and Windows alike. Each card has a live preview refreshed every five seconds, a freshness pip (live, connecting or stale), the codec and resolution, and a host pager. Press OK and you are watching that machine full screen, decoded in hardware (H.264 or HEVC). The pictures on this page are the design mockups the app was built from, not captures of the real TV.
A second tab, Games, lists games that can run on a game host. Press Play and the server reserves a player slot with its own virtual monitor and audio output, launches the game and hands it to the TV as just another screen. A pad relay that forwards the TV's gamepad to the streamed game is built and in review, not yet installed.
Stream
Any screen in the house, on the TV
Stream mockup: a game on the focused display, the Watch on TV action and the host pager. The first-load state, waiting for a first frame. A stale preview: the last frame desaturated, with an amber pip.
Shelf
Games and the quiet states
The Games tab, with key art for Barnyard Greens games. The empty state when nothing is sharing a screen. An early, unbuilt concept for talking to Mae on the TV, with placeholder dialogue. The remote's mic button never reaches apps, so it stayed a mockup.
The TV as a host
Through a native ADB bridge, nomarch can also drive the TV: around 28 tools for key presses, launching apps, media control, volume, screenshots and logs. Anything risky (installing, shell, reboot, settings) becomes an approval card that only goes through after a Face ID approval on a phone. The household assistant, Mae, can read the TV's state and, after a confirmation card, pause, play, change the volume or open an app.
How it's built
- A second Android build root in the nomarch repository that compiles the phone app's viewer library (a Rust transport over JNI, enrollment and stream leases) from the same source rather than forking it.
- A native SurfaceView fed by MediaCodec, with the stream lease renewed while frames keep flowing.
- The TV pairs with its own device key against nomarch's private certificate authority. There is no password on the TV.
- The web bridge only accepts messages from one exact origin in the main frame, with bounded sizes and package allowlists, and no Java objects are injected into the page.
- The ADB client is written in Rust (no adb binary). The server is the gate: every call is audited and rate-limited.
- The interface was designed as 4K mockups first, then built to match.






