A TV-first streaming catalog for LG webOS, built for the remote's D-pad and the Magic Remote pointer. Posters, backdrops, cast, trailers and seasons come from TMDB. Video plays only from a media server that you run and have the rights to use. No ads, no trackers, no accounts, no third-party video hosts. Plain HTML, CSS and JavaScript, with no build step and no runtime dependencies.
This project does not provide, host, index or link to any video content. It is a client for your own server. You are responsible for having the rights to everything you play. See Legal.
The iPhone version lives in cineflix-ios and uses the same server contract.
- Home, Movies, TV Shows, Browse, Search, My List and Already Watched, with a side rail that works with the D-pad and the Magic Remote
- Hero area that follows the focused title, and rows for Trending, Top 10, New Releases, Popular, Top Rated, Coming Soon and genres
- Voice search: a mic button in Search opens the TV keyboard, and the spoken words run the search
- Browse with filters: movies or TV, sort, genre, year or decade, actor, minimum rating, hide watched. Endless scrolling
- Details page with rating, runtime, certification, cast, trailer, More Like This, and season and episode browsing
- My Videos and MEGA files remember where you stopped, per profile and synced across devices: they resume there, show a progress bar and
Resume 12:34, and hold OK on a row to start over - Player for MP4 and HLS with resume, Continue Watching, auto next episode, quality switching and remote media keys
- Next Episode card for series and MEGA folders: the next episode is looked up as soon as one starts (across seasons), a card with its still and title appears in the last 30 seconds, and a 10 second countdown plays it. Play now, Watch credits, a Next episode button in the controls and the Channel Up key are always there. "Autoplay next episode" in Settings turns the countdown off (per device, not synced)
- Your own web player page can be opened full screen inside the app, with the remote, resume and next episode still working
- Subtitle search from SubDL for the exact movie or episode, kept in step with the real video clock (details)
- Watched tracking (automatic at 95 percent, or manual), per-title My List, everything stored locally on the TV
- Continue Watching options: press and hold OK on a card to mark it watched or remove it. Mark single episodes watched or not watched the same way
- Thumbs up and thumbs down on every title, and "Because you watched" rows on Home built from what you liked and finished
- Kids profiles (needs a CineFlix Sync account): a maximum rating (G, PG or PG-13), family-only catalog and search, no Browse, My Videos or Settings, and an optional PIN to leave. Any profile can also have a PIN
- Optional server catalog: "Available" badges and a "Recently Added" row for what your server really has
- An LG webOS TV with Developer Mode turned on
- webOS CLI (
ares-*commands) and Node.js 18 or later - A free TMDB API read access token
- A media server that follows the server contract, or the included reference server for testing
- Optional: a free SubDL API key for subtitle search
git clone https://github.com/mustafazeya/cineflix-webos.git
cd cineflix-webos
node tools/media-server.js --port 8090 # reference server with a sample library of open-licensed films
npx http-server . -p 8080 # or any static file server
# Open http://localhost:8080 in Chrome, then in Settings enter:
# TMDB key: your read access token
# Server URL: http://localhost:8090Arrow keys move focus, Enter selects, Esc or Backspace goes back.
ares-setup-device # once: register the TV (see docs/deployment.md)
cp js/config.local.example.js js/config.local.js # put your TMDB token and server URL in it
./package.sh install my-lg-tv # build and install (add --launch to open it)js/config.local.js is git-ignored and is bundled into the .ipk so the TV opens straight to Home.
Never publish an .ipk you built with your own keys. More in docs/deployment.md.
| Topic | |
|---|---|
| Configuration | Every setting, in the app and in config.local.js |
| Media server API | Stream URLs, catalog, reference server, library.json |
| Player pages | Using your own web player, the page bridge, message protocol |
| Subtitles | SubDL search, clock rules, season packs |
| Deployment | webOS CLI, Developer Mode, installing, several TVs |
| Architecture | Code layout, data flow, webOS behaviour worth knowing |
| Trailer page | Why trailers need a small https page, and how to host your own |
| Development | Running, checking and testing changes |
| Troubleshooting | Common problems and fixes |
Issues and pull requests are welcome. Please read CONTRIBUTING.md and the Code of Conduct. To report a security problem, see SECURITY.md.
- CineFlix contains no media and no code that locates, scrapes or bypasses protection on content. It plays what your server returns.
- You must have the legal right to store and stream everything you serve. The authors accept no responsibility for how this software is used.
- The sample library uses the Blender Foundation's open movies (Big Buck Bunny, Sintel, Tears of Steel, CC BY 3.0), hosted by third parties.
- This product uses the TMDB API but is not endorsed or certified by TMDB. Subtitles are provided by SubDL, and you must follow their terms.
- LG, webOS and other names are trademarks of their owners. This project is not affiliated with or endorsed by them.
Code is released under the MIT License. Third-party components and the terms for the name and artwork are listed in NOTICE.md.