Tristramg / idfm_proxy

Repository from Github https://github.comTristramg/idfm_proxyRepository from Github https://github.comTristramg/idfm_proxy

This project manages real time data transit data for the greater Paris region.

The data comes from the official website https://prim.iledefrance-mobilites.fr/

We cache the data to allow other users to acces rapidly the data without having to login.

Data sources

  • EstimatedTimetable: all vehicles that are currently running in the SIRI Lite format
  • Stops and Lines referential: two custom CSV files
  • GTFS: theoretical timetables. We don’t use in this project, but we proxy it.

Technical stuff

  • Written in Rust
  • Using the Actix framework (both web and actors)
  • With Tera templates

The actors are organised as follows

Fetchers # Get fresh data
  - Siri # Every 90 seconds
  - GTFS # Every hour
  - LineReferential # Every hour
  - StopReferential # Every hour
States # Central repository for data
  - Templates # Html stuff
  - PublicTransitData #
Sessions # All the connexions
  - CentralDispatch # Knows every who’s watching a page
  - SessionActor # One for every browser following a page

About

License:Do What The F*ck You Want To Public License


Languages

Language:Rust 76.4%Language:HTML 21.9%Language:CSS 1.6%