Skip to content
Duc Tran

Side project

Lumi

A bilingual movie and series discovery app on the TMDB API, served through a Cloudflare Workers proxy with CI.

Stack
React 19, Vite, TanStack Query, Zustand, React Router, Tailwind CSS, Cloudflare Workers

Why build it

Lumi (formerly CineScope) is my own project: a movie and series discovery app on the TMDB API, in Vietnamese and English. It is where I try ideas outside client work, with the same standards: typed end to end, tested, and checked in CI on every push. Live at lumi.tmduc.workers.dev.

The stack: React 19, TypeScript, Vite, TanStack Query, Zustand, React Router, Tailwind CSS, and a Cloudflare Worker.

What it does

  • A streaming-style home page. A banner, a Top 10, rows by taste, by theme and by occasion (weekends, Tết and other holidays), and "continue watching" that jumps to the next episode.
  • Profiles for movies, series and people, laid out like a social feed: a timeline, videos with a player that shrinks as you scroll, photos, cast, seasons and episodes, and where to watch.
  • Explore and search with filters stored in the URL, followable themes, and related keywords.
  • A personal library: watchlist, watched titles with ratings, custom lists shared by link, release reminders (notifications and an .ics file), and episode tracking.
  • Play: a daily guess-the-movie game with streaks, badges, a year-in-review card, a side-by-side comparison of two titles, and "watch together", where a group swipes through options from a shared link.

A look at the app

Lumi home page in dark mode: a full-width banner for a featured series with match score, rating, genres and action buttons, followed by the Top 10 movies of the week with large outlined rank numbers.
The home page, with live TMDB data.
Lumi profile page for a movie: a wide cover image, the poster, title, year, runtime, genres, rating and match score, buttons to add to My List, like, mark as watched and play the trailer, then a Timeline tab with an intro card (director, release date, runtime, countries) next to a post that shares the storyline.
A movie profile: the timeline mixes facts and updates like a feed.
Lumi Discover page: a Surprise me button, Play & tools cards (Movie quiz, Watch together, Compare) and colour-coded genre tiles.
Discover: games and tools sit next to genre browsing.
Lumi Insights page showing twelve badges with progress, such as First steps, Cinephile, Horror buff and On fire, followed by a Your 2026 year-in-review card and this week's trends.
Badges and the year-in-review card.

Personal without tracking

Recommendations are rule-based, not AI or machine learning, and every piece of user data stays in the browser. That made a few things simpler (no accounts, no database) and one thing harder: everything personal has to be computed on the device, quickly.

Lumi Insights page in dark mode: bar charts of trending genres for movies and series and of top-rated movies by decade, then the section Your taste, labelled computed in this browser, never sent anywhere, with tiles for viewed, in my list, liked and main taste, the genres the user watches most and activity over the last 30 days. Each chart has a Show as table toggle.
The Insights page. The taste profile is computed in the browser, and every chart can be opened as a table, so the data is not locked inside a picture.
Lumi settings: six appearance options (System, Light, Dark and three Liquid Glass variants), language and region, the region for release dates and where to watch, and the streaming service whose new titles get a row on the home page.
Settings: appearance, language, region and your streaming service.

Keeping the API token off the client

The app is served by a Cloudflare Worker, which also proxies requests to TMDB. The token lives on the Worker; the Vite config strips it from every production build, so it never reaches the browser.

Browser (SPA)React 19 · TanStack QuerylocalStoragelibrary · ratings · listsCloudflare Workerstatic assets · SEO · proxyTMDB APItoken held server-side
The browser never sees the TMDB token. Personal data never leaves the browser.

Quality gates

Every push and pull request runs lint (oxlint), type-check, unit tests (Vitest), a production build, and a check of the Worker bundle. The Worker's proxy and SEO logic have their own tests.

Details I cared about

  • Light, dark and automatic themes, plus a "Liquid Glass" theme that uses SVG refraction on Chromium browsers.
  • Infinite scroll, and a layout that works from phone to desktop.
  • Bilingual interface, Vietnamese and English.