Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/transacid/swiftbar-iceportal

A (swift|x|bit)bar display for the ICEportal
https://github.com/transacid/swiftbar-iceportal

Last synced: 14 days ago
JSON representation

A (swift|x|bit)bar display for the ICEportal

Awesome Lists containing this project

README

        

# ICEportal - a (swift|x|bit)bar display for the current ICE trip
This swiftbar plugin is a Go (and Mac) port of the [waybar-iceportal](https://cyberchaos.dev/e1mo/waybar-iceportal) plugin by [e1mo](https://cyberchaos.dev/users/e1mo/projects). When on a Deutsche Bahn ICE train it queries the onboard iceportal api and displays the upcoming station as well as the next stops, wifi quality and train speed.

![screenshot depicting a train display](screenshot.png)
## Requirements
Go
### Recomendations
I recommend to compile the binary and put it in to `~/.swiftbar/iceportal.1m.cgo` because of one external dependency for the cookiejar.

## Testing
this is more or less a WIP since I only tested against the test data provided by @e1mo. I will verify it on my next journey and upload some more test data.
To test on your own I recommend to set `local = true`. It will use the json files in `testdata/`