{"id":15592099,"url":"https://github.com/derhuerst/vbb-anybar","last_synced_at":"2026-03-05T08:30:23.124Z","repository":{"id":57390991,"uuid":"77573145","full_name":"derhuerst/vbb-anybar","owner":"derhuerst","description":"Let the status bar show you when to catch the train.","archived":false,"fork":false,"pushed_at":"2019-02-03T00:47:15.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T17:08:17.911Z","etag":null,"topics":["berlin","bvg","transit","transport","vbb"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derhuerst.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-29T01:41:24.000Z","updated_at":"2020-12-30T03:04:34.000Z","dependencies_parsed_at":"2022-09-16T13:10:26.073Z","dependency_job_id":null,"html_url":"https://github.com/derhuerst/vbb-anybar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fvbb-anybar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fvbb-anybar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fvbb-anybar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fvbb-anybar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derhuerst","download_url":"https://codeload.github.com/derhuerst/vbb-anybar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239889024,"owners_count":19713702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["berlin","bvg","transit","transport","vbb"],"created_at":"2024-10-02T23:54:40.273Z","updated_at":"2026-03-05T08:30:23.059Z","avatar_url":"https://github.com/derhuerst.png","language":"JavaScript","funding_links":["https://patreon.com/derhuerst"],"categories":[],"sub_categories":[],"readme":"# *vbb-anybar* ⏱\n\n**Let the status bar show you when to catch the train.**\n\n[![npm version](https://img.shields.io/npm/v/vbb-anybar.svg)](https://www.npmjs.com/package/vbb-anybar)\n[![dependency status](https://img.shields.io/david/derhuerst/vbb-anybar.svg)](https://david-dm.org/derhuerst/vbb-anybar)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-anybar.svg)\n[![gitter channel](https://badges.gitter.im/derhuerst/vbb-rest.svg)](https://gitter.im/derhuerst/vbb-rest)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install -g vbb-anybar\n```\n\n\n## Usage\n\n*This guide assumes you have the [AnyBar app](https://github.com/tonsky/AnyBar#anybar-os-x-menubar-status-indicator) installed.*\n\n`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:\n\n```shell\nvbb-anybar init \u003cstation-id\u003e \u003cnext-station-id\u003e [\u003ctime-to-station\u003e]\n```\n\nFrom 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.\n\ntime-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.\n\n\n## API\n\n```\nUsage:\n    vbb-anybar\n    vbb-anybar init \u003cstation-id\u003e \u003cnext-station-id\u003e [\u003ctime-to-station\u003e]\n```\n\n\n## Contributing\n\nIf 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).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fvbb-anybar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderhuerst%2Fvbb-anybar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fvbb-anybar/lists"}