Open source · MIT

Multimodal trip planning for any city.

opentransit turns a city's open transit data into apps people want to use: bus, cable car, shared bikes and walking in one itinerary, with live vehicles and estimated fares. No API keys, no lock-in.

The code:apiwebmobile

What it looks like, on live Bogotá data

Map-first home on the web
Map-first home on the web
Locate my bus: next buses, live vs scheduled
Locate my bus: next buses, live vs scheduled
Itinerary mixing shared bike and bus
Itinerary mixing shared bike and bus
Mobile home
Mobile home
Arrival board
Arrival board
Shared-bike stations
Shared-bike stations

What you get

Architecture

Three independent repositories, one router per city and open data as the only input. One API instance serves several cities; each city is a YAML file.

Open dataGTFSGTFS-RealtimeGBFSOpenStreetMapOpenTripPlanner 2graph + RT/GBFS updatersopentransit-apiFastAPI · PostGIS/v1/cities/{city}/…opentransit-webopentransit-mobileadmin + landing

Built on open data

Live

Bogotá, Colombia

TransMilenio, SITP and TransMiCable (GTFS + GTFS-Realtime, ~6,000 buses) and the public bike system (GBFS, 252 stations).

Add your city

One YAML, a GTFS feed and an OpenStreetMap extract. We will help you through it.

How to add a city

Repositories

Why

  • Open data

    Only public, openly licensed feeds. If your city publishes GTFS, it can use it today.

  • No lock-in

    Nothing proprietary in the path: OpenTripPlanner, MapLibre, OpenFreeMap, Photon. Every piece is replaceable by configuration.

  • Cities own it

    Each city deploys its own instance, with its brand, its panel and its data.

  • Honest with users

    Estimates are shown as estimates; unverified data as unverified.

Join in

Cities, agencies, developers and designers. Open an issue, propose a city or send a pull request.