Back to About

    Specs

    A living inventory of what Levantrain is built on: open-source libraries, AI tools used to build and run it, and external data sources. Expect this to fill in as the site grows.

    Last updated: July 2026.

    Foundation

    Backend & infrastructure

    • Database, email/password auth, row-level security, media storage, and Edge Functions (blog OG images, RSS feed)
    • Cloudflare Workers runtime
      commercial
      Serverless edge runtime for SSR and server functions
    • MIT
      Package manager and JavaScript runtime

    External data sources

    • Base map tiles for the interactive station/route maps
    • Curated primary sources
      various
      Historical station and route data compiled by hand from archival maps, timetables, and secondary literature — see /resources for the reading list

    Data pipeline & georeferencing

    • The data-consolidation pipeline that turns archival sources into the published dataset and Supabase
    • MIT-CMU (HPND)
      Reads and tile-crops very high-resolution historic map scans for close reading and georeferencing
    • BSD-3-Clause
      Numerical arrays for image and geometry processing
    • BSD-3-Clause / MIT
      Writes georeferenced GeoTIFFs of historic maps from ground-control points
    • Queries surviving and disused railway geometry to trace historic corridors onto the map
    • Custom georeferencer & corridor matcher
      open (ODbL data)
      Our own pure-Python georeferencing (map pixels to coordinates from graticule control points; affine + thin-plate-spline, leave-one-out validated) and a shortest-path OSM corridor matcher, with a coarse-to-fine tool for reading map scans

    AI tools

    • commercial
      AI-assisted product development environment
    • AI software architect and pair-programmer — planning, data modeling, implementation, and code review — and reading, transcribing, and georeferencing historic map scans

    Quality & tooling

    • Unit and component test runner
    • Apache-2.0
      End-to-end test runner (auth, blog, and admin flows)
    • ESLint + Prettier
      MIT
      Lint and format