A modern, lightweight TVHeadend client for LG webOS TVs (2024-2026 models).
Browse live channels, check the programme guide, and stream directly from your TVHeadend server - all wrapped in a clean, TV-friendly UI optimised for remote control navigation.
- One-time setup with connection test
- Channel list with current programme info
- Full-screen EPG grid with time axis and current-time indicator
- HTML5 video player with channel-info overlay
- Remote-first navigation: D-pad, OK, Back, Channel +/-, Page Up/Down
- webOS app packaging and simulator support
| Setup | Channel List |
|---|---|
![]() |
![]() |
| Channel Info | EPG Guide |
|---|---|
![]() |
![]() |
- React 19 + TypeScript
- Vite 8 with
rolldown - Tailwind CSS 4
- Zustand for global state
- TanStack Query for data fetching and caching
- Vitest / Playwright for testing
- Node.js 20+
- A TVHeadend server on your network
- webOS TV CLI 3.2.5+ (used automatically via
npxin npm scripts)
npm install
cp .env.example .env.local
# Edit .env.local and set TVH_URL to your TVHeadend servernpm run devApp runs at http://localhost:3000. Vite's dev proxy forwards /api,
/playlist and /stream requests to the TVHeadend server configured in
.env.local, avoiding CORS issues during development.
npm run buildOutput goes to the build/ directory.
npm run test # unit tests
npm run test:e2e # end-to-end (requires server configured in .env.local)npm run webos:emunpm run webos:tvBoth scripts build, package, install and launch the app in one step.
public/ appinfo.json, icons
service/ webOS JS service proxy (CORS fallback on real TV)
src/
components/ React components (Player, EPG, ChannelList, Settings)
hooks/ React Query hooks
services/ TVHeadend client, storage, webOS adapters
stores/ Zustand stores
types/ TypeScript types
build/ webOS build output
- Browser / dev mode: the app sends requests through Vite's proxy to avoid CORS restrictions.
- Real webOS TV: the app falls back to the bundled JS service proxy
(
service/proxy.js) which uses Node'shttp/httpsmodules to forward requests to TVHeadend. - Streaming: uses the
passprofile (original MPEG-TS) from the M3U playlist returned by TVHeadend.



