LinuxCommandLibrary

wego

TLDR

Show 3-day forecast for current location

$ wego
copy
Show forecast for specific city
$ wego [London]
copy
Show 5-day forecast
$ wego -d [5]
copy
Show forecast for city with days
$ wego [Paris] [4]
copy
Use emoji frontend
$ wego -f emoji
copy
Output as JSON
$ wego -f json
copy

SYNOPSIS

wego [options] [location] [days]

DESCRIPTION

wego is a terminal weather client that displays forecasts using ASCII art. Written in Go, it shows temperature, wind speed and direction, visibility, and precipitation probability.
The tool supports multiple weather data backends including OpenWeatherMap. You need to register for an API key and configure it in ~/.wegorc before use.
Three output frontends are available: ascii-art-table (classic terminal look), emoji (modern icons), and json (for scripting). The display requires a UTF-8 terminal with 256 colors.

PARAMETERS

-d, --days num

Number of forecast days (1-7, default 3).
-f, --frontend type
Output frontend: ascii-art-table, emoji, or json.
-u, --units system
Units: metric or imperial.
-b, --backend name
Weather data source.
-l, --location place
Set location for forecast.
-h, --help
Display help.

CONFIGURATION

Config file: ~/.wegorc
Required: API key from weather backend. Optional: default location, units, and frontend preferences.

CAVEATS

Requires API key from weather service. Some backends no longer offer free keys. Needs UTF-8 terminal with 256 colors and appropriate fonts for ASCII art display.

HISTORY

wego was created as a fun terminal weather application. It inspired wttr.in, a web service that wraps wego and serves weather via curl, making terminal weather checks as simple as `curl wttr.in`.

SEE ALSO

curl(1), finger(1)

Copied to clipboard