github.com/carc1n0gen/wttrbar-cr
main / published Feb 8, 2026 / repository
CLI tool for generating weather info for waybar using wttr.in - Crystal port of the original wttrbar
wttrbar-cr
CLI tool for generating weather info for waybar using wttr.in - Crystal port of the original wttrbar
Installation
- Install crystal and shards
- Clone the repo
- cd in to the repo directory
- Build the binary with
shards build - cp the binary located in
binfolder somewhere like ~/.local/bin
Usage
Usage: wttrbar [options]
--indicator=INDICATOR Set the main weather indicator (default: temp_C or temp_F based on --fahrenheit flag)
--location=LOCATION Specify the location for weather data
--vertical-view Use vertical view mode
--ampm Use 12-hour format with AM/PM
--nerd Use nerd icons for weather symbols
--fahrenheit Use Fahrenheit for temperature
--mph Use miles per hour for wind speed
--lang=LANG Set the language for output (default: en)
-h, --help Show this help message
Contributing
- Fork it (https://github.com/your-github-user/wttrbar-cr/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request