Love this project! Can you tell us a bit about what stack you used to build this? Were there easy-to-use APIs to get this data in realtime?
I built a project that predicts how late trains are based on their current location vs historical averages and posts the data to Mastodon. https://caltrain.live.
I did a quick write up about it here: https://rydercalmdown.com/projects/trains-fyi/
The hardest part was learning about GTFS-RT, which was a data format I wasn't familiar with until now.