TransitLab
What it is
A self-hosted, map-first GTFS Schedule editor that exports OpenTripPlanner, Valhalla and GraphHopper profiles, each valid against the MobilityData validator.
Type 0712 for 07:12:00, drag to fill, repeat a trip at an interval, add frequency windows. The timetable CSV goes through any spreadsheet and shows a preview diff before it applies.
otp keeps the model as is, valhalla and graphhopper use basic route types without air, and backup re-imports with no loss. Export is blocked on errors and allowed with warnings.
Point TRANSITLAB_BASEMAP_STYLE_URL at any MapLibre style, for example one whose source is a Tilex tileset built by TileGen, and list extra tile origins in TRANSITLAB_BASEMAP_ORIGINS.
Install
The repositories and packages are private while LocusQ is in private release. Ask for access and say which tools you need.
Build and start
Open http://127.0.0.1:4100/ and sign in with the token. Every /api route needs it.
docker build --target run --build-arg GIT_REVISION=$(git rev-parse HEAD) --build-arg VERSION=0.1.0 -t locusq-transitlab:0.1.0 .
export TRANSITLAB_ADMIN_TOKEN="$(openssl rand -base64 33)" # 32+ characters of A-Z a-z 0-9 - . _ ~ + / (optional trailing =)
TRANSITLAB_TAG=0.1.0 docker compose up -dMinimal usage
Bulk-load a long-form timetable through the API: preview first, then send the same request with mode=apply.
curl -H "Authorization: Bearer $TRANSITLAB_ADMIN_TOKEN" -H 'Content-Type: text/csv' --data-binary @bus-10.long.csv \
'http://127.0.0.1:4100/api/projects/<id>/timetable-csv?mode=preview&route_id=bus-10&direction_id=0&service_id=wk'Licence
MIT.
Product page: TransitLab. Release notes: Changelog.