[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111322":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":34,"updatedAt":35,"readmeContent":36,"aiSummary":37,"trendingCount":15,"starSnapshotCount":15,"syncStatus":13,"lastSyncTime":38,"discoverSource":39},111322,"skippy-tv","cascodigital\u002Fskippy-tv","cascodigital","Sci-fi starship-bridge home screen for Android TV (tested on NVIDIA Shield 1st gen and Fire TV Stick 4K): animated wallpaper, neon banners, Plex + Home Assistant cards, live street camera, house lights and a sarcastic AI.","",null,"Python",62,2,57,0,3,5,1,43.43,"MIT License",false,"main",[24,25,26,27,28,29,30,31,32,33],"android-tv","fire-tv","go2rtc","home-assistant","launcher","nvidia-shield","plex","projectivy","sci-fi","smart-home","2026-11-22 12:35:57","2026-11-21 23:08:15","\u003Cdiv align=\"center\">\n\n# Skippy TV\n\n**A sci-fi starship-bridge home screen for Android TV — wired to a real house.**\n\nAnimated space wallpaper · neon app banners · live Plex and Home Assistant cards ·\na live patio camera at ~1 s latency · house lights with dimmer · an AI with an attitude problem.\n\n![Android TV](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAndroid%20TV-7.1%2B-3DDC84?logo=android&logoColor=white)\n![Fire TV](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FFire%20TV-Fire%20OS%206-FF9900?logo=amazon&logoColor=white)\n![NVIDIA Shield](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FNVIDIA%20Shield-1st%20gen-76B900?logo=nvidia&logoColor=white)\n![Home Assistant](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FHome%20Assistant-REST-41BDF5?logo=homeassistant&logoColor=white)\n![Plex](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPlex-continue%20watching-EBAF00?logo=plex&logoColor=white)\n![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue)\n\n![Demo on the Fire TV](docs\u002Fscreenshots\u002Fdemo.gif)\n\n\u003Csub>Real capture from the living-room NVIDIA Shield (1080p capture, cut short): home, cards, the Bridge with the live camera, and the Konami hyperspace jump.\nFull 43-second recording at 30 fps (MP4, 10 MB, opens in your player): \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fcascodigital\u002Fskippy-tv\u002Fraw\u002Fmain\u002Fdocs\u002Fdemo-shield-1080p.mp4\">download \u002F play\u003C\u002Fa>.\u003C\u002Fsub>\n\n\u003C\u002Fdiv>\n\n> **Built for 4K TVs.** The UI is laid out at 1080p and scaled by the box; the living-room Shield renders it at native 3840×2160\n> (its screenshot below is a 4K capture) and the static wallpaper is rendered at 4K. The demo is a 1080p screen capture to keep it light.\n\n> 🕹️ **There are secrets aboard.** Skippy hates it when monkeys find them.\n> Old-school gamers already know where to start: \u003Ckbd>↑\u003C\u002Fkbd> \u003Ckbd>↑\u003C\u002Fkbd> \u003Ckbd>↓\u003C\u002Fkbd> \u003Ckbd>↓\u003C\u002Fkbd> … ([spoilers below](#easter-eggs))\n\n## What it looks like\n\n![NVIDIA Shield home, 4K](docs\u002Fscreenshots\u002Fshield-home.jpg)\n\u003Csub>NVIDIA Shield (4K capture, downscaled): Skippy's line, HUD cards, the round **Plex orbit** widget (next episode, continue watching with a progress ring, new arrivals, your week) and the dock. A real alert, too: the living-room door had been open for 2 hours.\u003C\u002Fsub>\n\n![Fire TV home](docs\u002Fscreenshots\u002Ffiretv-home.jpg)\n\u003Csub>Same launcher on the bedroom Fire TV Stick, with bedroom-aware lines.\u003C\u002Fsub>\n\n| The Bridge: live camera + lights | Camera full screen |\n|---|---|\n| ![Bridge panel](docs\u002Fscreenshots\u002Fbridge.jpg) | ![Camera](docs\u002Fscreenshots\u002Fshield-camera-fullscreen.jpg) |\n\n| Fire TV — all apps | The banners |\n|---|---|\n| ![All apps](docs\u002Fscreenshots\u002Ffiretv-all-apps.jpg) | ![Banners](docs\u002Fscreenshots\u002Fbanners.png) |\n\n## Skippy talks (on screen, never out loud)\n\nSkippy is the Elder AI from *Expeditionary Force*: brilliant, arrogant, stuck in a TV box. Every 15 s he reads\nthe house — Home Assistant, the patio camera's motion history, Plex, the clock — and picks a line — and knows which room is watching (living-room Shield or bedroom Fire TV):\n\n> *\"27 motion alarms in the last hour. Either a very indecisive burglar, or the wind.\"* &nbsp;·&nbsp;\n> *\"Living-room door open for 27 min. Is that an invitation or did you forget, monkey?\"* &nbsp;·&nbsp;\n> *\"Kitchen lights on at 3 am. I know what you are about to do. So does the fridge.\"*\n\nRed frame for alerts (real motion at the gate, door left open), gold for rare and dated lines (11:11, 13:37, Christmas,\nFriday the 13th, a 1-in-120 legendary). Windy days don't count: the palm tree triggers the camera 30 times an hour,\nso Skippy keeps score instead — *\"Last hour: palm tree 28, burglars 0.\"* (Lines are in Brazilian Portuguese.)\n\n### Easter eggs\n\n| Konami code on the Bridge → *Protocolo Elder* | ◀◀◀ on the camera → *Modo Mira* | Konami on the home → hyperspace |\n|---|---|---|\n| ![Protocolo Elder](docs\u002Fscreenshots\u002Fegg-elder.jpg) | ![Modo Mira](docs\u002Fscreenshots\u002Fegg-mira.jpg) | ![Hyperspace](docs\u002Fscreenshots\u002Fegg-hyperspace.jpg) |\n\nNone of them touch the house: the planetary takeover is cancelled because *\"the neighbour's Wi-Fi is too slow\"*.\n\n\u003Cdetails>\n\u003Csummary>🎮 \u003Cb>Cheat sheet\u003C\u002Fb> — click only if you give up (Skippy will judge you)\u003C\u002Fsummary>\n\n\u003Cbr>\n\nThe **Konami code** is the most famous cheat in gaming history (Gradius, Contra, 1985). On a TV remote there is no\n\u003Ckbd>B\u003C\u002Fkbd> \u003Ckbd>A\u003C\u002Fkbd>, so here it is just the arrows, pressed one right after the other — no OK at the end:\n\n\u003Cp align=\"center\">\u003Ckbd>↑\u003C\u002Fkbd> \u003Ckbd>↑\u003C\u002Fkbd> \u003Ckbd>↓\u003C\u002Fkbd> \u003Ckbd>↓\u003C\u002Fkbd> \u003Ckbd>←\u003C\u002Fkbd> \u003Ckbd>→\u003C\u002Fkbd> \u003Ckbd>←\u003C\u002Fkbd> \u003Ckbd>→\u003C\u002Fkbd>\u003C\u002Fp>\n\n| Where | What to press | What happens |\n|---|---|---|\n| Home screen | Konami code | **Hyperspace jump**: the stars stretch, a ridiculous destination shows up (*\"Destination: the fridge\"*), and you land exactly where you were. |\n| Bridge panel | Konami code | **Protocolo Elder**: red alarm, a planetary takeover typed out live… then cancelled. |\n| Bridge panel, focus on the camera | \u003Ckbd>←\u003C\u002Fkbd> \u003Ckbd>←\u003C\u002Fkbd> \u003Ckbd>←\u003C\u002Fkbd> fast | **Modo Mira**: full-screen live camera with a rotating reticle \"classifying\" made-up threats (the palm tree, the neighbour's cat). \u003Ckbd>Back\u003C\u002Fkbd> leaves. |\n| Bridge panel | don't touch the remote for 3 min | Skippy gets lonely and complains. Press anything and he notices. |\n| Any card | just wait | Gold lines are rare: 11:11, 13:37, midnight, holidays, Friday the 13th, and a **1-in-120 legendary** line. |\n\nWant to see them without a remote? Open `http:\u002F\u002F\u003Ccards-server>:8099\u002Fponte?egg=elder` or `?egg=mira` in a browser.\n\n\u003C\u002Fdetails>\n\n## Where it runs\n\n| Device | Status | How it is themed |\n|---|---|---|\n| **NVIDIA Shield TV, 1st gen** (2015, Tegra X1) — Android TV 11, 4K — living room | ✅ tested daily | The Skippy launcher as the real system home (instant Home button). Projectivy + icon pack + *Watch Next* cards also supported as a lighter option |\n| **Amazon Fire TV Stick 4K, 1st gen** (AFTMM) — Fire OS 6 \u002F Android 7.1 — bedroom | ✅ tested daily | The same Skippy launcher; Amazon does not allow replacing its home, so a watcher brings Skippy back ~5 s after Home |\n| **Hisense 55A60QUV** — VIDAA (not Android), 4K — kitchen | ✅ tested | The same home as a web page behind a tile; a bridge on the Docker host replaces VIDAA's home ~3-5 s after Home and launches native apps; animated background in real 4K via the video plane. Guide: [docs\u002FVIDAA.md](docs\u002FVIDAA.md) |\n| Any other Android TV \u002F Google TV (Chromecast with Google TV, Mi Box, TCL, Philips…) | ⚠️ should work, not tested | Same app, Android 7.1+; the dock picks whichever of its apps are installed |\n\nThe whole thing is plain Android APIs (Watch Next, `MediaCodec`, `WebView`), a small Python server and\nHome Assistant's REST API — nothing Shield- or Amazon-specific except the workarounds documented in\n[docs\u002FARCHITECTURE.md](docs\u002FARCHITECTURE.md). If you try it on another box, an issue with the model\nand what happened is very welcome.\n\n## Want one for your house? Ask an AI agent\n\nThe code is generic; **the house is one file**, [`house.json`](house.json) (Home Assistant entities, lights,\ncamera, Plex, the TV boxes and their rooms — no secrets). An AI coding agent with a shell and `adb` on your LAN\n(Claude Code, Codex, Cursor…) can rebuild it for you. Paste this:\n\n> Read https:\u002F\u002Fgithub.com\u002Fcascodigital\u002Fskippy-tv, starting with `AGENTS.md`, then `docs\u002FHOUSE.md`.\n> Build the same home screen for my TV box (model: ___, room: ___). My Home Assistant is at ___ (I will give you\n> a token). Run `tools\u002Fdiscover_ha.py` to draft my `house.json`, then ask me which lights I want and which one dims.\n> Camera via go2rtc at ___ (or none). Plex at ___ (or none). Docker host: ___. Never commit tokens, never touch a\n> light without telling me, and show me a TV screenshot after every visual step.\n\nWhat the agent gets:\n- [`AGENTS.md`](AGENTS.md) — the runbook: what to ask the human, what to discover, which path fits the device\n  (real home on Android TV, the ~5 s workaround on Fire TV), build\u002Fdeploy order and the pass criteria for each step.\n- [`tools\u002Fdiscover_ha.py`](tools\u002Fdiscover_ha.py) — read-only scan of a Home Assistant that drafts `house.json`\n  (lights per area, which ones dim, temperature\u002Fhumidity indoor vs outdoor, door, motion, weather) and explains\n  every guess.\n- [`docs\u002FHOUSE.md`](docs\u002FHOUSE.md) — the schema, and the few things that are taste rather than wiring\n  (Skippy's lines, the dock, the banners).\n- [`docs\u002FARCHITECTURE.md`](docs\u002FARCHITECTURE.md) — how it all works and every device trap we measured.\n- [`docs\u002FVIDAA.md`](docs\u002FVIDAA.md) — Hisense\u002FToshiba VIDAA TVs: pairing, tile, bridge, 4K background, what did not work.\n\n## Pieces\n\n```\n.\n├── house.json          everything that belongs to this house (schema: docs\u002FHOUSE.md)\n├── AGENTS.md           runbook for an AI agent rebuilding this for another house\n├── tools\u002Fdiscover_ha.py  drafts a house.json from any Home Assistant (read-only)\n├── deploy-cards.sh     ships the cards server to the Docker host and smoke-tests it\n├── gen.py              static wallpaper + 640x360 neon banners (Simple Icons → cyan glow HUD frame)\n├── anim.py             animated wallpaper: raw RGB frames → ffmpeg (parallax stars, drifting nebula, radar, shooting star)\n├── build-iconpack.sh   \"Skippy Icon Pack\" APK (ADW icon-pack format, no code) for Projectivy\n├── cards\u002F              skippy-cards: Python server (Docker) that renders the HUD cards and serves the Bridge panel\n│   ├── app.py          \u002Ffeed.json, \u002Fc\u002F*.png, \u002Fponte, \u002Fapi\u002Flights, POST \u002Fapi\u002Flight (allow-list), \u002Fapi\u002Fquip\n│   ├── quips.py        Skippy's lines: reads the house (HA, Plex, clock) and picks a context-aware joke\n│   ├── plexw.py        Plex orbit: now playing, continue, next episode, new arrivals, your week\n│   └── ponte.html      Bridge panel UI (D-pad driven)\n├── channel-app\u002F        Android app dev.skippy.channel (plain Java, no Gradle)\n│   ├── src\u002F…\u002FSync.java     pulls the feed → Watch Next + preview channel (Android 8+)\n│   ├── src\u002F…\u002FMain.java     card click trampoline (Projectivy rewrites the card intent package)\n│   ├── src\u002F…\u002FPonte.java    Bridge panel: transparent WebView over a SurfaceView\n│   ├── src\u002F…\u002FLiveCam.java  MPEG-TS demuxer → MediaCodec (low-latency live camera)\n│   ├── src\u002F…\u002FHome.java     the Skippy launcher (Shield + Fire TV): looping video wallpaper + assets\u002Fhome.html\n│   └── src\u002F…\u002FWatch.java    Fire TV: brings Home back when the Amazon home shows up\n├── fonts\u002F              Orbitron, Rajdhani (SIL OFL)\n└── logos\u002F              Simple Icons SVGs + a few drawn ones\n```\n\nArchitecture, data flow and every device quirk we hit (all measured): [docs\u002FARCHITECTURE.md](docs\u002FARCHITECTURE.md).\n\n## Build\n\nToolchain without root or Android Studio: JDK 21, build-tools 34, `android-34.jar`\nin `~\u002Fai\u002Ftools\u002Fandroid-build\u002F` (see the doc). Python 3.12 with `pillow numpy scipy cairosvg` in `.\u002Fvenv`.\n\n```bash\npython3 -m venv venv && venv\u002Fbin\u002Fpip install pillow numpy scipy cairosvg\nvenv\u002Fbin\u002Fpython -I gen.py $PWD                       # dist\u002Fout\u002Fwallpaper.jpg + banners\nvenv\u002Fbin\u002Fpython -I anim.py $PWD | ffmpeg -f rawvideo -pix_fmt rgb24 -s 1920x1080 -r 30 -i - \\\n  -c:v libx264 -preset slow -crf 19 -pix_fmt yuv420p dist\u002Fout\u002Fwallpaper-anim.mp4\nHUD_NODE='BRIDGE 02  ·  QUARTO  ·  NODE 192.168.2.140' venv\u002Fbin\u002Fpython -I anim.py $PWD | ffmpeg … dist\u002Fout\u002Fwallpaper-anim-quarto.mp4\n.\u002Fbuild-iconpack.sh                                  # dist\u002Fskippy-iconpack.apk\nchannel-app\u002Fbuild.sh                                 # dist\u002Fskippy-channel.apk\n```\n\nSigning key and password live **outside** the repo: `~\u002Fai\u002Fkeys\u002Fskippy.keystore` and\n`~\u002Fai\u002Fkeys\u002Fskippy-keystore.pass` (override with `KEYSTORE` \u002F `KEYSTORE_PASS_FILE`).\nEverything generated goes to `dist\u002F` (git-ignored).\n\n## Deploy\n\n```bash\n.\u002Fdeploy-cards.sh h46 \u002Fdados\u002Fdockers\u002Fskippy-cards      # cards server: copies code + house.json, rebuilds, smoke-tests\n# the .env with HASS_TOKEN \u002F PLEX_TOKEN lives only on the host (see cards\u002F.env.example)\n\nadb -s \u003Ctv>:5555 install -r dist\u002Fskippy-channel.apk\nadb -s \u003Ctv>:5555 shell dumpsys deviceidle whitelist +dev.skippy.channel             # Doze would cut its network\nadb -s \u003Candroid-tv>:5555 shell cmd package set-home-activity dev.skippy.channel\u002F.HomeAlias   # Android TV: real home\nadb -s \u003Cfire-tv>:5555 shell appops set dev.skippy.channel GET_USAGE_STATS allow      # Fire TV: Home watcher\n```\n\n## Security notes\n\nBuilt for a private home LAN. The cards server keeps the Home Assistant and Plex tokens\nserver-side and only exposes an **allow-list** of four light groups\n(`POST \u002Fapi\u002Flight`, anything else → 403) — but it has **no authentication**: anyone on the\nLAN can toggle those four lights. Do not expose port 8099 to the internet.\n\n## Credits\n\nFonts: Orbitron and Rajdhani (SIL Open Font License). Logos: [Simple Icons](https:\u002F\u002Fsimpleicons.org) (CC0);\nbrands belong to their owners. Launcher on the Shield: Projectivy Launcher by spocky.\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","Skippy TV 是一款面向 Android TV 设备的科幻风格主屏幕启动器，将智能电视转化为星际飞船舰桥控制台。核心功能包括动态太空壁纸、霓虹应用横幅、集成 Plex 继续观看与 Home Assistant 设备状态卡片、低延迟（约1秒）实时庭院摄像头画面、可调光家居灯光控制，以及具备情境感知能力的拟人化 AI 对话系统。项目基于 Python 构建，适配 NVIDIA Shield（初代）、Fire TV Stick 4K 等主流 Android TV 平台，专为已部署 Home Assistant 和 Plex 的智能家居用户设计，适用于家庭影音中心或科技感客厅主界面场景。","2026-11-24 04:40:49","CREATED_QUERY"]