So I got bored in the train, TerminalGV is a very simple client to display stats about your SNCF TGV/TER train in your terminal.
The “on-train” api (https://wifi.sncf) runs socket.io, you can join the namespace
/router/api/pepita and listen for events,
this script listen to theses events:
trainDetails (Stops/Time/Train infos)
Dates are converted to the
Europe/Paris timezne edit the
ui.py file to change it