Skip to content

The terminal stationboard UI is a showcase application for the package OpenTransport-Client.

Notifications You must be signed in to change notification settings

minderjan/terminal-stationboard-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Stationboard UI

build

The Terminal Stationboard UI is a showcase application for the package OpenTransport-Client.

overview

Install on your System

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

Usage

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")

Compile

You can use the predefined compile commands from the Makefile. This produces several binaries for each operating system.

make compile

Run the application from sources

go run cmd/stationboard/main.go -station {station-name} -theme {theme}

Dependencies

This application was build with following dependencies: