← 全部工具

ansiweather

热度 85 更新于 开发与构建

Weather in your terminal, with ANSI colors and Unicode symbols

homebrewauto-collected

安装

Homebrew
brew install ansiweather

通过 Homebrew 安装。

Description

AnsiWeather is a Shell script for displaying the current weather conditions in your terminal, with support for ANSI colors and Unicode symbols.

![AnsiWeather Screenshot][1]

Weather data comes from the OpenWeatherMap free weather API.

Requirements

AnsiWeather requires the following dependencies:

  • A command to fetch HTTP data such as FTP, cURL or wget
  • [jq][2] (lightweight and flexible command-line JSON processor)
  • [bc][3] (arbitrary precision numeric processing language), for doing float

arithmetic

Installation

After cloning the repository, simply invoke the script by typing:

./ansiweather

AnsiWeather packages are available for:

  • [OpenBSD][4]
  • [NetBSD][5]
  • [FreeBSD][6]
  • [Debian][7]
  • [Ubuntu][8]
  • [Homebrew][9]
  • [Haiku][10]
  • [Gentoo][11]

Usage

Synopsis

ansiweather [-l location] [-u system] [-f days] [-F] [-a value] [-s value] [-k key] [-i value] [-w value] [-h value] [-H value] [-p value] [-d value] [-v]

Options