The scanner indexed every PNG, ICO, ICNS and the Gradle wrapper's jar and warned about each one it read as UTF-8 text (about seventy warnings per run). There is nothing in them to analyse.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SonarCloud's Automatic Analysis is off. The new `sonarcloud` job in
ci.yml runs SonarSource/sonarqube-scan-action v8.3.0 after `check`, with
the LCOV report that `check` now uploads; it never installs npm packages,
so SONAR_TOKEN never shares a job with them, and it fails with the
quality gate. Fork and Dependabot PRs skip it (no repository secrets).
sonar-project.properties analyses the tests as tests, imports the
coverage and excludes from it everything Vitest does not measure. Vitest
now also measures src/config, src/store and src/utils, next to the
engine, the Worker and the build plugins. The job passes package.json's
version as sonar.projectVersion, so the "previous version" new-code
period starts again at every release.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Regexes with super-linear backtracking (S8786 x16) are rewritten to stay
linear on long runs; each new pattern gives the same results as the old one
on 150k-450k fuzzed inputs (except where noted) and finishes adversarial
50k-character inputs in under 3 ms:
- tag-generator QUALIFIER_SUFFIX_RE starts just before a `:`/space run
(`(^|[^:\s])…` + "$1"), never inside one
- timeline-parser matches `line.trimEnd()` with a greedy label, and renders
with trimEnd(); cleanCpuName collapses whitespace before the patterns
- editor-store endings, Google Play urlPattern (lookahead for `id=`),
channel-phrase punctuation, SPDX OR/AND split, legal-docs slug and link
stripping (link text/URL may not contain `[`), base64url padding, and a
loop for trailing slashes in the worker router
Others:
- S2871: sorts take the shared code-unit comparator (same order as before;
THIRD_PARTY_NOTICES is unchanged)
- S4822: ErrorBoundary catches the logger import with .catch(), which a
try/catch never could
- S3516: migrateProfilesState returns a new object
- S7773: Number.parseInt (x10)
- S9379: Modal takes an initialFocusRef (Radix onOpenAutoFocus), so the
shortcut search box gets focus without an autoFocus attribute
- S2245: generateId drops the Math.random fallback; getRandomValues exists
everywhere the app runs, and a non-random ID is worse than an error
- S4036: NOSONAR on the dev script's `git` call (PATH lookup by design)
- S6505/S8543: every workflow installs with `npm ci --ignore-scripts`, and CI
runs `npm run cf:check` instead of `npx wrangler …`
- S6358: Android sets allowBackup="false" — app data is no longer copied to
Google Drive backups; Backup & Restore moves it to a new phone
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
React 19 passes `ref` to function components as an ordinary prop, and the
React team has said forwardRef will be deprecated in a future release.
Button, IconButton, Input, Select and Textarea become plain function
components whose props extend ComponentProps<"button" | "input" | …>,
which already carries `ref`; each passes it on (Button to both Slot.Root
and <button>; IconButton through its props to Button). Their displayName
lines go too: the function names show in DevTools.
IconButton and RigEditor import the ReactNode type instead of reaching for
the global `React` namespace.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TypeScript 7.0 is the native compiler and ships no JavaScript API, which
typescript-eslint still needs. Install both, as Microsoft documents it:
- "@typescript/native": "npm:typescript@^7.0.2" gives `tsc` = 7.0
- "typescript": "npm:@typescript/typescript6@^6.0.2" gives the 6.0 API
that typescript-eslint loads (its peer range stops below 6.1), and `tsc6`
CI fails if `tsc` ever resolves to TypeScript 6 (@typescript/old, pulled in
by the 6.0 package, ships a `tsc` too).
tsconfig.json (src):
- target ES2025: the newest year TypeScript 7.0, esbuild and Vite all know
- lib ES2022 + DOM: the browser floor (Vite's baseline-widely-available,
Chrome 111 / Safari 16.4 / Firefox 114), because nothing polyfills
- baseUrl removed (gone in 7.0; paths were already relative), DOM.Iterable
dropped (merged into DOM), `types: []` spelled out, erasableSyntaxOnly and
verbatimModuleSyntax on (both clean)
tsconfig.check.json: lib ES2025 for tests, scripts, worker and build plugins.
Platform floor: the Tauri build no longer lowers to es2020; it shares the
web build's baseline (the stylesheet already needed Chromium 99+ /
Safari 15.4+). macOS minimumSystemVersion is 11.0 (the build is arm64).
Also: eslint.config.js uses ESLint's defineConfig (tseslint.config is
deprecated); THIRD_PARTY_NOTICES names the real package behind an npm
alias, sorted with a shared code-unit comparator (src/utils/sort.ts);
Dependabot groups typescript + @typescript/*; a test's typed-array
annotation follows TypeScript 7's lib.dom.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- .node-version 22 -> 26 (CI, the release workflows and Workers Builds
read it; Workers Builds also has NODE_VERSION=26 set)
- package.json engines: node >=26
- vitest: run workers with --no-experimental-webstorage. Node 25+ defines
a global `localStorage` that is undefined without --localstorage-file;
zustand's persist only falls back to memory when reading the storage
throws, so every store `set` crashed on undefined.setItem (39 tests in
4 files). Without Web Storage the stores fall back as they did on 22.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Docs had drifted since 1.0.0: README missed the 1.1.0 features and
showed an Android step that overwrites the committed Gradle project;
ROADMAP, PACKAGING, ARCHITECTURE and TECH-SPEC still described 1.0.0;
CONTRIBUTING and the PR template listed half the gates; SECURITY named
1.0.x; CLAUDE.md's structure and gate list were out of date.
webapp/TAURI.md (Node 25, no .rpm) is folded into PACKAGING and removed.
Also: purpose-word validation documented in ARCHITECTURE, two stale code
comments (about.ts, vietnamese-banks.ts), .gitignore for the
maintainer's local note files, and the CHANGELOG entry.
Six manifests bumped 1.1.0 -> 1.2.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- THIRD_PARTY_NOTICES said the app uses the operating system's fonts; it
bundles Inter and JetBrains Mono (OFL-1.1). The Rust table claimed to
list the direct dependencies of src-tauri but only took names starting
with "tauri", so serde was missing. The generator now reads Cargo.toml's
dependency tables and fails on a crate whose license it doesn't know.
- REUSE.toml credited the Gradle wrapper to the project; it is Gradle's
("the original author or authors", Apache-2.0).
- The Privacy Policy lists the session-only ytdescgen-chunk-reload flag
next to the localStorage keys. Not a material change, so the terms
version stays 2; the Effective date moves.
- DISCLAIMER (+ vi) pointed at a THIRD_PARTY_NOTICES section by an old
heading.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A new content-warning group, AI-generated content (7): general, art /
visuals, voices, music / sound, text / dialogue, generated live while
playing, and disclosed by the developer. It follows Steam's AI
disclosure (made with AI during development vs generated live while the
game runs); machine translation stays the Language patch field.
Also simulated gambling and in-game purchases (ESRB / PEGI descriptors
with no warning so far), and a tech note for upscaling / frame-generation
artifacts (which upscaler was on is already the Video settings line).
A test now fails when a content warning or tech note has no editor label
or description bullet in _schema.json, and so in any locale; tech notes
get the group-parity test content warnings already had.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- CHANGELOG: v1.1.0 (copyright email and purpose words, Hide scrollbars,
installer copyright string, copyright-year check, the rust-toolchain pin)
- FEATURES: the four split contact lines, purpose words, the Settings row,
the profile's emails
- TECH-SPEC / ARCHITECTURE: editor store v20, hideScrollbars without a
settings bump, theme-init and App applying the scrollbar class, the new
CI step and scripts
- DEVELOPMENT (en + vi), CLAUDE.md: check:copyright / update:copyright
- I18N: 1,253 UI + 574 template keys per locale
- six manifests 1.0.0 -> 1.1.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every notice already says 2026, which is right: the first commit is from
2026-04-07, so there is no 2025 to fix and no 2025-2026 range to claim.
What was missing is anything keeping the years current.
- src/config/brand.ts: COPYRIGHT_START_YEAR and copyrightYears(), "2026"
now and "2026-2027" from the first commit made in 2027
- npm run check:copyright (CI, next to check:licenses) holds NOTICE,
REUSE.toml and the installers' copyright string to HEAD's commit year,
not the clock, so old commits stay green; npm run update:copyright
rewrites them
- tauri.conf.json gains bundle.copyright, so the .exe/NSIS, macOS and
Linux packages stop shipping an empty copyright field
- the /legal pages' footer prints the same range at build time
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Settings › Appearance › Hide scrollbars removes every scrollbar in the
app; the mouse wheel, touchpad, touch and keyboard still scroll.
- hideScrollbars setting (default off), coerced to a boolean by
healSettings; portable like the theme, no store version bump (the heal
back-fills it, and older builds can still read newer backups)
- applied as <html class="hide-scrollbars">: theme-init.js before first
paint, main.tsx at boot, an App store subscription afterwards (the
toggle, a restored backup and its undo)
- unlayered CSS beats .scrollbar-thin: scrollbar-width: none on every
element for Chromium and Firefox, ::-webkit-scrollbar for the WebKit
webviews on macOS and Linux
- labels in 8 locales
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
workflow-lint started failing on every pull request: zizmor reports
impostor-commit for dtolnay/rust-toolchain@6bed076 (# stable). The
action's `stable` branch is regenerated from master (last on 2026-10-01),
so the commit pinned from it no longer belongs to the repository's
history, and the `# stable` comment no longer matches either.
Pin 7e38f4b, the current master head (the regenerated `stable` is that
commit plus a default toolchain), in rust.yml and both release workflows.
Master keeps its history, and every step already passes
`toolchain: stable`, which master's action.yml requires.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every claim checked against the code.
- TECH-SPEC: current configs (React 19 / Vite 8 / Tailwind 4, the web vs
Tauri build), Cloudflare hosting and the Worker, store versions and
migrations, the backup format, engine rules added in 1.0, CI as it is.
- ARCHITECTURE: layers, web vs Tauri, routing and start-up, the engine,
state, backup & restore, web delivery, the hardened Tauri shell.
- PACKAGING: tauri.conf and capabilities as shipped, the eleven
name-only commands and what they guard, where desktop data lives, the
first-start recovery of pre-1.0 files, the release workflows; the
auto-update flow that never existed is gone.
- FEATURES, CONTENT-INVENTORY (+ vi): recounted from config (42 genres,
16 store entries, 22 social/donate fields, 7 cross-post platforms,
37 Vietnamese banks); shortcuts that never existed removed.
- DEVELOPMENT (+ vi): main-only branching, every npm script, Rust 1.90,
Cloudflare local dev with test keys, the Rust checks.
- I18N: both namespaces and all seven registration places, including
the check page's own language list; ROADMAP: v1.0.0 shipped + backlog.
- DISCLAIMER (vi): eight languages. The locale template script now
prints the full registration checklist; a stale comment in main.tsx
about the removed settings file is corrected.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- CHANGELOG: the v1.0.0 entry (moving house, new interface, data fixes,
backup & restore, faster entry, catalogs, desktop hardening, CI).
- README: the web app at ytgenerator.stream, what moved from GitHub
Pages, current features, privacy as it is now (Cloudflare delivery,
Turnstile, cookieless analytics on the web only), contacts by purpose;
the dead Discord invite and the old email are gone.
- docs/HOSTING.md (new): Worker routing, cookies, headers, secrets,
one-time dashboard settings, local dev, previews and rollback.
- CLAUDE.md rewritten for the real stack, layout, commands and rules.
- CONTRIBUTING / PR template / issue templates: main-only branching,
the required checks, 8 locales, Android and current versions; issue
links to security advisories, the wiki, Discord and poli0981.dev/links.
- DISCLAIMER (+ Vietnamese), NOTICE: current model disclosure and the
copyright / DMCA contacts. PRIVACY: backup locations and the moving
notice on the old address.
- Version 1.0.0 in package.json, package-lock.json, tauri.conf.json,
Cargo.toml and Cargo.lock.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
poli0981.github.io/youtube-generator still serves v0.38 to old bookmarks,
and the data people saved there can't follow to ytgenerator.stream on its
own (browser storage belongs to a site). A single static page replaces it:
- reads the ytdescgen-* stores this browser saved on the old address and
downloads them as a backup file in the new format (Settings › Restore
reads it: migrations, the preview and Undo apply as for any backup);
- points to ytgenerator.stream, in English or Vietnamese;
- noindex, canonical to the new site, and a 404 copy for old deep links.
pages-migration.yml deploys it by hand (workflow_dispatch, pinned
actions, job-scoped permissions). The page, the workflow and the
github-pages environment go on 2026-11-29.
A regression test feeds the page's exact output through the restore.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Editor:
- Quick start at the top: pick the channel profile and the game preset
(remembered per device); replacing fields that hold something else asks
first, everything offers Undo; "Update profile / preset" appears when the
editor drifts from the one in use.
- Next part (number + 1) and New video (same game) clear what belonged to
the last video: boss, timestamps, endings, pinned comment, sponsor…
Applying a preset for another game or a template does the same first.
- Start over replaces Clear Draft and keeps the channel (profile fields);
a new draft starts in the Default Output Language (it was always "en").
- A store link pasted anywhere — the page, the Game name field, another
store's field — lands in the right store field, sets the platform for a
game's first link and names the game from it (Roman numerals and
well-known possessives restored: "Final Fantasy VII", "Baldur's Gate 3").
Steam links keep their name slug and drop tracking parameters.
- Game-name suggestions from presets and history.
Catalogs:
- Stores: EA app, Ubisoft, Battle.net, Google Play, App Store, Meta Quest.
- Social: YouTube, Threads, Kick, Reddit, Bilibili; "X (Twitter)" with the
X mark; threads.net and youtu.be links accepted.
- Cross-posting: YouTube Shorts, X (counted the way X counts — CJK,
Vietnamese letters with diacritics and emoji count twice), Threads (one
topic tag), Bluesky; hashtag caps per platform.
- Banks: MBV, VCBNeo, Vikki Bank (renamed OceanBank, CBBank, DongA Bank —
saved old names get a one-click switch), Cake by VPBank, Timo.
Output:
- An empty channel name no longer leaves "…of Hades on ." — the channel
phrase is dropped per language (8 locales, every template tested).
- Title alternatives are real title shapes with the user's separator and
badge case; "Use this shape" sets them (new Title order setting:
game first / video first); over-long ones can't be copied.
- Copy All can include the tags (setting); Batch picks Part or Demo part
and continues from the editor's part number; Ctrl/Cmd+S saves the
output to History.
- Social editor headings and hints translated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Storage (desktop):
- The webview can no longer name a path. Five commands that read, wrote,
listed and deleted any path the frontend sent are replaced by name-only
commands (backups, logs) that resolve under the app data folder, and by
export/import commands that open the native dialog from Rust, so the only
file touched is the one the user picked (json/jsonl/txt/csv/md, 20 MB).
The fs and shell plugins are removed (Rust, npm, capabilities).
- The settings "mirror" file is gone: it was written next to the data
folder (a missing path separator) and never read back. On first start
the file becomes a restorable backup — never applied on its own — and
the stray log folder is merged into the right one.
- Automatic backups on desktop: after library changes (quiet 30 s, at most
every 10 min, skipped when unchanged or empty), newest ten kept, plus one
before every restore. Settings lists them with Restore.
- One tray icon, built in code with the app icon (the config entry that
could add a second, iconless one is removed).
Backup & restore (every platform):
- Format 2 files carry each section's store version; imports run the
stores' own migrations (now exported functions), then a whitelist
sanitizer: known fields and values only, editor limits, safe unique ids.
- Reads every earlier export: v0.15-v0.38 envelopes (log exports were
labelled "history"), pre-v0.15 bare arrays, the old desktop data file.
- Restore dialog: new / already here / different per item, merge (keep the
newer one, or both) or replace, section and item selection, one step,
Undo. Newer-version sections are shown, not restored.
- Settings: Back up (choose sections) / Restore / drop a file. Consent and
panel state are never exported or overwritten.
- History export as CSV (spreadsheet-safe) or JSON; logs export as "logs";
dated file names; no more 250 ms timer guessing that a picker was
cancelled.
Library:
- Templates save every editor field; presets save store link types and the
other per-game fields; profiles save donate, community links and the
custom graphics preset. Edit forms can update from the current editor,
start fresh each time they open, and save on Enter. Toasts translated.
Dev: Vite no longer watches src-tauri (cargo's locked .dll crashed
`tauri dev` on Windows).
Verified in `tauri dev` on Windows under a test identifier: legacy file
recovered, old logs merged, auto backup, restore from the legacy backup
with a backup before it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hardware
- GPU catalog rewritten with stable ids and official names: descriptions
read "NVIDIA GeForce RTX 5080", "AMD Radeon RX 9070 XT", "Apple M4 Pro"
instead of "NVIDIA RTX 5080" / "AMD RX 9070 XT" / "Apple Silicon M4 Pro".
Cards that never shipped (RX 9080, RX 9090 XT, Arc B380) are gone;
RTX 50/40/30 laptop GPUs, RX 9070 GRE, VRAM variants, Radeon/Intel
integrated graphics, handheld APUs and Apple M5 (Pro/Max/Ultra) added.
One searchable picker ("5080", "rog ally") replaces Brand › Series ›
Model, with free text for anything else.
- Old `brand|series|model` values are migrated (editor v19, profiles v3,
templates v2, and on load/import); unknown cards keep their full name.
- RAM: 24/48/192 GB, LPDDR4/4X/5/5X, optional speed ("32 GB DDR5-6000");
no DDR6/DDR7; plain "DDR"; "48GB GB" fixed; changing the size no longer
clears the type. OS: SteamOS, Bazzite, CachyOS, Nobara, openSUSE,
Fedora 43/44; Linux reads "Ubuntu 24.04 LTS". CPU: suggestions, and
Windows' "Intel(R) Core(TM) … CPU @ 3.60GHz" is tidied on blur.
- The rig block uses translated labels in a fixed order (CPU, GPU, RAM…)
in both the description and the social captions.
Tags
- Measured the way YouTube counts (quotes around multi-word tags, one
comma between): 15 of 51 real tag sets were over 500 by YouTube's count
while showing under. Counters and the limit warning use the same count.
- Trimming keeps trying shorter tags after one that doesn't fit.
- "Elden Ring Steam", "itch.io gameplay" (was STEAM / ITCHIO); no platform
tags for a publisher site; "best open world games" (was "openworld");
RPG/simulation/card pools no longer carry other genres' tags.
Timestamps
- Keywords need a word boundary: "Final Fantasy VII" stays a title (was
"Ending Fantasy VII"), "Introduction" stays whole.
- Accepts [0:00], 0:00 - label and editor frame counts; pt-BR and
Indonesian keywords; a Tidy up button; a live check of YouTube's
chapter rules (0:00 first, 3+, 10 s apart, in order).
Output and data
- History keeps one entry per video (updated in place) instead of one per
Output visit; existing duplicates are folded (history v3). The History
Limit is healed on every load.
- A field over its limit blocks only its own copy button (Copy All: title
or description); a warning when YouTube would reject "<" or ">".
- Validation: Steam /sub/, /bundle/ and s.team links, GOG/Humble/xbox.com
without www, regional Nintendo sites, Microsoft Store, Luna; social
links with www./m./twitter.com; phone, YouTube Music and
video-in-playlist links (normalised); email domains need a TLD; the live
URL is validated; no bare "#" hashtag.
- The engine takes the year from the caller; "Ending N" follows the output
language.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A new, compact interface on Radix primitives, Motion, cmdk and sonner.
Design system
- Tokens for surfaces, text, accent and states in dark and light, used
everywhere (no more hard-coded red/yellow/pink); Inter and JetBrains
Mono self-hosted; compact controls that grow to 44px on touch screens.
- Primitives rebuilt on Radix: Button, IconButton (cannot render without
a name), Field/Input/Select/Textarea (labels wired to controls; the ten
selects that shared id="type" are gone), Switch, Checkbox, Tabs,
SegmentedControl, Accordion (closed content is inert), Dialog,
AlertDialog, Sheet, Popover, Tooltip, Card, Badge, Banner, EmptyState,
PageHeader, NumberField.
- Animated icons (copy→check, sun↔moon, hover micro-motion on the nav)
that follow the OS reduce-motion setting.
App shell
- Collapsible sidebar with grouped pages and a sliding active marker;
top bar with the command palette, output/interface language, theme
and donate; on phones a bottom bar with four pages plus "More".
- Ctrl/⌘+K command palette: go anywhere, copy title/description/tags,
apply a profile/preset/template, switch theme or languages.
- Skip link, one h1 per page, <main> focusable; toasts no longer share a
corner with three other floating elements.
Pages
- Editor: two columns with a sticky live preview (tabs, counters, copy)
or a sheet on phones; sections reordered so video type and game come
first; genres are a searchable picker instead of a wall of 42 chips;
expand/collapse all; a button to the Output page.
- Output: a YouTube preview (what search results and the "…more" fold
show), language tabs, Copy All in the header (floating on phones).
- Profiles/presets/templates share one card with Apply + Undo; History,
Logs, Batch, Social, Playlist, Settings, About, Legal, the consent
screen and the error pages all use the same primitives.
Fixes
- Ctrl/⌘+Shift+C ignored the YouTube limits and Strict Mode.
- Number settings clamped on every keystroke; they now save on blur.
- Hard-coded English on Playlist, Batch, Logs, Profiles and Settings.
- Flags as language icons (Windows shows letters) → native name + code.
- The consent screen could not change language or theme.
- About: dead Discord invite removed; contact addresses by purpose.
- Desktop window is resizable (1280×820, min 960×640).
Initial load 262 KB gzip (budget 280): the command palette, the genre
list and the Output page load on demand.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>