macOS
brew install ansifilterlocal Homebrew formula metadata
sudo port install ansifilterMacPorts ports tree · textproc/ansifilter/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de ansifilter pour les workflows d'agents IA.
installation
brew install ansifilterlocal Homebrew formula metadata
sudo port install ansifilterMacPorts ports tree · textproc/ansifilter/Portfile · Source: api.github.com
sudo apk add ansifilterAlpine Linux edge package indexes · ansifilter · Source: dl-cdn.alpinelinux.org
sudo apt install ansifilterDebian stable package indexes · ansifilter · Source: deb.debian.org
sudo dnf install ansifilterFedora Rawhide package metadata · ansifilter · Source: dl.fedoraproject.org
nix profile install nixpkgs#ansifilternixpkgs package indexes · pkgs/by-name/an/ansifilter/package.nix · Source: api.github.com
sudo zypper install ansifilteropenSUSE Tumbleweed package metadata · ansifilter · Source: download.opensuse.org
aperçu
Strip or convert ANSI codes into HTML, (La)Tex, RTF, or BBCode
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
ansifilter | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
http://andre-simon.de/doku/ansifilter/en/ansifilter.php
métadonnées d'installation
| Clé du paquet | brew:ansifilter |
|---|---|
| Version | 2.22 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/ansifilter |
| Page d'accueil | http://andre-simon.de/doku/ansifilter/en/ansifilter.php |
| Dépôt | https://gitlab.com/saalen/ansifilter |
| Docs amont | http://andre-simon.de/doku/ansifilter/en/ansifilter.php |
| Licence | GPL-3.0-or-later |
| Archive source | https://gitlab.com/saalen/ansifilter/-/archive/2.22/ansifilter-2.22.tar.bz2 |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 ansifilterpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.