Swiss-first public transport route search with an optional Europe mode (rail + beta flight/bus suggestions).
Live: https://tramkompass.ch/tramkompass
GET /tramkompassGET /tramkompass/stops?query=...GET /tramkompass/search?...GET /tramkompass/search-eu?...- Legacy redirects:
/transit,/transit/stops,/transit/search
- Backend: FastAPI (
server/app.py) - Frontend: single-page HTML (
web/transit.html) - Optional Next route prototype:
next-api/transit/route.js
transport.opendata.chdata.bs.ch(dataset100065)router.project-osrm.org- OpenStreetMap / Leaflet
- Coordinate handling is normalized because transport providers occasionally swap axis order.
- Basel accessibility overlays are route-aware (only stops used by candidate legs).
- Europe mode currently mixes live rail with synthetic flight/bus options (clearly marked beta).