the book
the first version went by travel journal: three trips written into the code, each a card with a photo, a date and a google maps link. the rebuild is named after the book the trips go in, so that's what it looks like: an indian passport's navy cover with gold foil, pale security paper with a guilloche pattern, and every trip inked on a visa page as its own entry stamp in red, blue or green.
the map
you search a place with photon, which runs on openstreetmap data, or tap the map to drop a pin and it works out where that is. the map is maplibre with openfreemap tiles recoloured to the paper, and their own borders are swapped for natural earth's india point of view, so jammu and kashmir, ladakh and arunachal pradesh show whole.
one map
there's only ever one map. it's rendered once and carried from page to page, so opening a stamp flies it in to the place with its pin marked, and going back pulls it out to fit every trip. on a phone it glides from the top of the home page to the top of the entry instead of loading again, while the stamp you tapped flies into its entry.
on the device
trips, notes and photos stay on the device in indexeddb, photos resized before they're kept, with a backup file to move them. a range date picker counts the days you stayed, and it all fits every screen from a 320px phone up without a pixel of layout shift.
last updated