Skip to content
Simple command line weather
Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
wethr

README.md

wethr

Simple command line weather.

Features

  • caches weather data (for 1 hour by default).
    • you could even check the weather conditions off-line after caching them once, albeit with accuracy degradation
  • caches the results of jq execution
  • most of the display logic is handled by plot
  • POSIX (probably, need to do more testing)
  • supports multiple weather backends
    • display average data accross all backends

Installation

Requirements

Environment

You must also obtain an api key for the backend you want to use

DarkSky has more detailed data available for the free tier.

In addition, you need to know your current location in coordinates.

  • look it up
  • a small cli latlon

Usage

wethr 0.4.0
USAGE:
  wethr [-a|-b<backend>] [-f] [-d<data>[-d<data>[...]]]

OPTIONS
  -a - average all cached data
  -c - cache only, don't display anything
  -b darksky|openweathermap|weatherbit - select backend to use
  -d <DATA> - add data to the output
  -f - force redownloading of cached data
  -p <OPTS> - pass along OPTS to plot(1)

DATA:
clouds, c
dew_point, dp
feels_like, f
humidity, h
ozone, o
precip_amnt, pa
precip_prob, pp
pressure, pr
temp, t
uv, u
visibility, v
wind_dir, wd
wind_gust, wg
wind_speed, ws

ENVIRONMENT
  COORDS - lattitude,longitude
    coordinates to fetch the weather for
You can’t perform that action at this time.