Skip to content

TerminalGV is a very simple client to display stats about your SNCF TGV/TER train in your terminal.

License

Notifications You must be signed in to change notification settings

TheStaticTurtle/TerminalGV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TerminalGV

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: gps, connected_devices (Network), internet_link_quality, trainDetails (Stops/Time/Train infos)

Dates are converted to the Europe/Paris timezone edit the ui.py file to change it

SNCF Uses socketio v3 so we need to install python-socketio v4 (I used python-socketio==4.6.1) Screenshot

About

TerminalGV is a very simple client to display stats about your SNCF TGV/TER train in your terminal.

Topics

Resources

License

Stars

Watchers

Forks

Languages