Skip to content

About

Public Christmas countdown.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Countdown to Xmas

Simple Javascript program that counts down to the next Christmass!

This repository holds the static site and thin Cloudflare Worker for Almost Christmas. Production is https://xmas.soholocal.nl (Worker + custom domain). See docs/Development.md for local run, tests, and release notes.

Layout

The site stays at the repository root (index.html, script.js, style.css, og-image.png). Wrangler uploads that tree via assets.directory. .assetsignore keeps Worker config, tests, scripts, docs, npm metadata, and repo markdown out of the public asset bundle.

Run locally

Requires Node.js >= 22.

npm install
npm run check   # wrangler deploy --dry-run — packages the Worker, does not publish
npm run dev     # http://127.0.0.1:8787

npm run dev and npm run check do not publish to production. Use your normal release path for deploys to xmas.soholocal.nl.

License

Noncommercial use only, under the PolyForm Noncommercial License 1.0.0 (SPDX: PolyForm-Noncommercial-1.0.0). See LICENSE and NOTICE. Commercial use needs a separate paid license. Trademarks and domain names stay with a4ds5t.

Hostnames

index.html, sitemap.xml, and robots.txt use the canonical origin https://xmas.soholocal.nl/. Both custom domains xmas.soholocal.nl and almost-xmas.soholocal.nl map to the same Worker (xmas-countdown) and serve the same assets (no inter-host 301), so document TTFB stays a single edge fetch on either host.

About

Public Christmas countdown.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages