macOS
brew install ansiweatherlocal Homebrew formula metadata
安装
brew install ansiweatherlocal Homebrew formula metadata
sudo apt install ansiweatherDebian stable package indexes · ansiweather · 来源: deb.debian.org
概览
Weather in your terminal, with ANSI colors and Unicode symbols
历史
AnsiWeather is a POSIX shell script that displays current weather and forecasts in a terminal using ANSI colors and optional Unicode symbols. It fetches data from the OpenWeatherMap API and formats it with small Unix dependencies such as curl or wget, jq, and bc.
The official changelog records AnsiWeather 1.00 as the initial release on 19 October 2013. Early releases added configuration files, automatic location support, wind and forecast display, daylight data, and then removed or tightened automatic behavior as API and portability needs changed.
By 2015, AnsiWeather had moved toward explicit user configuration: OpenWeatherMap API key support was added, automatic location helper behavior was removed, and the default location was changed. Later releases focused on shell portability, HTTPS API calls, delimiter changes, XDG-related configuration behavior, and display options such as UV index and feels-like temperature.
The README lists packages for OpenBSD, NetBSD, FreeBSD, Debian, Ubuntu, Homebrew, Haiku, and Gentoo. That package spread reflects a tool that fits neatly into Unix package systems: one script, common dependencies, a man-page-like README, and no daemon.
AnsiWeather is adopted mostly as a terminal utility rather than as a library. Its users are shell prompt tinkerers, status bar authors, and people who want weather output scriptable enough for cron, tmux, screenshots, or login messages.
Users run ansiweather with options such as -l for location, -u for unit system, -f or -F for forecast mode, -k for OpenWeatherMap API key, and toggles for colors, symbols, wind, humidity, pressure, daylight, UV index, and feels-like temperature.
The default config file is ~/.ansiweatherrc, and ANSIWEATHERRC can point to another file. Because the OpenWeatherMap API key can be supplied with -k or stored in that configuration file, the same documented path is both a configuration location and a likely credentials location.
AnsiWeather is a compact example of the packageable shell-script app: simple source, explicit external commands, readable config, distro package links, and enough API churn handling to show why tiny CLIs still need maintenance.
It also captures a familiar terminal era: colored output, Unicode symbols, curl pipelines, jq parsing, and personal status displays, all before needing a richer TUI or desktop widget.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.ansiweatherrc$ANSIWEATHERRCCredential-bearing paths to review before unattended agent runs.
~/.ansiweatherrc$ANSIWEATHERRC可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ansiweather | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/fcambus/ansiweather
安装元数据
| 软件包键 | brew:ansiweather |
|---|---|
| 版本 | 1.19.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ansiweather |
| 主页 | https://github.com/fcambus/ansiweather |
| 仓库 | https://github.com/fcambus/ansiweather |
| 上游文档 | https://github.com/fcambus/ansiweather#readme |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/fcambus/ansiweather/archive/refs/tags/1.19.0.tar.gz |
| macOS 提供的库 | bc-gh, jq |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ansiweather |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
ansiweather 1.19.0-1
Weather in your terminal, with ANSI colors and Unicode symbols
https://github.com/fcambus/ansiweather
sudo apt install ansiweatheransiweather 1.19.0-1
Weather in your terminal, with ANSI colors and Unicode symbols
https://github.com/fcambus/ansiweather
sudo apt install ansiweather来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.