2026-11-26 15:48 UTC

R2D2: experimental local voice-and-browser setup for webOS TVs

state: watchingheat: lowuncertainty: mediumrelevance: lowwebos voice-interface local-aiAnubhav Malhotra

What is this?

R2D2 is an independent, open-source project for webOS TVs that replaces the usual home-screen experience with a local home screen, a remote browser, and push-to-talk voice commands. Its browser and local speech/intent models run on a separate Linux host; the TV displays the interface and captures remote input. The developer reports an end-to-end deployment on one TV and firmware, not broad compatibility. Installation requires root-level TV changes that may void the warranty or make the TV unusable, so this is an experimental project rather than a plug-and-play product.

Why it matters

An interesting DIY example of using AI-assisted development to customize a smart TV: R2D2 combines a local home screen and browser with push-to-talk voice control, while keeping speech and intent inference on a separate Linux host. It may appeal to webOS tinkerers, but it is not a ready-made alternative for most viewers: the documented setup depends on root access, substantial host hardware, and firmware-specific system modifications that can break the TV. The evidence supports a working demonstration on one TV and firmware, not broad compatibility or a proven privacy advantage for all browsing and media use.

Current assessment

R2D2 is an open-source webOS TV project whose Linux host runs Chromium and local speech-recognition and intent models, while the TV supplies the display and remote input. The developer reports end-to-end operation of the home screen, browser, and voice commands on one TV and firmware; other combinations remain unvalidated. Installation requires root-level changes to vendor services that may void the warranty or leave the TV unusable, and the host requirements are substantial, including a CUDA-capable GPU and about 10 GB of model weights. Inference runs locally on the host, but websites, searches, streaming providers, and optional weather still receive network requests. The project is a niche example of AI-assisted, local-first device customization, not a broadly usable TV product or new general-purpose model. The recent discussion is not evidence of independent implementation, compatibility, or adoption.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 831h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-23 00:27 (minted)⭐ origin echo-reconstructedA local home screen, private remote browser, and push-to-talk voice assistant for webOS TVs, with inference on a separate host; the reposito
anubhavmalhotra on github (echo) · attributed from hn.story.50202865 · published time unknown
—
10-23 00:10first on hacker news · published · lag ?Show HN: Making a smart TV dumb and then smart
animalhot
—
10-23 00:10amplified on hacker news 👑hn.story.50202865
animalhot
peak 112 · 81 comments · 100% of case engagement
10-23 00:25our radar first saw it · lag ?discovery anchor: hn.story.50202865—
pace: p78 vs 879 stories at the 720h mark (now 831h old) — ahead of claude-randomized-trial-neurosurgery-patient-summaries (1.0x), behind claude-code-procedural-blender-short-film (1.0x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Making a smart TV dumb and then smart
Retrieved article excerpt

Open article · Retrieved 2026-10-23T00:26:51.331722+00:00

# R2D2

Demo: <https://anubhavmalhotra.com/vibing/r2d2-webos/r2d2-demo.mp4>

Read the story behind the project: [R2D2 for webOS](https://anubhavmalhotra.com/vibing/r2d2-webos/).

A local home screen, private remote browser, and push-to-talk voice assistant for webOS TVs. A Linux compute host runs Chromium and the voice models; the TV provides the display, applications, and remote control.

## Disclaimer

Warning

The TV components run as root and modify vendor system services on one specific firmware build. This is unsupported, may void your warranty, and can leave the TV unusable until a reboot or a factory reset. Use it at your own risk.

- The keyfilter patch, Home/idle routing, and native voice capture replace or hook vendor services. A mistake can disable the remote, Home, or voice until the TV is restored.
- Firmware SHA-256 pins, code offsets, symbol names, and patch anchors target one reference build. Re-derive them for your own firmware; never force a mismatched pin.
- The software is provided as is, without warranty; see [LICENSE.md](https://github.com/anubhavmalhotra/r2d2-tv/blob/main/LICENSE.md).
- This is an independent project. It is not affiliated with, endorsed by, or sponsored by LG Electronics, Lucasfilm Ltd., The Walt Disney Company, or any streaming service. Product and character names are trademarks of their respective owners.

## Status

Reference deployment on one TV/firmware: Home, the browser, and remote voice commands work end to end there. Other TV, firmware, remote, and host combinations are unvalidated. This repository provides source and offline tests, not a universal root, firmware, or host installer.

## How it fits together

- **Compute host** (`spark/` in paths): an aarch64 Linux machine. It renders a sandboxed Chromium session in a private display and audio session and streams it to the TV over the LAN. It also runs the local speech recognition and intent models and a closed command registry.
- **TV** (`tv/`, `voice/tv/`): the Home application and the browser viewer, which sends remote input back to the host. A root capture owner takes the remote's voice key and sends bounded audio to the host over mutual TLS.
- **Content protection** (`protection/`): pinned filter rules loaded into each disposable browser profile.

Model inference stays on the host. Requested websites, searches, streaming apps, and optional weather still contact their providers; see [SECURITY.md](https://github.com/anubhavmalhotra/r2d2-tv/blob/main/SECURITY.md).

## Requirements

- Build machine: Python 3.10+ and Node.js 20+.
- Compute host: aarch64 Linux with a non-root service account (UID 1000); the Chromium snap with its sandbox enabled; Xvfb for a private X display; PipeWire, WirePlumber, and the GStreamer plugins for the WebRTC path; FFmpeg with hardware HEVC encoding for the MSE and AirPlay paths; a CUDA-capable GPU and Python 3.12 for the pinned local models (about 10 GB of weights).
- TV: a webOS TV you have system (root) access to and an authorized way to install packages on. Native capture also needs a toolchain and headers matching the exact firmware build.
- Network: TV and host on the same LAN. Measure throughput and jitter; a nominal link rate does not establish playback quality.

## Build locally

```
cp config/example.json config.local.json
# Edit the ignored file for your own devices.
python3 tools/build.py --config config.local.json --output dist/local --include-tests
```

The output contains an unsigned Home package, rendered host services, TV service sources, and a file manifest. Building does not install software or contact a device. The output directory must be new.

To enable the browser shortcut, create a private capability key and pass it to the build:

```
umask 077
python3 -c 'import secrets; print(secrets.token_hex(32), end="")' > browser.local.key
python3 tools/build.py --config config.local.json --browser-key-file browser.local.key --output dist/local-browser --include-tests
```

Brand logos are not shipped. Home shows text tiles unless you pass `--home-logos-file`, a private JSON object mapping app IDs to `data:` URI logos that you have the right to use. Keep that file and any build made with it private.

Keep the rendered output private: it contains deployment addresses and may contain the browser capability.

## Test

```
python3 -B -m unittest discover -s tests
node tests/test_protection_proof.js
node tests/test_home_core.js
python3 tools/privacy_check.py
```

UI tests use Playwright's Chromium:

```
npm ci --ignore-scripts
npx --no-install playwright install chromium
npm run test:home
npm run test:browser
```

The complete offline checks are listed in [the CI workflow](https://github.com/anubhavmalhotra/r2d2-tv/blob/main/.github/workflows/offline.yml). Offline checks do not establish physical video cadence, microphone quality, or compatibility with another firmware build.

## Deploy the host

Stage a complete rendered `spark/` tree as a versioned directory owned by the service account, then run its preflight before enabling the session manager:

```
python3 -B "$RENDERED_SPARK/runtime/trial.py" --run --preflight-only
```

`RENDERED_SPARK` points to the staged directory. Preflight checks the sandbox, display/audio, content protection, DNS, and cleanup. It does not install packages or verify TV playback. There is no general host installer; dependency installation and service supervision are host administration.

The runtime keeps its capability key and optional voice configuration under `$HOME/.local/share/baaz-browser/`. `baaz-browser` is a legacy runtime directory name kept for compatibility. Keep those files mode `0600` in private directories. Resident voice also needs pinned model snapshots, TLS credentials, and locally paired TV control; see [the voice backend](https://github.com/anubhavmalhotra/r2d2-tv/blob/main/voice/backend/README.md).

## Install on the TV

Install the Home package through your webOS package workflow and test it as an ordinary application first. Changing Home and idle routes is a separate step: [the offline Home planner](https://github.com/anubhavmalhotra/r2d2-tv/blob/main/tv/integration/README.md) produces candidates and rollback payloads from your firmware's captured state.

Voice capture follows [the local-capture activation contract](https://github.com/anubhavmalhotra/r2d2-tv/blob/main/voice/tv/local-capture/README.md). The public builder does not gain device access, patch system files, or activate services. Keep original files and a recovery path outside any process that a UI restart terminates. Then check remote controls, existing apps, browser playback, consecutive voice presses, standby/resume, and power cycling.

## Source map

| Path | Purpose |
| --- | --- |
| `tv/home/` | Home application templates |
| `tv/integration/` | Offline Home and idle-return planner |
| `spark/` | Browser, media transport, and session manager |
| `voice/` | TV capture, local models, and validated command execution |
| `protection/` | Content-blocking rules and reproducible extension builder |
| `tools/` | Private build, package, and privacy tools |

Keep device configuration, keys, firmware images, and runtime data outside version control. Security boundaries and reporting are in [SECURITY.md](https://github.com/anubhavmalhotra/r2d2-tv/blob/main/SECURITY.md).

## License

Project code is MIT-licensed ([LICENSE.md](https://github.com/anubhavmalhotra/r2d2-tv/blob/main/LICENSE.md)). The browser extension, filter tooling and data, and two runtime adapters are GPL-3.0-or-later; [THIRD\_PARTY\_NOTICES.md](https://github.com/anubhavmalhotra/r2d2-tv/blob/main/THIRD_PARTY_NOTICES.md) lists those components and upstream attributions.
animalhot11281
🟧 echo.github ⭐A local home screen, private remote browser, and push-to-talk voice assistant for webOS TVs, with inference on a separate host; the repositoanubhavmalhotra——

Interpretation history

Decision trace