Browser & graphics
Web TV Launcher
Android TV home screen made of HTML/CSS/JS. Anyone can reskin it; every skin has a performance budget.
Story
A TV home screen is a list of tiles, a focus ring, a clock and a few rows. That is a web page. So the whole UI of this launcher is plain HTML, CSS and JavaScript inside a small Kotlin WebView shell, and anyone who can build a web page can reskin their TV.
It is built and measured on a Sony Bravia VU31: Google TV, Android 14, a Mali-G31 GPU and 2 GB of RAM. A page that is smooth on a laptop can stutter there, so the launcher does not trust skins. It measures them.
How it works
- Skins have four levels: colour and size tokens, CSS for the stable components, a layout file, or your own sandboxed page with JavaScript.
- Skins have no network, cannot call the native bridge, and can launch only apps the core gave them. A runtime guard returns to the default skin when a skin hangs, crashes, janks or uses too much memory.
lx lintandlx bench --tvscore every skin on the real TV (janky frames per key, p95 frame, key latency, cold start, memory) and give it a tier: Lite, Standard or Rich.lx dev --tvinstalls and shows a skin on every save in about 1 s.lx packmakes a.lxskinfile to share by phone, link, QR code, ADB or the gallery.- Hidden for 60 s, it frees its WebView; after 2 minutes it ends its process. No ads, no analytics, no account, no Google services.
- An agent skill for Claude Code, Codex and Copilot walks people through TV setup and the whole skin life cycle.