Files
youtube-generator/migration-page/404.html
T
poli0981andClaude Opus 5.5 dc8fc396f1 ci(pages): moving notice on the old GitHub Pages address
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>
2026-09-30 22:33:29 +07:00

56 lines
2.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noindex" />
<meta name="color-scheme" content="dark light" />
<title>YTDescGen has moved to ytgenerator.stream</title>
<meta
name="description"
content="YTDescGen now lives at ytgenerator.stream. Download the data you saved here and restore it there."
/>
<link rel="canonical" href="https://ytgenerator.stream/" />
<link rel="stylesheet" href="/youtube-generator/style.css" />
<script src="/youtube-generator/app.js" defer></script>
</head>
<body>
<main class="card">
<p class="brand">YTDescGen</p>
<h1 data-i18n="title">YTDescGen has moved to ytgenerator.stream</h1>
<p data-i18n="lead">
The app now lives at its own address. Everything you saved on this old address — profiles,
presets, templates, history, settings — stays in this browser, so bring it along in two
steps.
</p>
<ol class="steps">
<li>
<strong data-i18n="step1">Download your data</strong>
<p id="found" class="muted" data-i18n="searching">Looking for saved data…</p>
<button id="download" type="button" disabled data-i18n="download">
Download my data
</button>
</li>
<li>
<strong data-i18n="step2">Restore it on the new site</strong>
<p class="muted" data-i18n="step2Hint">
Open Settings › Backup &amp; restore, choose Restore and pick the file — or drop it
there. You'll see what's new before anything changes.
</p>
<a class="button primary" href="https://ytgenerator.stream/settings" data-i18n="open">
Open ytgenerator.stream
</a>
</li>
</ol>
<p class="muted small" data-i18n="notice">
This page stays until 29 November 2026. The desktop and Android apps aren't affected.
</p>
<p class="small">
<button id="language" type="button" class="link" data-i18n="switch">Tiếng Việt</button>
</p>
</main>
</body>
</html>