/bahnboom

CLI to get Bahnhof status

Primary LanguageGoMIT LicenseMIT

🌐 Bahnboom 🧰

A CLI that reports current service disurptions and planned maintenance for Bahnhof.

Build Status License: MIT

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.