Vesper is an invented streaming service. It has a "Who's watching?" profile picker, a home of sideways shelves under a featured billboard, series and films by genre, a page for every title with its seasons and episodes, search, My List, and a theater player. It is always dark, whatever the visitor's own setting: ink-violet neutrals, an ember brand colour, and key art drawn in SVG for every title. Every title, person and picture in it is made up.
The build shows how much of a streaming app fits into links, forms and cookies. The chosen profile is a cookie, and each profile's list is another. A title's tab and season live in the address. Every screen renders on the server and works without script. Once script loads, links and posts swap only the main frame, and named frames redraw the small parts that change, such as one list button or the search results, while the rest of the page holds still.
The brief
A streaming home is a wall of pictures, and it has to stay fast. It needs a billboard that sells one title, then shelf after shelf that scroll sideways, each card showing enough to choose from and more on focus. Title pages need the right primary action: Play from the start, or Resume where you stopped. The player has to seek properly, show chapters and captions, and keep its controls out of the way. And profiles have to really separate people. A child's profile must never reach an adult title, even through a typed address.
Vesper takes on each of those. Its video components come from @sdxc/ui/video: TitleHero, VideoShelf, VideoCard, EpisodeList, ProfilePicker and VideoPlayer. The rest is the app's own routing and cookies.
Profiles that really separate people
The profile screen is a ProfilePicker over a dimmed backdrop of the featured title. Choosing a profile is a form post that sets the vesper.profile cookie, and the server reads it on every screen to decide what to show.

The Kids profile only reaches titles rated for all ages. The rule lives in one function, visibleTitles(), and every route that looks up a title checks it, so a title page, a watch page or a "More like this" list for an adult title answers as if the title did not exist. Typing the address does not get around it, and a test checks that with the Kids cookie set. Each profile starts with its own My List: the household's picks, or only the children's titles on Kids.
The profile menu in the top bar lists every profile with its avatar, so switching is one click. A switch starts the next page at the top, wherever the redirect lands. The menu's "Reset the demo" expires every Vesper cookie and lands on home with a toast.
Shelves built for scrolling sideways
Home opens on a TitleHero: a rounded card set in from the page edges, framing the featured title's scene on its horizon, with a dotted fact line, this week's rank and a white Play button. The shelves below are each a VideoShelf: Continue watching, Trending with ranks, My List, Vesper Originals as posters, "Because you watched", and one shelf per genre.
Each item is a VideoCard. On desktop, a card shows its title's line and facts over the art under the pointer or keyboard focus. Continue watching cards carry a progress bar and say how much is left.

The art is a real performance concern on a page like this. Key art and every episode still are SVG files under /demos/vesper/art/, loaded with <img>. The hero's art loads first and everything else loads lazily, on the title's own sky colour until it arrives, so an empty card already looks like its scene. The files are cached across screens, and a test fails whenever a file falls out of date with the code that draws it.
A title page that remembers where you are
A title's art lies behind its whole page. Over it sit rating and format badges, the facts, this week's rank, the synopsis, a white Play or Resume pill, and a round My List button. The primary action reads the profile's history: Play S1:E1 for a title not yet started, Resume where the profile left off otherwise.
Below that, Episodes, More like this and Details are tabs kept in the address with ?tab=, so title/tidewater?tab=details is a page you can link. Episodes has a season dropdown. Each season is also an address, ?season=2, and its episodes are an EpisodeList with a drawn still, the number and title, the running time and a synopsis for each.

The season menu is a native popover opened with commandfor, placed under the start of its button, with the season on screen ticked. Its items are links to each season's address, so it needs no script to work.

Details lays the title out in three columns: what it is, its facts, and who made it, cast included.
A theater player that seeks
The watch page is a VideoPlayer on its stage layout, so the episode fills the window. The way back, the series and episode, Next episode and an Episodes panel sit over the picture. Along the foot are the time, a centred skip-back, play and skip-forward cluster, and buttons for sound, subtitles, settings and full screen. Everything but the picture fades while it plays.

Each episode and film has chapters placed by its running time, and captions timed against them. Those are passed straight to the player as props. The clips are tiny transparent WebM files, one for each running time, played over the drawn scene. They are served by the Worker with byte ranges: the whole file with Accept-Ranges: bytes, a range as 206 Partial Content, and a range past the end as 416. That is what lets resuming, skipping and dragging the progress bar actually move playback. Static files answering a range request with the whole file would leave every clip unseekable.
My List and search, each in its own frame
My List is kept in a cookie per profile. The list button on a title lives in its own named frame, so adding or removing a title redraws only that button and raises a Toasts message, while the page, its scroll and its shelves stay put. Undo puts the title back. A My List post keeps the scroll where it was.
Search results are a named frame too. As the visitor types, the frame reloads for the query about 180 ms after the last keystroke. The address follows in place, without a history entry per letter, and a polite status announces the count. Without script, the form submits on Enter and loads the page. Matches on a title's name rank first, and an empty result explains itself.

A thin ember bar shows at the top while a screen or post is loading, and only after a short delay, so a fast swap never flashes it. On phones, the top bar's destinations move into a TabBar at the bottom, with Search taking the place of the search field.

Takes after
Netflix — "Who's watching?", the billboard over shelves of ranked and continue-watching titles, and the Episodes, More like this and Details tabs. In Vesper those tabs and seasons are addresses.
Apple TV — key art behind the whole title page, with a white Play pill and the controls laid over the picture while it plays.
Where to start reading
vesper/home.tsx— the billboard and shelves for the current profile.vesper/search-live.tsx— results that reload in a frame as you type.vesper/watch.tsx— the theater player, its chapters and captions.vesper/data.ts— the catalogue andvisibleTitles(), the rule the Kids profile rests on.
