Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daenney/bahnboom
CLI to get Bahnhof status
https://github.com/daenney/bahnboom
bahnhof cli status
Last synced: about 2 months ago
JSON representation
CLI to get Bahnhof status
- Host: GitHub
- URL: https://github.com/daenney/bahnboom
- Owner: daenney
- License: mit
- Created: 2022-03-30T14:32:12.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-03T11:47:51.000Z (almost 3 years ago)
- Last Synced: 2024-10-20T00:39:34.631Z (3 months ago)
- Topics: bahnhof, cli, status
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🌐 Bahnboom 🧰
A CLI that reports current service disurptions and planned
maintenance for Bahnhof.
Please note that since Bahnhof does not provide an API or RSS feed with
status information this CLI does some trickery to get it from the website.
Should Bahnhof change how they publish and retrieve the data, this CLI will
likely break.## Build
Builds like any other Go project, with Go >= 1.16:
```
$ go build -o bahnboom
```## Test
```
$ go test -v
```## Usage
```
$ ./bahnboom
• 🔥 2022-03-29: Ongoing service disruption on Zitius in Eslöv
• 🔥 2022-03-30: Ongoing service disruption on Lunet in Måttsund
• 👷 2022-03-30: Scheduled maintenance on Kramfors Stadsnät in Nyland
```See `-help` for other flags.