Hey - I wrote the original code that was forked (exquisitely, I should add!) by Balena. The original code is just a Python script.
I haven’t written it up into a blog yet, but everything to get you started is on my GitHub at https://github.com/chrishutchinson/train-departure-screen. Very happy to help answer any questions too