One server (closed source) serves the map (this repo: a static Svelte 5 build), the JSON API and a GTFS-Realtime feed, and runs the pollers.
- Live map. Every running vehicle with its delay, moving along the road between two position fixes.
- Stops and trips. Departure boards, day timetables, and a trip's timeline with its route on road geometry.
- Connection search. From a stop, an address or a point on the map, with transfers, live delays, walking times along footpaths and the alternative routes drawn on the map.
- Line view. A line's two directions as a stop diagram with its vehicles on it.
- Fleet (
/brygady). Vehicles of MZK Bielsko-Biała and Metropolia GZM by model, punctuality through the day, each vehicle's past courses.
![]() |
![]() |
![]() |
![]() |
Needs Node.js 24+.
npm install npm run dev # map on :8080 (Vite), /api proxied to map.unisic.app (KB_API_URL) npm run build # static build in out/
Checks: npm run typecheck && npm run lint && npm test.
| Endpoint | |
|---|---|
/api/vehicles |
live vehicles with delays |
/api/gtfs-rt.pb |
GTFS-Realtime VehiclePositions (Bielsko-Biała) |
/api/stops |
stop list |
/api/stop/:id/departures, /api/stop/:id/timetable |
departures, day timetable |
/api/line?name= |
a line's stop patterns and departures |
/api/connections?from=&to= |
connection search |
/api/fleet, /api/fleet/:side |
fleet list, one vehicle's card |
/api/health |
status and scan counters |
List endpoints take ?city=<slug> (gzm, warsaw, …, see lib/shared/cities.json); without it they answer
for Bielsko-Biała.
Independent project, not affiliated with any operator.
- Komunikacja Beskidzka: komunikacjabeskidzka.kiedyprzyjedzie.pl
- MZK Bielsko-Biała: rozklady.bielsko.pl
- Metropolia GZM: ZTM / Metropolia GZM (CC BY), plus SDIP
- Other cities: each operator's GTFS and vehicle positions, via zbiorkom
- Map: © OpenStreetMap contributors, tiles by OpenFreeMap; routing: OSRM; address search: Photon
- Vehicle photos: phototrans.eu, each credited to its author
What the app keeps about you: /prywatnosc (Polish).
GPLv3 or later. See LICENSE.




