All workLife Powered by Tech 2026

Travelio

1st place

A live bus tracker for Mauritius, covering 282 lines and 2,427 stops. People already on the bus share where it is, with no name attached, and everyone at the stop sees when it will arrive, marked live or scheduled.

My part
Team lead, backend and live tracking
Team
Team Black Reef, four of us
When
13 to 14 November 2026, 24 hours
Built for
Life Powered by Tech, IET Society at Middlesex University Mauritius

The problem

At most bus stops in Mauritius you can't tell when the next bus is coming. Timetables are hard to find and mostly unofficial, and traffic makes them wrong anyway. So people wait, give up and walk, or pay for a taxi. A late bus means a missed class, a missed shift or a missed Metro.

We asked three riders how they know when the bus is coming. One said "I just show up and wait." Another, asked if they'd use an app that showed the bus, said "Yeah, a hundred percent."

The brief was one working mobile app for a real problem in Mauritius, built on at least one real dataset, in 24 hours. Our theme was Powered to Move.

What I did

  • Led the team and merged everyone's work. I set up the repo, a decision log that reached 26 records by the morning, and the rule that analysis and tests pass before every push.
  • Built the live tracking. The rider's phone snaps each GPS fix to the route, smooths the speed, writes at most every 10 seconds, and ends the trip by itself at the last stop or after 90 minutes.
  • Wrote the ETA logic. Riders on the same bus count as one bus, positions older than two minutes drop out, and when nobody is sharing the app falls back to the NLTA timetable and labels the time scheduled.
  • Wrote the Firebase security rules and tested them against the emulators. A rider can only write their own position, and it has to be inside Mauritius, at a speed a bus can do, with a timestamp that isn't in the future.
  • Moved the app from Expo to Flutter on the first evening. The Dart version keeps the same database paths and rules, and a parity test checks its ETAs against numbers recorded from the old TypeScript code.
  • Added the features around the core: crowding and skipped-stop reports, a get-off alarm that vibrates and reads the stop aloud, NFC check-in, and a per-line leaderboard where you stay hidden until you choose to show up.
  • Built the release APK and cut the two-minute captioned demo video we kept as a backup on stage.

How it works

  1. 01

    A rider shares the bus

    Someone on the bus taps "I'm on the bus", picks the route and direction, and that's it. No name, phone number or account. The screen shows the next stop, lets them say how full the bus is, and stops sharing on its own at the end of the line.

  2. 02

    Everyone at the stop gets a time

    The ETA is the distance along the route to the stop divided by the bus's speed. If the bus is crawling in traffic the app uses the route's normal speed instead, so a stopped bus never shows an ETA of forever. Every time says where it came from: live, from how many riders, and how old.

  3. 03

    The bus moves on the map

    Positions are snapped to the road, so the bus stays on its route even when GPS wanders. The sheet lists every stop ahead with its own ETA.

  4. 04

    Bus and Metro in one trip

    The planner joins bus lines and the Metro Express with one change, shows the transfer stop and the time of each leg, and adds up an indicative fare.

  5. 05

    When something breaks, it says so

    Halfway through, the organisers dealt us a surprise card: real-life failure. So every important part got a fallback. No network shows the last known time and its age, never dressed up as live. No location lets you pick a stop by hand. No journey found names the nearest stop to each place.

Real data

282
Bus lines
2,427
Bus stops
21
Metro stations
3
Routes with every stop mapped
0
Paid API keys

Frequencies and first and last buses come from the official NLTA timetables. Routes 2, 1 and 203 have every stop at its real position from OpenStreetMap. For the other lines we placed stops from a third-party map of the routes and from OpenStreetMap, then dropped any direction a bus couldn't drive in its timetabled time. That makes 2,427 stops. Where we could check, on routes 1 and 203, 77% of the placed stops land within 50 m of a real one. The rest can be off by more, and the app marks those times approximate rather than pretending.

Design decisions

  • A time is only live if a rider is sending it. Timetable times say scheduled, and demo buses say SIM on every screen.
  • A rider is an anonymous ID that changes every launch. The database keeps only the latest position, never a trip.
  • The leaderboard account lives in a second Firebase app that is never linked to anyone's location.
  • No server to run. Firebase's free plan, OpenStreetMap tiles, and route data bundled in the app, so timetables and the planner work offline.
  • English, French and Kreol Morisien, with a large-text mode and light and dark themes.

Results

1st place at Life Powered by Tech 2026, the first hackathon run by the IET Society at Middlesex University Mauritius, and the first one we entered as Team Black Reef.

Before the pitch we rode bus 123 from the Flic en Flac coast road to the Middlesex stop while one of us shared it. The person waiting at Middlesex saw 9 minutes. The bus arrived 9 minutes later.

A frame from the backup demo video. Simulated GPS, labelled as such.

Built with

  • Flutter (Dart)
  • Firebase Realtime Database
  • Firebase Anonymous Auth
  • OpenStreetMap, flutter_map
  • OSRM road shapes
  • NLTA timetables
  • NFC