macOS
brew install ansifilterlocal Homebrew formula metadata
sudo port install ansifilterMacPorts ports tree · textproc/ansifilter/Portfile · ソース: api.github.com
brew
ansifilter のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install ansifilterlocal Homebrew formula metadata
sudo port install ansifilterMacPorts ports tree · textproc/ansifilter/Portfile · ソース: api.github.com
sudo apk add ansifilterAlpine Linux edge package indexes · ansifilter · ソース: dl-cdn.alpinelinux.org
sudo apt install ansifilterDebian stable package indexes · ansifilter · ソース: deb.debian.org
sudo dnf install ansifilterFedora Rawhide package metadata · ansifilter · ソース: dl.fedoraproject.org
nix profile install nixpkgs#ansifilternixpkgs package indexes · pkgs/by-name/an/ansifilter/package.nix · ソース: api.github.com
sudo zypper install ansifilteropenSUSE Tumbleweed package metadata · ansifilter · ソース: download.opensuse.org
概要
Strip or convert ANSI codes into HTML, (La)Tex, RTF, or BBCode
履歴
ansifilter is a small command-line converter for text containing ANSI terminal escape sequences. It can strip escape codes or interpret them into formatted output such as HTML, RTF, TeX, LaTeX, BBCode, Pango Markup, and SVG.
The official changelog starts with ansifilter 0.1 on 25 October 2007. Early releases focused on terminal color escape handling, including xterm 256-color support by 1.0 in 2008 and license migration from GPLv2 to GPLv3 in 2009.
The tool gradually expanded from a filter into a format bridge. LaTeX, TeX, BBCode, Pango, SVG, true color, OSC 8 hyperlinks, and ANSI-art formats were added over time, while the README documents a single CLI that can read stdin or files and produce multiple markup formats.
ansifilter appears in many Unix package managers because it solves a packaging-adjacent problem: converting colorized CLI output into archival or publishable text. Its changelog references contributions and fixes from distro and user communities, including Portage warning fixes, shell completion scripts, and issues from both its older GitHub tracker and current GitLab tracker.
Typical use is pipeline-oriented: pass colorized command output through ansifilter to strip ANSI escapes, or choose an output format such as --html, --latex, --rtf, --svg, or --bbcode. The README also documents --tail for following log files and ANSIFILTER_OPTIONS for default CLI options.
For package users, ansifilter is a handy companion to grep, test logs, CI logs, terminal captures, and ANSI-art files. It is deliberately not a credentials-bearing tool and has no documented default config file.
Package nerds care about ansifilter because it lives at the boundary between terminals and documentation. It turns the color and formatting conventions emitted by Unix commands into artifacts suitable for web pages, bug reports, manuals, and forums without dragging in a full terminal emulator.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
ansifilter | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
http://andre-simon.de/doku/ansifilter/en/ansifilter.php
インストールメタデータ
| パッケージキー | brew:ansifilter |
|---|---|
| バージョン | 2.22 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/ansifilter |
| ホームページ | http://andre-simon.de/doku/ansifilter/en/ansifilter.php |
| リポジトリ | https://gitlab.com/saalen/ansifilter |
| 上流ドキュメント | http://andre-simon.de/doku/ansifilter/en/ansifilter.php |
| ライセンス | GPL-3.0-or-later |
| ソースアーカイブ | https://gitlab.com/saalen/ansifilter/-/archive/2.22/ansifilter-2.22.tar.bz2 |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ansifilter |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
ansifilter 2.21-1
parse common (terminal) ANSI codes and remove or convert them
http://andre-simon.de/doku/ansifilter/en/ansifilter.php
sudo apt install ansifilteransifilter-gui 2.21-1
parse common (terminal) ANSI codes and remove or convert them (GUI)
http://andre-simon.de/doku/ansifilter/en/ansifilter.php
sudo apt install ansifilter-guiansifilter
nix profile install nixpkgs#ansifilteransifilter 2.18+dfsg1-2build2
parse common (terminal) ANSI codes and remove or convert them
http://andre-simon.de/doku/ansifilter/en/ansifilter.php
sudo apt install ansifilteransifilter-gui 2.18+dfsg1-2build2
parse common (terminal) ANSI codes and remove or convert them (GUI)
http://andre-simon.de/doku/ansifilter/en/ansifilter.php
sudo apt install ansifilter-guiansifilter 2.22-r0
Convert text files containing ANSI terminal escape codes to a variety of output formats
http://andre-simon.de/doku/ansifilter/en/ansifilter.php
sudo apk add ansifilteransifilter-bash-completion 2.22-r0
Bash completions for ansifilter
http://andre-simon.de/doku/ansifilter/en/ansifilter.php
sudo apk add ansifilter-bash-completionansifilter-doc 2.22-r0
Convert text files containing ANSI terminal escape codes to a variety of output formats (documentation)
http://andre-simon.de/doku/ansifilter/en/ansifilter.php
sudo apk add ansifilter-docansifilter-fish-completion 2.22-r0
Fish completions for ansifilter
http://andre-simon.de/doku/ansifilter/en/ansifilter.php
sudo apk add ansifilter-fish-completionansifilter-zsh-completion 2.22-r0
Zsh completions for ansifilter
http://andre-simon.de/doku/ansifilter/en/ansifilter.php
sudo apk add ansifilter-zsh-completionansifilter 2.22-4.fc45
ANSI terminal escape code converter
http://www.andre-simon.de/doku/ansifilter/ansifilter.php
sudo dnf install ansifilteransifilter-gui 2.22-4.fc45
GUI for ansifilter based on Qt6
http://www.andre-simon.de/doku/ansifilter/ansifilter.php
sudo dnf install ansifilter-guiansifilter 2.22-1.4
ANSI Terminal Escape Code Converter
sudo zypper install ansifilteransifilter-gui 2.22-1.4
ANSI Terminal Escape Code Converter - Qt GUI
sudo zypper install ansifilter-guiansifilter
sudo port install ansifilterソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.