Skip to content

Repository files navigation

blr-yesterday

The code that powers BLR Yesterday

Develop

  • Install dependencies with pnpm install (or npm install)
  • Start local dev server with pnpm run dev (or npm run dev)
  • Build site deployment assets with pnpm run build (or npm run build)

Configuration

The default configuration in src/lib/config.ts builds the site for BLR. To build the site for a different city, update the src/lib/config.ts file with the configuration for that city.

Data

The site serves media assets based on the contents of static/media.json and static/daily.json. The media assets are curated separately from this code repository.

Planned

  • Media integration
    • Explore view with media search
      • Search feature
      • Custom annotations
  • Map
    • Horizontal slider to compare maps side-by-side
  • Other
    • Gazette
    • Reports
    • State Archives
    • Pictures

Sources

The maps, photographs and documents have been sourced from multiple places.

Maps

The scanned maps are made available on the site using the following steps:

  1. Georeferenced using the Georeferencer plugin for QGIS.
  2. Exported to GeoTIFF format.
  3. Saved as XYZ tiles using gdal2tiles
  4. Uploaded to an R2 Bucket on Cloudflare.

If you'd like to contribute a new map, create an issue with details about the map.

The satellite imagery has been sourced from ESRI:

Photographs

The source for each photograph is shown when the photograph is viewed on the site. The full list of photographs can be found in the media.json

AI Declaration

Components of this repository, including code and documentation, were written with assistance from Claude AI.

About

The code that powers BLR Yesterday

Topics

Resources

Stars

21 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages