Live data from Hacker News

Show HN: Trains.fyi – a live map of passenger trains in the US and Canada

trains.fyi

1–10 of 316 posts

Re: Show HN: Trains.fyi – a live map of passenger trains in the US and Canada

#5

I didn't know there was a trans-Canadian railroad. Did anyone try it?

I haven't tried it, because it's outrageously expensive to get a cabin with a bed, and I don't want to sit in a chair for a week.

But it's pretty famous - we even have a song about it! [1]

[1] https://en.m.wikipedia.org/wiki/Canadian_Railroad_Trilogy

Re: Show HN: Trains.fyi – a live map of passenger trains in the US and Canada

#8

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 can comment on Caltrain only, the location is available via the 511.org API.

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.

Re: Show HN: Trains.fyi – a live map of passenger trains in the US and Canada

#9

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?

thanks!

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.

Post reply on HN