TfL arrivals.

I commute to an office in central London a couple of times a week. Somehow I always arrive at the station just as my train is leaving. Transport for London have an open data API, so I thought it’d be fun to solve my problem by replicating the LED display from the station platform on my desktop.

Next 3 arrivals at Shoreditch High Street

I’ve also been interested in deploying Kotlin Multiplatform beyond the typical Android/iOS use case, so this was a good excuse to experiment. The first UI target is a macOS status bar app built using SwiftUI. It turned out to be pretty seamless. The most challenging part of the whole project was configuring GitHub Actions to sign and notarise the macOS binary.

Now I can quickly check train times before I pack up for my 5 minute walk to the station. If you want to try it out, you can download Arrivals on GitHub.