Skip to content

linusshops/links

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

linusshops/links

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.

URLs

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.

Adding a new redirect

  1. Create a new directory: mkdir <slug>
  2. Add an index.html containing:
    <!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>
  3. Append the new short URL to the table above.
  4. Commit and push. GitHub Pages picks up the change automatically (typically <1 minute).

Why this repo exists

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.

Operational notes

  • Hosting: GitHub Pages, source = main branch, 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 a CNAME file 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.

About

Short redirect links for FortNine storefront operator workflows. GitHub Pages serves the redirect HTML.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages