The Terminal Stationboard UI is a showcase application for the package OpenTransport-Client.
You can install the application by sources or download a compiled binary form the release page. Download the Repository, navigate to the root folder and run:
make install
You have to provide a valid station name or id which exists on Swiss Public Transport API. Optionally you can choose an alternative theme.
Usage of stationboard:
-station string
Name or the id of a station
-theme string
blue, light, dark (default "dark")
You can use the predefined compile commands from the Makefile. This produces several binaries for each operating system.
make compile
go run cmd/stationboard/main.go -station {station-name} -theme {theme}
This application was build with following dependencies: