Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrainBoard

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.

Install

Grab TrainBoard.zip from the latest release, then:

  1. Unzip and drag TrainBoard.app into Applications.
  2. Open it. macOS will block it (not notarized) - go to System Settings > Privacy & Security, scroll down, click Open Anyway.
  3. Launch the app once, search for your station, and set it.
  4. 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.

Build from source

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

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages