/wttr.sh

Simple script to get weather information using wttr.in

Primary LanguageShellMIT LicenseMIT

wttr.sh 🌤️

Simple shell script to get current weather information using wttr.in.

Usage:

Simply run the script to get weather closest to your location:

./wttr

You can also use city names with spaces like this:

./wttr New York
NYC, United States of America

      \   /     Clear
       .-.      +27(31) °C     
    ― (   ) ―   ↑ 4 km/h       
       `-’      16 km          
      /   \     0.0 mm         

You might need to give it run permissions

chmod u+x wttr

Tip: Put the script in a folder like /usr/bin so you can run it anywhere by just writing wttr