macOS
brew install ahalocal Homebrew formula metadata
sudo port install ahaMacPorts ports tree · textproc/aha/Portfile · 来源: api.github.com
安装
brew install ahalocal Homebrew formula metadata
sudo port install ahaMacPorts ports tree · textproc/aha/Portfile · 来源: api.github.com
sudo apk add ahaAlpine Linux edge package indexes · aha · 来源: dl-cdn.alpinelinux.org
sudo dnf install ahaFedora Rawhide package metadata · aha · 来源: dl.fedoraproject.org
nix profile install nixpkgs#ahanixpkgs package indexes · pkgs/by-name/ah/aha/package.nix · 来源: api.github.com
sudo pacman -S ahaArch Linux sync databases · aha · 来源: geo.mirror.pkgbuild.com
sudo zypper install ahaopenSUSE Tumbleweed package metadata · aha · 来源: download.opensuse.org
概览
ANSI HTML adapter
历史
aha, the ANSI HTML Adapter, is a small C command-line utility for turning ANSI SGR-colored terminal output into HTML. Its niche is deliberately narrow: preserve colored command output from tools such as colordiff, ls, htop, and formatted man pages so it can be posted or archived as standards-compliant HTML.
The public GitHub repository for aha began in May 2012 with an initial commit. The project has stayed close to the Unix filter model: read colored terminal text on standard input, emit HTML on standard output, and avoid runtime dependencies beyond a C compiler and make for source builds.
Version tags in the official repository show a long-lived but compact tool rather than a fast-moving framework. Notable repository tags include 0.5 in 2018 and 0.5.1 in 2020, with the README continuing to document source builds and simple shell-pipeline examples.
aha's adoption is mostly package-manager adoption: the project README explicitly documents Homebrew and conda installation, and the supplied package facts list packages in Homebrew, Debian, Fedora, Arch, MacPorts, Nix, Alpine, Ubuntu, and openSUSE ecosystems.
That distribution profile matches the tool's role: it is useful in scripts, CI logs, bug reports, and documentation pipelines where terminal color needs to survive outside a terminal emulator.
Typical usage pipes colored command output into aha and redirects the result to an HTML file. Official examples include converting aha's own help output, colordiff output, colored ls output, htop output with line-fix handling, and formatted man-page output.
For package users, the important operational detail is that aha is dependency-light and filter-shaped. It can be dropped into an existing shell pipeline without adopting a larger documentation or terminal-recording stack.
aha is the kind of package that appears small until it is missing from a packaging set: it fills the specific gap between ANSI-colored CLI output and static HTML artifacts. Its broad distro coverage makes it a handy compatibility target for scripts that need portable terminal-to-web conversion.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
aha | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:aha |
|---|---|
| 版本 | 0.5.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/aha |
| 主页 | https://github.com/theZiz/aha |
| 仓库 | https://github.com/theZiz/aha |
| 上游文档 | https://github.com/theZiz/aha#readme |
| 许可证 | LGPL-2.0-or-later OR MPL-1.1 |
| 源码归档 | https://github.com/theZiz/aha/archive/refs/tags/0.5.1.tar.gz |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | aha |
| 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 软件包链接分开显示。
aha 0.5.1-3
ANSI color to HTML converter
sudo apt install ahaaha
nix profile install nixpkgs#ahaaha 0.5.1-3build1
ANSI color to HTML converter
sudo apt install ahaaha 0.5.1-r3
ANSI color to HTML converter
sudo apk add ahaaha-doc 0.5.1-r3
ANSI color to HTML converter (documentation)
sudo apk add aha-docaha 0.5.1-16.fc44
Convert terminal output to HTML
sudo dnf install ahaaha 0.5.1-3
Ansi HTML Adapter: convert ANSI escape sequences to HTML
sudo pacman -S ahaaha 0.5.1-1.21
ANSI color to HTML converter
https://github.com/theZiz/aha/
sudo zypper install ahaaha
sudo port install aha来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.