[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108400":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":15,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":16,"rankGlobal":10,"rankLanguage":10,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":18,"hasPages":18,"topics":20,"createdAt":10,"pushedAt":33,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":15,"starSnapshotCount":15,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},108400,"seatback-cinema","len5ky\u002Fseatback-cinema","len5ky","Every movie on 11 airlines' in-flight entertainment, monthly, with IMDb\u002FTMDB ids, plus an agent skill that picks what to watch.","https:\u002F\u002Fseatback.len5ky.com",null,"TypeScript",13,1,3,0,40.9,"MIT License",false,"main",[21,22,23,24,25,26,27,28,29,30,31,32],"agent-skill","airline","british-airways","claude-code","dataset","emirates","ife","imdb","inflight-entertainment","letterboxd","movies","united-airlines","2026-11-15 12:51:05","2026-11-20 03:35:03","# Seatback Cinema: inflight movie picker\n\nSeatback Cinema is a GitHub dataset of the in-flight entertainment (IFE) catalogs of 11 airlines, Emirates ice,\nUnited and British Airways among them, with every film matched to IMDb, plus an agent skill that ranks what's on\nyour flight by IMDb and Letterboxd ratings and your own taste. Ask Claude (in the app, or Claude Code), Codex or\nCursor \"what should I watch on my Emirates flight?\" and it answers from the films Emirates is actually showing that\nmonth.\n\nAlso searched as: seatback-cinema, flightflix, skyflix, planeflix, inflight movie finder, airline movie ranker,\nmile-high movies, cabin cinema, airline movie list ranked by IMDb.\n\n## Airlines\n\nOctober 2026, from `public\u002Fdata\u002Findex.json`. \"Films\" counts each film once, even where the airline lists it once\nper audio track. \"IMDb id\" is the share matched with high or medium confidence.\n\n| airline | id | films | IMDb id |\n|---|---|---:|---:|\n| Emirates (ice) | `emirates` | 2,055 | 93.1% |\n| Cathay Pacific | `cathay` | 1,551 | 91.6% |\n| American Airlines | `american` | 682 | 95.3% |\n| British Airways | `ba` | 658 | 95.1% |\n| United Airlines | `united` | 508 | 96.3% |\n| KLM | `klm` | 474 | 96.6% |\n| Lufthansa | `lufthansa` | 405 | 97.0% |\n| Singapore Airlines | `singapore` | 384 | 94.0% |\n| Qantas | `qantas` | 257 | 87.2% |\n| ANA | `ana` | 233 | 93.1% |\n| Japan Airlines | `jal` | 124 | 88.7% |\n\n7,331 films in all, 6,862 of them with an IMDb id.\n\n## Use it in the Claude app (web and mobile)\n\nSeatback Cinema is a Claude plugin, installed from this repo in one step on claude.ai (paid plans): Customize,\nPlugins, Add, Add marketplace, and enter `len5ky\u002Fseatback-cinema`; then install **Seatback Cinema**. It's saved to\nyour account, so the mobile and desktop apps get it too.\n\nThe plugin is a skill plus the Seatback Cinema connector. The skill alone is enough: it reads the catalogue and\nyour taste from `https:\u002F\u002Fseatback.len5ky.com\u002Fapi\u002F`. Adding the connector from the plugin's Connectors tab (one\nclick, no login) is optional; it lets you paste an IMDb or Letterboxd export into the chat and keeps working when\nClaude's web fetch is unavailable.\n\nNo plugins on your plan? The skill also comes as a zip, https:\u002F\u002Fseatback.len5ky.com\u002Finflight-movie-picker-web.zip:\nupload it, unopened, at Customize, Skills.\n\nAfter that, start a chat, on the web or in the mobile app, and say where you're flying. Any of these works:\n\n> I'm on Emirates to Dubai on Thursday, about 7 hours. My IMDb ratings are at https:\u002F\u002Fwww.imdb.com\u002Fuser\u002Fur12345678\u002Fratings\u002F. Skip anything I've already seen and pick me three films for the flight, newer ones first.\n\n> Flying United to Chicago tomorrow, 9 hours, no idea what's on. Show me what's good and ask me what I've seen.\n\n> BA to New York with two kids, 8 and 11. What's on board for them, and one thing for me after they fall asleep?\n\n> Is Project Hail Mary on Qantas this month? If not, what's the closest thing?\n\nClaude drops what you've seen and answers with three films and a backup, each with its ratings, a one-line\nsynopsis, why it suits you and an IMDb link. For your taste it asks for a public IMDb profile link first, then a\nLetterboxd username, then a taste code from last time. With none of those, it lists ten likely picks, twice, and\ndrops the ones you say you've seen.\n\n**The taste code.** https:\u002F\u002Fseatback.len5ky.com\u002Ftaste reads your IMDb or Letterboxd export in the browser and gives\nyou a 20-character code; nothing goes through the chat. Paste the sentence it shows (\"My Seatback Cinema taste code\nis ...\") and Claude skips everything you've rated. The code holds film ids and your scores, nothing else, for a\nyear. Claude also offers to make one after the first import in a chat.\n\n**The IMDb link.** Your ratings have to be public (Settings, Privacy on imdb.com). Seatback reads them on its\nown server, scores and watchlist included, and keeps the import for a day; Letterboxd gives it only your latest 50\ndiary entries. When a link fails, an IMDb export (CSV, from https:\u002F\u002Fwww.imdb.com\u002Flist\u002Fratings\u002Fexport on a computer)\nor a Letterboxd export (zip) still works, attached to the chat (with the connector) or turned into a code at https:\u002F\u002Fseatback.len5ky.com\u002Ftaste.\n\n## Quick start: the skill\n\nIn Claude Code, the same plugin installs with one command and brings the connector with it:\n\n```\n\u002Fplugin install seatback-cinema --marketplace len5ky\u002Fseatback-cinema\n```\n\nFor Codex, Cursor and other agents, or for a Claude Code without network tools, there is a second skill,\n[`skill\u002Finflight-movie-picker`](skill\u002Finflight-movie-picker): a `SKILL.md` and a dependency-free script that\ndownloads one airline-month from the open dataset and prints it as a table (Bun, Node 22.6+ or Deno). Install it\nstraight from GitHub:\n\n```bash\nnpx skills add len5ky\u002Fseatback-cinema          # asks which agent to install it for\n```\n\nOr fetch the folder yourself, no clone needed:\n\n```bash\ncurl -fsSL https:\u002F\u002Fgithub.com\u002Flen5ky\u002Fseatback-cinema\u002Farchive\u002Frefs\u002Fheads\u002Fmain.tar.gz \\\n  | tar xz -C ~\u002F.codex\u002Fskills --strip-components=2 seatback-cinema-main\u002Fskill\u002Finflight-movie-picker     # Codex CLI\n```\n\nStart a new session and ask about your flight; the four prompts in the Claude app section above work here too. For Cursor, copy the folder into your project and add a rule that\npoints at its `SKILL.md`; [`skill\u002FREADME.md`](skill\u002FREADME.md) has the rule file and the Codex fallback for\nversions that don't load skills.\n\nThe skill asks for the airline, flight length, who's watching and the mood, then gives three films and a backup on\na long-haul flight, one or two under 110 minutes on a short one, and family titles only when kids are watching.\nEach pick carries its IMDb link. If you have no export to hand it asks for five films you loved and two you hated.\n\n### What a pick looks like\n\nThis is the project's own CLI on the October Emirates catalogue, with an IMDb export imported\n(`bun run cli picks --airline emirates --min-year 2025 --top 3`):\n\n```\nEmirates 2026-10: top 3 picks (excluded: 58 low-confidence, 94 unmatched, 254 already watched)\ntaste: 938 ratings (mean 7.3\u002F10), 938 watched, 103 on watchlist; taste.json as overrides\n\n 1. Obsession (2025)  Horror, Thriller  109 min  IMDb 7.8 (414k)  LB 4.1  RT 94%  score 9.46\n    A hopeless romantic's wish for true love spirals into a nightmare in this breakout horror hit.\n    why: on your watchlist; you rate horror -0.5 (49 films); Curry Barker; English; https:\u002F\u002Fwww.imdb.com\u002Ftitle\u002Ftt37287335\u002F (high)\n 2. Sawt Hind Rajab (2025)  Drama  84 min  IMDb 8.2 (22k)  LB 4.4  RT 100%  score 8.77\n    An award-winning true story drama about a young girl's call for help and the race to reach her.\n    why: Kaouther Ben Hania; Arabic; https:\u002F\u002Fwww.imdb.com\u002Ftitle\u002Ftt36943034\u002F (medium)\n 3. I Swear (2025)  Drama, Comedy  120 min  IMDb 8.3 (72k)  LB 4.3  RT 98%  score 8.65\n    A BAFTA®-winning biopic of pioneering Tourette syndrome activist John Davidson.\n    why: Kirk Jones; English; https:\u002F\u002Fwww.imdb.com\u002Ftitle\u002Ftt31514146\u002F (high)\n```\n\nThe skills present picks in the same card shape. In the Claude app the ratings come from the connector. The\ncoding-agent skill has no scraped ratings, so its numbers come from the model's knowledge of the film and, when\n`TMDB_API_KEY` is set, from TMDB.\n\n### Add your taste\n\nAn export beats any interview: films you've rated drop out, your watchlist floats up, and the model sees what you\nloved and hated.\n\n- **IMDb:** sign in at imdb.com, open your name menu (top right), then Your ratings. Click the three-dot menu above\n  the list and choose Export. IMDb builds the CSV and lists it under Your exports, where you download it. Do the\n  same from your Watchlist. Put the files in `data\u002Fimdb-ratings\u002F` in the folder you start the agent from.\n- **Letterboxd:** letterboxd.com, Settings, the Data tab, Export your data. Unzip the download anywhere and tell\n  the agent where it is.\n- **No export:** give the agent your public profile URL. The script reads it with `--imdb-url` or\n  `--letterboxd-url` from your own machine. IMDb often refuses scripted requests, and the script then points you\n  back to the export.\n\nIMDb rows join on the IMDb id, so they never mismatch. Letterboxd exports carry no IMDb id, so those join on title\nand year, which can miss a retitled film.\n\n### Limits\n\n- **Not covered:** Delta (its public pages show about 80 of roughly 300 films, title and poster only), Turkish (10\n  highlights behind PerimeterX), Air France (no public catalogue) and Qatar (the catalogue sits behind Akamai and\n  only loads in a real browser).\n- **Twice a month.** The data refreshes on the 1st and 15th. BA, Singapore, Qantas and American only publish the\n  current cycle, so next month's line-up for them appears once it starts.\n- **One catalogue per airline.** Routes, aircraft and cabins differ. Qantas is the large international seatback\n  set; a domestic 737 shows less.\n- **Medium-confidence matches.** About 7% of IMDb ids rest on a single signal, often runtime alone. The skill\n  flags them; check the link before you trust the rating. Regional-language films and concert specials match least\n  often, and unmatched films are left out of rankings rather than guessed.\n\n## API\n\nEverything the skill and the connector do is available as plain GET requests at `https:\u002F\u002Fseatback.len5ky.com\u002Fapi\u002F`,\nas JSON with open CORS. Picks come back as the same cards the connector returns. Add `pretty=1` to indent the output.\n\n```bash\ncurl 'https:\u002F\u002Fseatback.len5ky.com\u002Fapi\u002Fairlines'\ncurl 'https:\u002F\u002Fseatback.len5ky.com\u002Fapi\u002Fpicks?airline=emirates&flight_minutes=420&min_year=2025&limit=3&pretty=1'\ncurl 'https:\u002F\u002Fseatback.len5ky.com\u002Fapi\u002Fpicks?airline=emirates&imdb=https:\u002F\u002Fwww.imdb.com\u002Fuser\u002Fur12345678\u002Fratings\u002F&limit=3'\n```\n\n`\u002Fapi\u002Fcatalogue` takes `airline`, `genre` (comma-separated), `min_year`, `max_year`, `max_runtime`, `family`, `q`,\n`limit` and `offset`. `\u002Fapi\u002Fpicks` takes `airline`, `flight_minutes`, the same filters, `limit`, and one of `imdb`\n(a profile link or its `ur` \u002F `p.` id), `letterboxd` (a username) or `code` (a taste code). `\u002Fapi\u002Fprofile?imdb=...`\nimports a profile and returns `{ code, rated, watchlist }`. Errors come back as `{ error, hint }` with a 4xx or 5xx\nstatus.\n\nLimits: an IMDb profile can be imported 10 times a UTC day, and all profiles together 2,000 times. An import is kept\nfor 24 hours, so repeat calls with the same link cost nothing. Letterboxd covers the latest 50 diary entries.\n`picks` returns at most 20 films and `catalogue` 200 rows a page. Calls without a profile are cached for 5 minutes;\ncalls with one are never cached. Taste codes last a year.\n\n## For developers\n\n### Dataset\n\n```\npublic\u002Fdata\u002Findex.json                 airlines, months, film counts, fetch times\npublic\u002Fdata\u002F\u003Cairline>\u002F\u003CYYYY-MM>.json   one catalogue\npublic\u002Fdata\u002Fids.json                   IMDb id -> TMDB, Letterboxd, Rotten Tomatoes, Metacritic ids\npublic\u002Fdata\u002Fhealth.json                last fetch attempt per airline: status, film count, error tail\n```\n\nEach film has `sourceId, title, year, runtime, directors, genres, rating, languages, categories, imdbId,\nimdbConfidence, tmdbId`. `rating` is the airline's age classification. `imdbId` is set only for high and medium\nmatches. Read it from `https:\u002F\u002Fraw.githubusercontent.com\u002Flen5ky\u002Fseatback-cinema\u002Fmain\u002Fpublic\u002Fdata\u002Findex.json`.\n\nLicence: the files in `public\u002Fdata\u002F` are released under CC0 1.0. They hold catalogue metadata only. No synopses,\nposters, cast lists or ratings are redistributed; ratings stay in the local database and the data links out to IMDb\nand TMDB instead. Titles and listings come from the airlines' public sites. IMDb ids come from IMDb's\nnon-commercial datasets, whose terms still apply to anything you build on them. `ids.json` comes from Wikidata,\nalso CC0.\n\n### Running the pipeline\n\nNeeds [Bun](https:\u002F\u002Fbun.sh); `bun install` pulls dev types only, storage is the built-in `bun:sqlite`.\n\n```bash\nbun run cli fetch \u003Cairline|all> [--month 2026-11] [--refresh]  # monthly catalogue -> data\u002Fplane_movie.sqlite\nbun run cli imdb sync [--force]    # download IMDb datasets (~1.2 GB, refreshed when >7 days old) and load them\nbun run cli match [--airline X]    # match catalogue films to IMDb titles\nbun run cli stats [--airline X]    # film count and match rate by confidence\nbun run cli picks [--airline emirates] [--top 30] [--genre Thriller] [--min-rating 7] [--language English] [--min-year 2020] [--max-year 2025] [--year 2025] [--month YYYY-MM] [--full]\nbun run cli search \"toy story\" [--airline X]   # which airlines carry it this month\nbun run cli export [--month 2026-10] [--airline X]  # public\u002Fdata\u002F\u003Cairline>\u002F\u003Cmonth>.json, ids.json, index.json\nbun run cli taste import [file ...]            # IMDb CSVs and\u002For a Letterboxd zip (default: data\u002Fimdb-ratings\u002F, data\u002Fletterboxd\u002F)\nbun run cli ids sync [--airline X] [--limit N] # Wikidata crosswalk to TMDB \u002F Letterboxd \u002F RT \u002F Metacritic ids\nbun run cli ratings sync [--source tmdb|letterboxd|rt|mc|all] [--airline X] [--limit N]\nbun run serve                                  # public\u002F on http:\u002F\u002Flocalhost:4173 (SEATBACK_PORT to change)\n```\n\n`bun run cli` with no arguments prints this list and the registered airline ids. `bun test` runs the unit tests\n(fixtures in `tests\u002Ffixtures\u002F` are real responses with synopses, cast and image URLs stripped) and\n`bun run typecheck` typechecks.\n\n`bun run serve` also lets you try the skill on a fresh `export` before anything is pushed:\n`SEATBACK_DATASET_URL=http:\u002F\u002Flocalhost:4173` or `--base public` points the skill's script at it.\n\n`public\u002Findex.html` is a static leaderboard (film counts, match rate, fetch health per airline) that reads the same\nfiles; `bun run serve` and open http:\u002F\u002Flocalhost:4173.\n\n### Ratings and taste in the CLI\n\nPicks score on a 10-point scale. The public part blends IMDb (0.4), Letterboxd average (0.3, stars x2), RT audience\n(0.15) and Metascore (0.15). IMDb is pulled toward 6.5 by `min_votes`, IMDb and Letterboxd weights scale with\nlog10 of their vote counts, and a missing source drops out with the rest re-normalised.\n\nTaste comes from `bun run cli taste import`. Every film you rated adds its deviation from your mean rating to its\ngenres and directors; an affinity is that sum divided by (films + 3), so one film moves it a little and ten move it\na lot. Watched films are excluded, watchlist films get +1.5, and the strongest affinities show up as reasons (\"you\nrate horror -0.5 (49 films)\"). `taste.json` stays as manual overrides: liked and disliked genres, `favourites`,\n`seen`, `min_rating`, `min_votes`.\n\nLetterboxd, RT and Metacritic are scraped at one request per second per site with a 30-day cache, for personal use\nonly: Letterboxd's terms forbid automated access, and none of those scores is ever exported. TMDB needs\n`TMDB_API_KEY` in `.env` (free from themoviedb.org, Settings, API).\n\n### Publishing\n\n`.github\u002Fworkflows\u002Fmonthly.yml` runs at 05:17 UTC on the 1st and 15th, and on manual dispatch with an optional\n`month`. It loads IMDb, runs `scripts\u002Ffetch-all.sh` (each airline with a 20-minute timeout; one failure doesn't stop\nthe rest), then `match`, `ids sync` and `export`. `scripts\u002Fbuild-index.ts` rebuilds `index.json` from the files on\ndisk, so an airline that failed keeps its last good month. The Actions bot commits `public\u002Fdata` to main with\n`[skip ci]` through `scripts\u002Fpush-dataset.sh`. A run takes 10 to 20 minutes, mostly Lufthansa, JAL and ANA, which\nmake one request per film.\n\nAmerican answers HTTP 429 to GitHub runner IPs, so CI skips it. `scripts\u002Famerican-local.sh` runs from a crontab on\nthe maintainer's machine at 03:00 UTC on the same days: it fetches American, matches, exports that airline and\npushes from its own worktree (`tmp\u002Famerican-publish`), rebasing over CI's commit if both land at once. `--dry-run`\nstops before the push.\n\n### Adding an airline\n\nEvery adapter implements `AirlineAdapter` from `src\u002Fairlines\u002Ftypes.ts`:\n\n```ts\nfetchMonth(month: string, opts: { cacheDir: string; refresh?: boolean }): Promise\u003Cunknown>; \u002F\u002F cache raw responses under cacheDir\u002F\u003Cid>\u002F\u003Cmonth>\u002F\nparse(raw: unknown): CatalogueFilm[];                                                         \u002F\u002F pure, deduped\n```\n\n`fetchMonth` saves every HTTP response and reuses it unless `--refresh`; an airline with no month selector refuses\nany month but the current one. `parse` is pure and gets a unit test against a saved response in `tests\u002Ffixtures\u002F`\nwith synopses, cast and image URLs stripped. Fill `year` and `directors` whenever the source has them: the matcher\nleans on both. Register the adapter in `src\u002Fairlines\u002Findex.ts`. Keep it low-volume: one fetch per airline-month per\nday, no retry loops. Gee Media Airtime (United, KLM, Cathay Pacific) and Spafax (Lufthansa, JAL) already have shared\nclients in `src\u002Fairlines\u002Fplatforms\u002F`, so an airline on either platform is mostly configuration.\n\n| airline | source | requests per fetch |\n|---|---|---|\n| Emirates | `emirates.com\u002Fservice\u002Fexp\u002Fice` JSON | 2 |\n| United, KLM | Gee Media Airtime API | 2 |\n| British Airways | `entertainment.ba.com\u002Fapi` proxy (Akamai, browser UA) | ~20 |\n| Singapore | KrisWorld `catalog-lookup` | 1 |\n| Lufthansa, JAL | Spafax API, one detail call per film | ~410, ~130 |\n| Cathay Pacific | Anuvu AirTime (Airtime client, other base URL) | ~38 |\n| Qantas | `qantas.com\u002Fapi\u002Fentertainment\u002Fmetadata` | 1 |\n| ANA | CineSend search plus one detail call per title | ~235 |\n| American | `entertainment.aa.com` pages in headless Chromium (plain HTTP is blocked on TLS fingerprint) | 25 pages |\n\n### The matcher\n\nIMDb's `title.basics`, `title.akas`, `title.ratings`, `title.crew` and `name.basics` go into SQLite, about 1.3\nmillion titles. An airline that sends an IMDb id (American does) is trusted when IMDb knows the id. Everything else\nis matched on a normalised title (lowercase, no accents or punctuation, no leading article, roman numerals as\ndigits), with fallbacks for \"Marvel's\" prefixes, either side of a colon or a trailing parenthesis, and titles cut\noff with \"...\". Each candidate is scored on year (exact or one off), director surname (typo-tolerant) and runtime\n(within 3 minutes). Two agreeing signals and no conflict make a `high` match, one makes `medium`, and anything\nweaker is `low` or `none` and never ranked. Emirates sends no year on 72% of its rows, so it leans on director and\nruntime.\n\n## Skills in this repo\n\n- `skill\u002Finflight-movie-picker\u002F` is the public skill described above. It reads the published dataset, so nobody\n  needs the pipeline.\n- `plugins\u002Fseatback-cinema\u002Fskills\u002Finflight-movie-picker-web\u002F` is the Claude app version (shipped as the `seatback-cinema` plugin): no script, it calls the connector at\n  `https:\u002F\u002Fseatback.len5ky.com\u002Fmcp`. `scripts\u002Fpackage-web-skill.sh` zips it for upload.\n- `.claude\u002Fskills\u002Finflight-movie-picker\u002F` is the maintainer's skill for a checkout: it drives the CLI and the local\n  SQLite database, scraped ratings included.\n","Seatback Cinema 是一个面向航空旅客的机上影音内容推荐工具，提供11家主流航空公司（如阿联酋航空、英航、美联航等）每月更新的机上娱乐（IFE）电影目录，并统一关联 IMDb 和 Letterboxd ID。其核心功能包括：结构化公开数据集（7300+部影片，93%以上匹配 IMDb）、支持自然语言查询的 Claude 插件技能，能基于用户观影历史、偏好及航班信息（航司、时长、同行人员）智能排序推荐影片。适用于长途飞行前快速筛选合适影片、避免重复观看、亲子观影规划等实际出行场景。",2,"2026-11-24 04:34:04","CREATED_QUERY"]