A live train departure board as a native macOS desktop widget. Amber-on-black, styled like the real thing: time, destination, platform, and expected columns, with delayed and cancelled trains colour-coded. Departed trains drop off the board on the minute.
Supports two networks, switchable in the app:
- UK Rail - live Darwin-backed departures from traini.ac (no API key needed), falling back to the public Huxley2 proxy
- Caltrain - live predictions from caltrain.com's own feed (no API key needed), with an optional 511.org fallback
UK data is served by traini.ac, built by Alistair (@alistaiir) - cheers Ali.
Grab TrainBoard.zip from the latest release, then:
- Unzip and drag
TrainBoard.appinto Applications. - Open it. macOS will block it (not notarized) - go to System Settings > Privacy & Security, scroll down, click Open Anyway.
- Launch the app once, search for your station, and set it.
- Right-click the desktop > Edit Widgets > search "Train Board" and add the widget. If it doesn't show in the list, log out and back in.
The app window is just settings - the widget runs on its own, app closed or not.
Needs Xcode and XcodeGen (brew install xcodegen). First copy Shared/Secrets.example.swift to Shared/Secrets.swift and set a free 511.org key (only used as the Caltrain fallback; any placeholder string builds fine). Then:
xcodegen generate
xcodebuild -project TrainBoard.xcodeproj -scheme TrainBoard -configuration Release -derivedDataPath build build
cp -R build/Build/Products/Release/TrainBoard.app /Applications/Made by @joseph_moylan2