/Wfetch

Neofetch/pfetch, but for weather

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Wfetch

Neofetch/pfetch, but for weather

Logo

oxygen rainbow-sh

contributions

Features

  • Information about the weather outside:

    1. Weather condition
    2. Temperature
    3. Humidity
    4. Pressure
    5. Wind
    6. Sunrise-sunset time
  • Cool logo for each weather condition

  • Ability to choose logos

  • See weather at different places

Requirements

Python3

Platforms

Any unix system (linux, mac, bsd, etc.)

Installation

Git

git clone "https://github.com/Gcat101/Wfetch.git"; cd ./Wfetch; sudo ./install.sh

Curl

sudo curl -s https://raw.githubusercontent.com/Gcat101/Wfetch/master/install.sh | sudo bash -s

Getting the api key (IMPORTANT)

  1. Go to OWM and click "api"
  2. Sign up
  3. Click "api keys"
  4. Create an api key
  5. Add export WEATHER_CLI_API=(your api key) to your ~/.bashrc
  6. You're ready to go!

Usage

Get the weather at your current location:

wfetch

Specify the ascii logo:

wfetch --ascii="mist"

Get the weather from a different location:

wfetch --place="London, UK"

Get the weather from a different location by ID:

wfetch --place=4674006

Get pressure in HPa units:

wfetch --hpa

Get the manual:

wfetch --help