Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit fb2ea3a889351a6ed6bf8b748b6c35ffa40d17c2
parent f0e532a02f5e303e574390b28c04a758f804fe64
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Fri, 25 Sep 2026 17:03:11 -0400

plans: release 8 slice Z — the yt-dlp command button is not a download; record + changelog

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Meditor/CHANGELOG.md | 1+
Mplans/release-8.md | 39+++++++++++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## [Unreleased] +- **The yt-dlp clip command is back on sites with transcript downloads turned off.** Turning off `transcriptDownloads` (site.json, or the hub's homepage.json) hid three buttons in the transcript viewer. One of them, the yt-dlp button, only copies a `yt-dlp --download-sections` command for a marked clip to the clipboard and serves no file, so it is not a download. It now shows on every site. The switch still hides the Download menu (txt / srt / json) and Copy MD. The site and hub form labels in the editor say so. No setting changed; a site picks this up at its next build and deploy. - **The project homepage is rewritten, and it can be deployed as a preview.** The front page of `archilyzer.pages.dev` now opens on one line and a chart. The chart shows the official instances' transcripts by the month each video was published, from 2009 to now, stacked by instance. It is drawn when the site is built, so no chart script loads. Under it is one strip of numbers for the official instances: hours of speech, transcripts, recordings, channels, instances, and recordings gone at the source but still here. The **Official instances** section has a card for each public site, with its channels, recordings, transcripts and hours. **What it does** is now three short paragraphs. The recent-acquisitions list, "How it works" and "What this isn't" are gone from the page. The homepage summary (`homepage/public/homepage-summary.json`) is version 5. It adds `monthly`, `official` and per-site numbers and removes nothing, so `/stats` is unchanged. `archilyzer deploy homepage --preview <branch>` deploys a preview the way `deploy hub --preview` does. Without the flag it still deploys to production (`main`). - **A channel's video list shows titles, and you can search by them.** On `/channels/<slug>/videos`, each row now shows the video's title, with its id in smaller type underneath. Search matches the title or the id, ignoring case. The title comes from the transcript index for transcribed videos, from the channel's metadata scan for videos that were listed but never downloaded, and otherwise from the video's `metadata.info.json`. A video none of these name shows its id, as before. Each row's selection checkbox and link are named by the id as before, and the order is unchanged (by id). - **An undownloaded video's page shows its title and details.** The video page used to show a bare id for any video without a `metadata.info.json`. If the channel's metadata scan has read the video, the page now shows its title, upload date and duration from the scan, marked *from the listing scan — not downloaded*. Any video page with a description, from either source, has a **Description** section, collapsed by default. diff --git a/plans/release-8.md b/plans/release-8.md @@ -306,6 +306,45 @@ runs there. - `KpiHeader.tsx` and `RecentAdditions.tsx` are unchanged. `/stats` still uses `KpiHeader`. The rail is unused on `/` but kept, per the brief. +### Slice Z, as shipped — the yt-dlp command button is not a download (2026-09-25) + +Branch `one-core/r8-ytdlp-button` off `main` `90a6aae6`. **The operator (2026-09-25):** "Oh no yt-dlp +stays, I was only talking about the zip downloads. Re-add ytdlp button asap and redeploy to all sites +that removed it." Release 5 slice X put three controls behind `transcriptDownloads: false`; the yt-dlp +button was one of them, though it only copies a `yt-dlp --download-sections … "<url>"` line to the +clipboard (`PlayerProvider.copyDownloadCommand`) and serves no file. All five live sites carry the flag, +so every public modal lost it. + +**What changed.** `TranscriptModal.tsx` renders the yt-dlp button, in both its states ("Mark both clip +start and end first" / "Copy yt-dlp download command for this clip"), whatever the switch says; the +Download menu and Copy MD stay behind it. Accessible names unchanged. The `siteSchema` doc for +`transcriptDownloads` (SITE.md regenerated through `bin/file-schemas-docs.ts`, `--check` clean), the +`PlayerFeatures` and `homepage.ts` comments, and the editor's site and hub form labels +(`SiteForm.tsx`, `HomepageConfigForm.tsx` — "Per-video transcript downloads (Download menu, Copy +Markdown)", hint says the yt-dlp command stays) stop claiming the switch hides it. The last four files +were outside the brief's ownership list; they are comment/label text only and no sibling r8 branch +touches them. No key, default or data format changed. The editor never mounts these controls, so no +editor spec changed; no editor spec reads the form label. + +| Commit | What | +|---|---| +| `4ca398a9` | common: the yt-dlp clip command shows with transcriptDownloads off (modal, schema doc + SITE.md, comments, form labels, both transcript-downloads specs) | +| this commit | plans: the record; `[Unreleased]` bullet | + +**Specs.** `export/e2e/transcript-downloads.spec.ts` and `export/e2e-hub/transcript-downloads.spec.ts` +now name two export controls and assert the yt-dlp button ("Mark both clip start and end first") +visible in both the default and the off case. `player-control-bar.spec.ts` copies the command on the +default (on) site and needed no change; `archives-off` and `modal-*` never name these controls. + +**Gates.** tsc (`pnpm -r … tsc --noEmit`) clean. `pnpm --filter export exec next build` OK. Export e2e +(`archives-off modal-open modal-share modal-close modal-digest transcript-downloads +player-control-bar`): 22 passed, 0 failed, 1.2 min. `e2e:hub`: 8 passed, 0 failed, 23.8 s (count +unchanged). Common/editor unit, test:scripts, mcp and the editor build were not run: the code change is +one JSX condition plus text (the brief's gate list). **Numbers: none.** + +**Pending, the parent's:** merge, then rebuild and redeploy every site that has `transcriptDownloads: +false` (all five) and the hub, from the primary. + ## Rollout 2026-09-25 (late afternoon) — `0e72ef73` live on :3001 (second restart of the day) The second editor restart of the day. Release 7 (`bb3dbb4c`) had gone live at 13:11. Two things