Skip to content
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
- SSR-friendly React app shell and file-based routing
- MITUI runtime
- MITBuild tool and dev server
- Apache-2.0Typed codebase — strict type-checking is being rolled out (some files still opt out)
- Styling via semantic tokens in src/styles.css
- Server-state cache and loaders
- Accessible component building blocks
- ISCIcon set used throughout the UI
- Form state and schema validation
- MITRich-text editor for blog posts in the admin
- MPL-2.0 / Apache-2.0Sanitizes rich-text HTML before render
- BSD-2-Clause / MITInteractive maps of stations and routes
Backend & infrastructure
- Apache-2.0 + hostedDatabase, email/password auth, row-level security, and media storage
- Cloudflare Workers runtimecommercialServerless edge runtime for SSR and server functions
- MITPackage manager and JavaScript runtime
External data sources
- ODbLBase map tiles for the interactive station/route maps
- Curated primary sourcesvariousHistorical station and route data compiled by hand from archival maps, timetables, and secondary literature — see /resources for the reading list
Data pipeline & georeferencing
- PSFThe 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-ClauseNumerical arrays for image and geometry processing
- BSD-3-Clause / MITWrites 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 matcheropen (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
- commercialAI-assisted product development environment
- commercialAI software architect and pair-programmer — planning, data modeling, implementation, and code review — and reading, transcribing, and georeferencing historic map scans
Quality & tooling
- MITUnit and component test runner
- Apache-2.0End-to-end test runner (auth, blog, and admin flows)
- ESLint + PrettierMITLint and format