The pairing window that got longer after login
CouchDeck pairs a TV with no digits typed. Once a script confirms the PIN instead of a human, the clock becomes a security boundary.
Read “The pairing window that got longer after login”CouchDeckSeptember 14, 20261 min read
CouchDeck's webOS client in C and LVGL: three live iterations on an LG TV's CPU, and the one rendering rule that came out of them.
The webOS client for CouchDeck is C and LVGL, forked from moonlight-tv, running on the TV’s own CPU. The first build of the game carousel ran at 20–22 fps. Fine for a prototype, not for something that should feel like a console.
The second build added per-frame scaling so cards could grow when focused. It ran at 7–12 fps. Worse, and now I knew why: LVGL was recomputing rounded corners and blending a full-screen scrim on every frame, on a chip that was never meant to do either.
The third build is smooth, and it follows one rule: no zoom transforms, no full-screen alpha blends inside animations. Everything that can be baked is baked — in worker threads, ahead of time, into textures. Rounded corners are in the texture. The scrim over the hero art is in the texture. The focus ring, which morphs between seven sizes, is seven pre-rendered PNGs, one per size, and the “animation” swaps between them.
The Android client, on a real GPU, does none of this and animates position and size freely. Both clients follow one spec document and share no code, which is what let the webOS one cheat like this without holding the Android one back.
CouchDeck pairs a TV with no digits typed. Once a script confirms the PIN instead of a human, the clock becomes a security boundary.
Read “The pairing window that got longer after login”The phantom "1" on CodeCat's badge: Claude Code's SessionStart hook fires before any work exists, so idle became a session state of its own.
Read “An open tab is not a working agent”