About
Simple CLI for Oslo City Bike stations.
Usage
Follow the Unix philosophy and use fzf
to filter the output:
bysykkel | fzf --reverse --header-lines=3 --bind 'ctrl-r:reload(bysykkel)'
This also lets you reload the data with Ctrl-R.
You may also consider combining grep
with watch
to always know the status of
your nearest bike station.
watch --interval 5 --no-title 'bysykkel | grep Birkelunden'
You could also add it to your status bar (like i3status
or polybar
).
Installation
Check out releases for pre-built binaries.
Go
go install bysykkel.go
Homebrew
A Homebrew formula is included at Formula/bysykkel.rb.
brew tap staticaland/go-bysykkel https://github.com/staticaland/go-bysykkel
brew install bysykkel
If you watch the project (Watch → Custom → Releases) you can easily upgrade to the latest version when notified:
brew upgrade bysykkel
To uninstall:
brew uninstall bysykkel
brew untap staticaland/go-bysykkel
Build
go build bysykkel.go