Simple CLI for Oslo City Bike stations.
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
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
go install bysykkel.go
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
brew uninstall bysykkel brew untap staticaland/go-bysykkel
go build bysykkel.go