Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/transacid/swiftbar-iceportal
- Owner: transacid
- Created: 2024-11-10T13:14:40.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-10T13:27:53.000Z (about 2 months ago)
- Last Synced: 2024-11-10T14:26:48.521Z (about 2 months ago)
- Language: Go
- Size: 178 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/`