Short redirect URLs for FortNine storefront operator workflows. Each subdirectory contains an index.html whose only purpose is to redirect (via <meta http-equiv="refresh"> plus a JavaScript fallback) to a long destination URL. GitHub Pages serves this repo so the short URLs render in any browser without infrastructure to operate.
| Short URL | Redirects to |
|---|---|
https://linusshops.github.io/links/ |
This README |
https://linusshops.github.io/links/storefront-images |
The GCP Cloud Console image list, pre-filtered to family linus-storefront-app (project linus-web-fortnine). Used by the production rollback workflow's target_image input description to give operators a clickable shortcut to the candidate-image picker. |
- Create a new directory:
mkdir <slug> - Add an
index.htmlcontaining:<!doctype html> <meta charset="utf-8"> <title>Redirecting...</title> <meta http-equiv="refresh" content="0; url=<LONG_URL>"> <link rel="canonical" href="<LONG_URL>"> <script>location.replace("<LONG_URL>");</script> <p>Redirecting to <a href="<LONG_URL>"><LONG_URL></a>...</p>
- Append the new short URL to the table above.
- Commit and push. GitHub Pages picks up the change automatically (typically <1 minute).
Operator workflows need clickable shortcuts to long URLs (e.g., a Cloud Console deep-link with a JSON-encoded filter). Embedding the full URL in a GitHub Actions workflow input description makes the trigger UI ugly and difficult to maintain. A short redirect URL is cleaner and keeps the destination editable in one place.
This repo deliberately lives in linusshops (not a personal account or a third-party shortener) so the redirects are FortNine-owned, free, and have no external dependencies beyond GitHub itself.
- Hosting: GitHub Pages, source =
mainbranch, root directory. - Build: None - static HTML only.
- TLS: GitHub Pages serves HTTPS automatically.
- Custom domain: Not configured. Could be pointed at a subdomain on a FortNine-owned domain (e.g.,
r.fortnine.ca) by adding aCNAMEfile at the repo root and configuring DNS - left for future work if shorter URLs are wanted. - Cache: GitHub Pages edge cache TTL is short (~10 min). A destination URL change is reflected promptly once pushed.