/vbb-anybar

Let the status bar show you when to catch the train.

Primary LanguageJavaScriptISC LicenseISC

vbb-anybar

Let the status bar show you when to catch the train.

npm version dependency status ISC-licensed gitter channel

Installing

npm install -g vbb-anybar

Usage

This guide assumes you have the AnyBar app installed.

vbb-anybar needs the station where you want to catch the train and the direction, which is just the next station your train will pass. You can find them using vbb-stations-cli. To set them, run the following:

vbb-anybar init <station-id> <next-station-id>

From now on, if you call vbb-anybar (without any arguments), it will talk to the AnyBar app and set a color that tells you when to leave. You would usually run this every few seconds.

API

Usage:
    vbb-anybar
    vbb-anybar init <station-id> <next-station-id>

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.