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
To use the Weather script, follow these steps:
-
Clone the repository:
git clone https://github.com/haithamaouati/Weather.git
-
Navigate to the Weather directory:
cd Weather
-
Run the script with a specified Location:
./weather.sh <Location>
Replace
<Location>
with the actual location you want to checking.bash weather.sh Skikda
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.
- Haitham Aouati
- GitHub: github.com/haithamaouati
- Telegram: t.me/haithamaouati
This Geolocate Bash script is open-source and available under the MIT License.
Feel free to contribute or report issues on the GitHub repository.