Skip to content

haithamaouati/Weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather

The right way to check the weather.

Weather is based on wttr.in a weather client for the terminal.

$ bash weather.sh Skikda
Weather for City: Skikda, Algeria

     \   /     Clear
      .-.      10 – 11 °C
   ― (   ) ―   ↑ 11 km/h
      `-’      10 km
     /   \     0.0 mm

Usage

To use the Weather script, follow these steps:

  1. Clone the repository:

    git clone https://github.com/haithamaouati/Weather.git
  2. Navigate to the Weather directory:

    cd Weather
  3. Run the script with a specified Location:

    ./weather.sh <Location>

    Replace <Location> with the actual location you want to checking.

    bash weather.sh Skikda

Dependencies

The script requires the following dependencies:

  • figlet: Program for making large letters out of ordinary text
  • curl: Command line tool for transferring data with URL syntax
  • pv: Terminal-based tool for monitoring the progress of data through a pipeline

Make sure to install these dependencies before running the script.

Author

License

This Geolocate Bash script is open-source and available under the MIT License.

Feel free to contribute or report issues on the GitHub repository.