All work

Personal project2026

Long Exposure

Every place your phone remembers, in one picture.

  • JavaScript
  • Web Workers
  • MapLibre GL
  • SVG
  • Cloudflare Workers
Years of location history glowing as points on a dark world map

Screenshots use a fictional demo person, with made-up location history.

The problem

Google Maps quietly keeps a diary of everywhere you have been, sometimes for over a decade. The only way to get it out is a Timeline.json file that nobody can read, and handing it to a server means handing over your life's movements.

What I did

  1. Your Timeline file is processed locally in the browser tab, with no sign-up or upload. The finished story is saved in your browser so you can return to it.

  2. Parsing happens in a Web Worker off the main thread, turning around 190,000 raw points into the story's data in about a second.

  3. Homes are inferred from where you slept; favourite places, travel modes and weekly rhythms come out of the same pass.

  4. Reverse geocoding works offline against 31,000 world cities from GeoNames. An optional OpenStreetMap lookup sends selected coordinates to name homes and favourite places; you can skip it.

  5. The story is a single scroll: MapLibre GL for the map and hand-built SVG charts for everything else.

Making it fast and sturdy

  1. The opening text used to wait for the map style and its first tiles. Now it is written straight away, and MapLibre only loads once a story opens.

  2. MapLibre and the fonts are served from my own domain instead of unpkg and Google Fonts, so nothing from another site blocks the first paint. The preview image is AVIF, 18 KB on phones instead of 185 KB.

  3. The calendar's 3,900 day squares are built as one piece of markup per year, with three event listeners on the wall instead of three on every square.

  4. On a simulated mid-range phone, the demo's Lighthouse score went from 43 to between 75 and 90, and what it downloads went from 1.4 MB to 0.7 MB.

  5. iPhone exports now work alongside Android ones, and timelines with no trips, no time abroad or only a few recorded months no longer break the story. Every push checks that the iPhone and Android versions of the same history tell the same story.

How it turned out

A live way to look back at your own years while keeping the raw file on your device. Drop in your file and watch the map light up one year at a time, then click any day in the calendar to replay it hour by hour.