From c44d6b568e264a03f2fb39f0e7755f04580ae740 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 20 Nov 2026 20:08:34 +0000 Subject: [PATCH] Add Movi, a movie ranking app, at /movi/ - New page movi/: a copy of Movi (https://ngcoding10.github.io/claude/), using Movi's own Supabase project, so accounts are shared with the original site. - Card on Web Development Projects, link on the home page, README section, What's new entry (1.36) with Spanish. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_0135gfn7GWw7tbJ8nyRyEKoc --- README.md | 1 + e63334287a3deaa3/news-es.js | 4 + e63334287a3deaa3/news.js | 6 + index.html | 6 +- movi/apple-touch-icon.png | Bin 0 -> 4579 bytes movi/config.js | 7 + movi/data/details/0.json | 1 + movi/data/details/1.json | 1 + movi/data/details/10.json | 1 + movi/data/details/11.json | 1 + movi/data/details/12.json | 1 + movi/data/details/13.json | 1 + movi/data/details/14.json | 1 + movi/data/details/15.json | 1 + movi/data/details/16.json | 1 + movi/data/details/17.json | 1 + movi/data/details/18.json | 1 + movi/data/details/19.json | 1 + movi/data/details/2.json | 1 + movi/data/details/20.json | 1 + movi/data/details/21.json | 1 + movi/data/details/22.json | 1 + movi/data/details/23.json | 1 + movi/data/details/24.json | 1 + movi/data/details/25.json | 1 + movi/data/details/26.json | 1 + movi/data/details/27.json | 1 + movi/data/details/28.json | 1 + movi/data/details/29.json | 1 + movi/data/details/3.json | 1 + movi/data/details/30.json | 1 + movi/data/details/31.json | 1 + movi/data/details/32.json | 1 + movi/data/details/33.json | 1 + movi/data/details/34.json | 1 + movi/data/details/35.json | 1 + movi/data/details/36.json | 1 + movi/data/details/37.json | 1 + movi/data/details/38.json | 1 + movi/data/details/39.json | 1 + movi/data/details/4.json | 1 + movi/data/details/40.json | 1 + movi/data/details/41.json | 1 + movi/data/details/42.json | 1 + movi/data/details/43.json | 1 + movi/data/details/44.json | 1 + movi/data/details/45.json | 1 + movi/data/details/46.json | 1 + movi/data/details/47.json | 1 + movi/data/details/48.json | 1 + movi/data/details/49.json | 1 + movi/data/details/5.json | 1 + movi/data/details/50.json | 1 + movi/data/details/51.json | 1 + movi/data/details/52.json | 1 + movi/data/details/53.json | 1 + movi/data/details/54.json | 1 + movi/data/details/55.json | 1 + movi/data/details/56.json | 1 + movi/data/details/57.json | 1 + movi/data/details/58.json | 1 + movi/data/details/59.json | 1 + movi/data/details/6.json | 1 + movi/data/details/60.json | 1 + movi/data/details/61.json | 1 + movi/data/details/62.json | 1 + movi/data/details/63.json | 1 + movi/data/details/64.json | 1 + movi/data/details/65.json | 1 + movi/data/details/66.json | 1 + movi/data/details/67.json | 1 + movi/data/details/68.json | 1 + movi/data/details/69.json | 1 + movi/data/details/7.json | 1 + movi/data/details/70.json | 1 + movi/data/details/71.json | 1 + movi/data/details/72.json | 1 + movi/data/details/8.json | 1 + movi/data/details/9.json | 1 + movi/data/index.json | 1 + movi/data/posters.json | 1 + movi/icon-192.png | Bin 0 -> 4984 bytes movi/icon-512.png | Bin 0 -> 27904 bytes movi/icon.svg | 1 + movi/index.html | 65 ++++ movi/js/api/demo.js | 466 ++++++++++++++++++++++++ movi/js/api/index.js | 25 ++ movi/js/api/supabase.js | 235 ++++++++++++ movi/js/app.js | 371 +++++++++++++++++++ movi/js/data-version.js | 2 + movi/js/film-sheet.js | 241 ++++++++++++ movi/js/films.js | 113 ++++++ movi/js/matcher.js | 170 +++++++++ movi/js/model.js | 156 ++++++++ movi/js/rank-flow.js | 258 +++++++++++++ movi/js/state.js | 219 +++++++++++ movi/js/ui.js | 161 ++++++++ movi/js/util.js | 106 ++++++ movi/js/variety.js | 59 +++ movi/js/views/account.js | 260 +++++++++++++ movi/js/views/discover.js | 186 ++++++++++ movi/js/views/feed.js | 176 +++++++++ movi/js/views/lists.js | 142 ++++++++ movi/js/views/profile.js | 163 +++++++++ movi/js/views/social.js | 148 ++++++++ movi/js/views/torank.js | 150 ++++++++ movi/manifest.webmanifest | 17 + movi/og-image.jpg | Bin 0 -> 120590 bytes movi/preview.jpg | Bin 0 -> 188402 bytes movi/styles.css | 707 ++++++++++++++++++++++++++++++++++++ projects/index.html | 28 +- 111 files changed, 4721 insertions(+), 3 deletions(-) create mode 100644 movi/apple-touch-icon.png create mode 100644 movi/config.js create mode 100644 movi/data/details/0.json create mode 100644 movi/data/details/1.json create mode 100644 movi/data/details/10.json create mode 100644 movi/data/details/11.json create mode 100644 movi/data/details/12.json create mode 100644 movi/data/details/13.json create mode 100644 movi/data/details/14.json create mode 100644 movi/data/details/15.json create mode 100644 movi/data/details/16.json create mode 100644 movi/data/details/17.json create mode 100644 movi/data/details/18.json create mode 100644 movi/data/details/19.json create mode 100644 movi/data/details/2.json create mode 100644 movi/data/details/20.json create mode 100644 movi/data/details/21.json create mode 100644 movi/data/details/22.json create mode 100644 movi/data/details/23.json create mode 100644 movi/data/details/24.json create mode 100644 movi/data/details/25.json create mode 100644 movi/data/details/26.json create mode 100644 movi/data/details/27.json create mode 100644 movi/data/details/28.json create mode 100644 movi/data/details/29.json create mode 100644 movi/data/details/3.json create mode 100644 movi/data/details/30.json create mode 100644 movi/data/details/31.json create mode 100644 movi/data/details/32.json create mode 100644 movi/data/details/33.json create mode 100644 movi/data/details/34.json create mode 100644 movi/data/details/35.json create mode 100644 movi/data/details/36.json create mode 100644 movi/data/details/37.json create mode 100644 movi/data/details/38.json create mode 100644 movi/data/details/39.json create mode 100644 movi/data/details/4.json create mode 100644 movi/data/details/40.json create mode 100644 movi/data/details/41.json create mode 100644 movi/data/details/42.json create mode 100644 movi/data/details/43.json create mode 100644 movi/data/details/44.json create mode 100644 movi/data/details/45.json create mode 100644 movi/data/details/46.json create mode 100644 movi/data/details/47.json create mode 100644 movi/data/details/48.json create mode 100644 movi/data/details/49.json create mode 100644 movi/data/details/5.json create mode 100644 movi/data/details/50.json create mode 100644 movi/data/details/51.json create mode 100644 movi/data/details/52.json create mode 100644 movi/data/details/53.json create mode 100644 movi/data/details/54.json create mode 100644 movi/data/details/55.json create mode 100644 movi/data/details/56.json create mode 100644 movi/data/details/57.json create mode 100644 movi/data/details/58.json create mode 100644 movi/data/details/59.json create mode 100644 movi/data/details/6.json create mode 100644 movi/data/details/60.json create mode 100644 movi/data/details/61.json create mode 100644 movi/data/details/62.json create mode 100644 movi/data/details/63.json create mode 100644 movi/data/details/64.json create mode 100644 movi/data/details/65.json create mode 100644 movi/data/details/66.json create mode 100644 movi/data/details/67.json create mode 100644 movi/data/details/68.json create mode 100644 movi/data/details/69.json create mode 100644 movi/data/details/7.json create mode 100644 movi/data/details/70.json create mode 100644 movi/data/details/71.json create mode 100644 movi/data/details/72.json create mode 100644 movi/data/details/8.json create mode 100644 movi/data/details/9.json create mode 100644 movi/data/index.json create mode 100644 movi/data/posters.json create mode 100644 movi/icon-192.png create mode 100644 movi/icon-512.png create mode 100644 movi/icon.svg create mode 100644 movi/index.html create mode 100644 movi/js/api/demo.js create mode 100644 movi/js/api/index.js create mode 100644 movi/js/api/supabase.js create mode 100644 movi/js/app.js create mode 100644 movi/js/data-version.js create mode 100644 movi/js/film-sheet.js create mode 100644 movi/js/films.js create mode 100644 movi/js/matcher.js create mode 100644 movi/js/model.js create mode 100644 movi/js/rank-flow.js create mode 100644 movi/js/state.js create mode 100644 movi/js/ui.js create mode 100644 movi/js/util.js create mode 100644 movi/js/variety.js create mode 100644 movi/js/views/account.js create mode 100644 movi/js/views/discover.js create mode 100644 movi/js/views/feed.js create mode 100644 movi/js/views/lists.js create mode 100644 movi/js/views/profile.js create mode 100644 movi/js/views/social.js create mode 100644 movi/js/views/torank.js create mode 100644 movi/manifest.webmanifest create mode 100644 movi/og-image.jpg create mode 100644 movi/preview.jpg create mode 100644 movi/styles.css diff --git a/README.md b/README.md index 06484392..b341087f 100644 --- a/README.md +++ b/README.md @@ -229,6 +229,7 @@ Personal site hosted with GitHub Pages at **https://ascoding11.github.io**, the - The page's scripts (inline, at the end): the board drawing and its table are built from `case/layout.json`, so they always match the model; the **workbench** near the top (`#bench`, the dark panel; its styles are the `.wb` rules and its code the last block of the script) has three tabs. *Build steps* is a 3D viewer with 12 steps (`STEPS`: which parts show, which are lit, how far they are pulled apart, which way the camera looks, and the step's text); it fetches Three.js r128 from cdnjs when the panel scrolls into view and loads the small in-place meshes in `case/view/` (a binary-STL reader is in the page; drag to turn, the steps still read without 3D). *Floor plan* draws four layers (front shell, buttons and pad, circuit board, battery and back shell) from `case/view/plan.json`, and clicking a part fills the side panel from `INFO` (name, part number, price, pin, note). *The working* recomputes play time, charging, delay, weight and cost from the controls and lists each check with its limit and its sum written out (`Work.calc`); at the plan settings it must agree with the Specifications and Cost tables (35 mA, 30 h, 4.2 h, $23.20), so change both together; the per-unit prices for each batch size are `COST` in that block and the first table of the Cost section. `case/view_parts.py` writes `case/view/` (run it after `daedalus_case.py`): simplified shells, the printed buttons in place, and plain blocks at datasheet sizes for the bought parts. When the assembly steps, a pin, a price or a part changes, update `STEPS`, `INFO` and the written sections together; the Specifications table and the parts option tables are static text: when a part, a size in `P` or a setting in the sketch changes, change them too; the tester polls `navigator.getGamepads()` and lights the buttons in the sketch's order (`NAMES` must match the `Btn` enum in the sketch). The front-view drawing near the top is static SVG: its body outline is generated from `outline_right` (lines and arcs through the same tangent points as `rounded_polygon` in the model, at 5 px per mm with X = 380 + 5x and Y = 215 − 5y), and the buttons are placed by hand at the same scale; if `P` changes, redraw both. `preview.jpg` shows the same drawing. - `applied-robotics/`: only `preview.jpg` (used by the Engineering cards). The Applied Robotics Workbench (six SVG circuit sheets for a two-wheel rover, bench calculators, an Arduino sketch and a parts list) is hosted on the [applied-robotics](https://github.com/ASCoding11/applied-robotics) repo's own GitHub Pages site, https://ascoding11.github.io/applied-robotics/, and the cards link there. Keep it there rather than copying it into this repo, so there is one copy to update. - `about/` and the guides (`hype-cycle-exchange/guide/`, `boxed/guide/`, `docket/guide/`, `prompted/guide/`): plain reading pages, written in our own words, that explain the site and how to get the most out of each public tool (running Hype Cycle Exchange in class, AMC 10 and AIME prep with Boxed, planning study time with Docket, handling supplemental essays with Prompted). They use the `.guide` styles at the end of `site.css`, are in `sitemap.xml`, and are linked from the Projects and Productivity cards ("…guide" buttons) and from the footers (About). No ads on them. When a tool changes in a way the guide describes (rules, limits, modes), update its guide too. +- `movi/`: Movi, a movie ranking app (rank films by picking which of two you liked more; each gets a 0–10 score), by Nico. It's a copy of the `docs/` folder of Movi's own repository (live at https://ngcoding10.github.io/claude/), without its `404.html`, `robots.txt` and `sitemap.xml`; its canonical link points at that original. **Storage:** accounts, rankings, follows and posts are in Movi's own Supabase project (address and public key in `movi/config.js`), not in this site's Firebase, so one account works on both sites. The Supabase project allows sign-in links back to `https://ascoding11.github.io/movi/` and `https://ascoding11.com/movi/` (Authentication → URL Configuration → Redirect URLs); without those, Google sign-in would return people to the original site. Each site keeps its own sign-in in the browser, so someone signed in on one signs in once more on the other, with the same account. The film database is in `movi/data/` (film ids are positions in `index.json`, so it's replaced as a whole, never edited by hand). **Updating:** copy Movi's `docs/` folder over `movi/` again (keeping `preview.jpg`, and leaving out `404.html`, `robots.txt` and `sitemap.xml`). No ads; not counted in analytics. - `docket/`: Docket, a study planner for Canvas students (plain JavaScript, no backend; everything is saved in the student's browser). It imports assignments three ways: a bookmarklet that reads the Canvas API from the student's logged-in Canvas tab and hands the data to Docket in the URL hash (its source is the `bmSrc` block in the page), the Canvas calendar feed / any `.ics` or Google Calendar `.zip` export, or pasted text from a Canvas assignments page. It estimates time and difficulty per assignment, then schedules study sessions around calendar events and the student's activities. No ads on this page. - `prompted/`: Prompted, a supplemental essay tracker for college applicants (plain JavaScript, no backend; everything is saved in the student's browser under `prompted:v1`). Students add schools with a plan and deadline, paste a supplement page to pull out each prompt with its word or character limit and whether it's optional (`parsePrompts` in the page), write drafts with a live count, save and restore versions, and start new essays from existing drafts. A reuse map groups similar prompts across schools by kind (Why us, academic interest, community, and so on). Backups download as JSON; all drafts download as one .txt. `prompted/schools.js` is the school library: the U.S. News 2027 top 50 national universities with their 2026–27 supplement prompts (as short summaries in our own words, with real limits), choose-N sets, college- or program-specific prompts keyed to the student's intended major, application plans and deadlines. UC campuses share one application, so they're added as a single school. Update the file each August when schools publish new prompts, and keep every prompt as a summary in your own words: don't paste schools' official prompt text into this repo, even though it's posted publicly. No ads on this page. - `e63334287a3deaa3/m/`: the phone version of the Back Room: every game (the Back Room ones plus Hype Cycle Exchange) as a tile, under the same six headings as the computer version, in the same play-time order (Cars, Shooters, Parkour, Party games, Puzzles, Arcade; `MODES`), with a row of six buttons above the lists that jump to each heading (`.gnav`), the Turkey Week switch under the title during the event (`data-turkey-switch` in the header's `.tkrow`; see `events.js`), and grouped by kind under each (each `GROUPS` row is `[kind, games, mode, 1 for the puzzle tiles]`, mode `'cars'`, `'shooters'`, `'parkour'`, `'partygames'`, `'puzzles'` or `'arcade'`, with the rows of one mode kept together; Hype Cycle Exchange is under Arcade). Puzzles starts with the small tiles (`.grid.pz`: what it is in plain words, then its name): Deepword, Trivium, the listed daily puzzles and, last, Daily Puzzles (the fifteen least played puzzles, Boxed among them, came off on 18 Nov 2026: see the Back Room page above; their thumbnails stay). The daily puzzles aren't counted as games; Deepword and Trivium are (a `1` at the end of their rows), and the Puzzles heading says "12 puzzles + 4 games". At the bottom of Puzzles, a small tab (`.ask.ask-sm`, `pzAsk`) asks "Miss a puzzle we took away, or want a new one?" with a Tell us button (`data-feedback-open="Puzzles: "`). The Daily Puzzles tile (`daily`, not counted, a whole row wide with `.pz-all` so the puzzle rows come out even) is the page with every listed puzzle and the streak; it opens in the frame like a game, and the daily games it links to open in the same frame (its `scope` is the whole Back Room folder). After the games, a "Want more games, or have an idea?" note has a Tell us button that opens the feedback bar. A game opens full screen in a frame under a thin bar with the way back, and the last one played shows at the top as Keep playing. The Leaderboards section (leaderboard.js) comes after the games. Its own look is dark; it also has a light look (the light variables at the top of its `