Web application restoration · August–November 2026

Santa Tracker 2015 restoration

Ongoing

An independent, nostalgia-driven restoration of Google's 2015 Santa Tracker, designed to follow the live seasonal tracking feed rather than simply reproduce an archived interface. The challenge is to keep a decade-old web application working in modern browsers, replacing obsolete dependencies and services while retaining the original interface, artwork and gameplay.

JavaScriptPolymerGulpMapLibre GL JSPMTilesOpenStreetMapPowerShellCloudflare WorkersApacheWindows ServerGrafana k6

Rebuilding legacy software

Starting with the archived source and its Polymer/Gulp build pipeline, I worked through compatibility problems using AI-assisted development, browser developer tools and hands-on testing. I adapted the build process to include replacement dependencies and locally hosted assets, rather than rewriting the application from scratch. I also traced JavaScript exceptions, broken external requests, resource-loading failures and scene-specific behaviour across the application.

Replacing the mapping dependency

I developed a compatibility approach using MapLibre and PMTiles in place of the legacy Google Maps integration. A local world vector-tile archive of approximately 43 MB, covering zoom levels up to 6, was extracted and verified, then included alongside the mapping libraries in the generated site build. This reduces reliance on external map tile services. The map styling was adapted to retain the original tracker aesthetic, including land and ocean colours, boundaries and zoom-dependent labels.

Different scenes needed different map behaviour. In the Mercator geography game, I restored the original-style map, draggable country polygons and level progression, and prevented the tracker's gift markers from appearing in the game. This required isolating tracker-specific logic within the shared compatibility layer.

Game-by-game testing and JavaScript remediation

I manually tested every game in the original village, investigating failures individually and making targeted fixes rather than assuming a successful build meant every scene worked. I used browser console messages and network requests to identify errors, retested affected interactions after changes, and checked that shared fixes did not interfere with other scenes.

  • Codelab, Code Boogie and Translations: compatibility fixes and functional retesting.
  • Present Bounce: verified that gameplay worked as intended.
  • Mercator: restored map rendering, country interaction and level progression.
  • City Lights: repaired image selection, viewer compatibility and panorama behaviour across its ten locations.

I also checked the Command Centre and Traditions. Some historical features and external integrations may still be incomplete.

Live tracking through an API compatibility layer

I developed a Cloudflare Worker that acts as an adapter between Google's official Santa Tracker API and the original 2015 frontend. The Worker retrieves upstream tracking data and translates the modern response into the legacy data format that the 2015 application expects. This lets the restored interface consume the live seasonal tracking feed without requiring a complete rewrite of its original tracking logic.

Rather than replaying an old route, the restored tracker is designed to use Google’s current seasonal feed when it is available. The route dataset contains 420 destinations.

I tested location detection and simulated Christmas tracking, investigated rendering issues and prepared changes to the Advent calendar's release dates and direct-route locking for the 2026 season. I have tested simulated tracking, but not a complete live Christmas Eve event.

Restoring visual assets

For City Lights, I worked on deterministic thumbnail mappings, cache-busting and replacement panorama geometry, using spherical, partial-panorama and planar viewers according to the available source imagery. I checked image loading and decoding, and investigated failures under different cache conditions.

In November I developed a PowerShell-assisted local photograph recovery workflow to identify missing city images and retrieve replacement candidates. The workflow preserves backups and separates candidate retrieval from approval, so location accuracy and licensing can be reviewed before publishing.

Apache security hardening

The application is self-hosted using Apache on Windows Server and published through Cloudflare Tunnel. I reviewed the origin configuration to reduce unnecessary exposure while preserving the behaviour of the legacy application. I limited server-version disclosure with ServerTokens Prod and ServerSignature Off, disabled HTTP TRACE, directory indexing and unnecessary per-directory configuration overrides, and restricted direct network access to the origin.

I moved Apache from the SYSTEM account to a dedicated service identity, tightened NTFS permissions and removed backup files from the public document tree. During this work, I resolved an HTTP 403 caused by insufficient service-account permissions. I also configured response headers to restrict framing to the same origin, prevent MIME-type sniffing and restrict embedded objects, while retaining the application's own iframe-based scenes.

In November 2026, I further reduced the loaded Apache modules from 24 to 11 and disabled unused CGI functionality. I backed up the configuration, validated its syntax, restarted the service and confirmed that the local site still returned HTTP 200. These changes reduce the exposed attack surface; they do not eliminate the risks of running legacy software on an older operating system.

Diagnosing worker exhaustion and tuning Apache

During the October performance investigation, Apache's error logs showed nine historical AH00326 events indicating that all available worker threads had been occupied. The Windows mpm_winnt configuration was using 64 worker threads. I increased ThreadsPerChild from 64 to 256, checked the configuration syntax and restarted Apache. Its startup log (AH00354) confirmed that 256 worker threads were running. I then checked the site's availability and repeated the load testing.

The change quadrupled the configured worker-thread count, giving the origin more capacity to handle concurrent requests, including partial-content reads from the local map archives. I made this change because the logs showed that Apache was running out of worker threads.

Origin performance and load testing

I used Grafana k6 to test the private Apache origin directly from a separate machine, bypassing Cloudflare's public edge and cache. The scripted workload simulated homepage requests and 64 KiB HTTP byte-range reads from locally hosted PMTiles archives, checking HTTP 200 responses for the homepage and HTTP 206 partial-content responses with a Content-Range header for map data. The test plan used progressively higher loads of 10, 50, 100, 250 and 500 virtual users.

Following the worker-thread adjustment, the recorded October 2026 run with 500 virtual users showed that the origin handled 4,972 HTTP requests with a 0% HTTP request failure rate. Mean response time was approximately 252 ms, with a median of 2.75 ms and a 95th-percentile response time of 2.63 seconds. Some requests took considerably longer than the average under load.

This was a synthetic origin-server test, not 500 real visitors. It did not measure browser rendering, the live API, Cloudflare delivery or maximum production capacity.

I use staged builds, backups, syntax checks and browser testing during maintenance. The restoration is ongoing, and some legacy components may still have compatibility or security issues.

Google created the original application, artwork and games. This is my independent preservation and restoration project, not an official Google service. My contribution is the compatibility engineering, testing, asset restoration, automation and hosting.