A small, browser-only tool to generate and publish static redirect pages and OG images for skydevaaben.no. The tool lives at https://tools.skydevaaben.no and publishes to the skydevaaben GitHub repo.
generator.html (serve locally or open directly in the browser).generator.js handles validation, batch building, QR generation, and GitHub Content API writes.assets/og/<slug>.jpg and tracks/<slug>/<dest>/<utm_content>.html into the repo.skydevaaben repo.1) Open https://tools.skydevaaben.no (or open generator.html locally).
2) Fill title and destination URLs; upload a square OG image (>630px high).
3) Optional: click Use prefilled values in Channels to auto-fill utm_content defaults for the selected channels.
4) Click Preview to validate and view the full grid of combinations (validation, preview, and log panels appear above the campaign section).
5) Click Publish and paste your PAT when prompted; the tool writes the redirect HTMLs and OG image to the repo.
6) Pages URLs and QR PNGs can be copied/generated from the UI.
strikewolf76/skydevaaben on branch main.localStorage under key sv-generator-token for the origin you use (e.g., tools.skydevaaben.no).generator.html directly in a browser.MIT