https://github.com/derhuerst/vbb-anybar
Let the status bar show you when to catch the train.
https://github.com/derhuerst/vbb-anybar
berlin bvg transit transport vbb
Last synced: 4 months ago
JSON representation
Let the status bar show you when to catch the train.
- Host: GitHub
- URL: https://github.com/derhuerst/vbb-anybar
- Owner: derhuerst
- License: isc
- Created: 2016-12-29T01:41:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-02-03T00:47:15.000Z (over 7 years ago)
- Last Synced: 2025-02-12T17:08:17.911Z (over 1 year ago)
- Topics: berlin, bvg, transit, transport, vbb
- Language: JavaScript
- Size: 25.4 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# *vbb-anybar* ⏱
**Let the status bar show you when to catch the train.**
[](https://www.npmjs.com/package/vbb-anybar)
[](https://david-dm.org/derhuerst/vbb-anybar)

[](https://gitter.im/derhuerst/vbb-rest)
[](https://patreon.com/derhuerst)
## Installing
```shell
npm install -g vbb-anybar
```
## Usage
*This guide assumes you have the [AnyBar app](https://github.com/tonsky/AnyBar#anybar-os-x-menubar-status-indicator) 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`](https://github.com/derhuerst/vbb-stations-cli#vbb-stations-cli). To set them, run the following:
```shell
vbb-anybar init []
```
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.
time-to-station is an optional argument which allows you to configure a time (in minutes) for how long it takes you to get to the station. The color telling you when to leave will calculate with this time as well.
## API
```
Usage:
vbb-anybar
vbb-anybar init []
```
## Contributing
If you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/vbb-anybar/issues).