Skip to content

Bus Tracker is a public transit vehicle monitoring app providing real-time information for many transit networks in France.

License

Notifications You must be signed in to change notification settings

kevinbioj/bus-tracker-2

Repository files navigation

Logo

Quality Gate Status Discord

Bus Tracker is an application for tracking public transport vehicles that leverages open data published by transport authorities and operators.

As of March 2025, it is available in most of the biggest French transit networks and tracks over 8k vehicles every day.

Links

How to run

Before running the project, please ensure:

  • you have Docker Engine on your machine
  • you run a decent version of Node (22+ preferrably)
  • you have installed pnpm's wrapper (corepack enable)

Now, to run the project:

  1. Start the compose services: docker compose up -d
  2. Start the server app: pnpm dev:server
  3. Start the client app: pnpm dev:client
  4. Start one or more providers (e.g.: pnpm dev:gtfs configurations/rouen-astuce.mjs)
  5. Head to http://localhost:3000

Tech architecture

Since the late 2024 rewrite, the app now uses Redis as a pub-sub mechanism for providers to send their data to the core server, whose responsibility is to aggregate and publish data to the end users.

Architecture diagram

Around the app

These components are involved in Bus Tracker in some way:

License

This app is licensed under the General Public License 3.0, please refer to LICENSE for any more information.

About

Bus Tracker is a public transit vehicle monitoring app providing real-time information for many transit networks in France.

Topics

Resources

License

Stars

Watchers

Forks

Packages