An independent public transport project
How I built
Transitly.
When I'm waiting for a tram, I want to know when the next one leaves and where that estimate comes from. That's the question I built Transitly around.
Din Mulajusufović Project creator
- TimetableRoutes, stops and scheduled departures
- Live dataPositions and updates reported by the source
- TransitlyMap and departures
What you can check in Transitly
For journeys in Zagreb, open the ZET bus and tram map. Find your route, direction and stop, then see the vehicle positions ZET reports live and the next departures.
For train journeys, use the HŽPP departure and arrival search. Choose your stations, date and time. When HŽPP reports a delay, Transitly shows the estimate with the delay included and the original departure time.
What happens behind the map
For Zagreb buses and trams, I start with static GTFS. It contains stops, routes, paths and scheduled times. GTFS Realtime supplies another layer. When the source sends a vehicle position or a departure update, Transitly can match it to the route and show it in the app.
The map labels timetable departures Scheduled and departures with a source update Live. If the source data arrives late, the app's display will lag too. Check the operator's notices for service changes.
The interface uses React and TypeScript. I draw the map with Leaflet and OpenStreetMap tiles, and the server runs on Node.js and Express. A separate train view shows connections and transfers using data from HŽPP. I run the project independently of ZET and HŽPP.
Who owns the code, map and data?
I keep my original code, copy and graphics for Transitly separate from third-party materials. Git records changes to the code, and I keep notes on sources and licences with the project. Get in touch if you'd like to republish my work or use the logo in another project.
- Map
- The map credits © OpenStreetMap contributors. That page also explains licensing and attribution.
- Transport
- Timetables and vehicle data come from transport operators. Check each source's terms before reusing its data.
- Libraries and icons
- I use third-party libraries such as Leaflet and Lucide icons under their licences. Their authors retain their respective rights.
For permission requests or to report disputed content, email [email protected] with a link and the name of the material in question.
Who's behind the project
I'm Din Mulajusufović. I build and run Transitly. If something on the map doesn't match what you see, send me the route number, stop and approximate time. I can check what the source sent and how Transitly displayed it.
Get in touch