macOS
brew install ansilovelocal Homebrew formula metadata
安装
brew install ansilovelocal Homebrew formula metadata
sudo apt install ansiloveDebian stable package indexes · ansilove · 来源: deb.debian.org
nix profile install nixpkgs#ansilovenixpkgs package indexes · pkgs/by-name/an/ansilove/package.nix · 来源: api.github.com
sudo zypper install ansiloveopenSUSE Tumbleweed package metadata · ansilove · 来源: download.opensuse.org
概览
ANSI/ASCII art to PNG converter
历史
Ansilove, also called AnsiLove/C upstream, is an ANSI and ASCII art to PNG converter. It renders classic artscene formats such as ANS, PCB, BIN, ADF, IDF, TND, and XBin using DOS and Amiga fonts, SAUCE metadata, iCE colors, and compact 4-bit PNG output.
The official README describes AnsiLove/C as a complete rewrite of AnsiLove/PHP in C. The rewrite was motivated by independence from a PHP interpreter, performance, portability, and the desire for a reusable C foundation that could support libraries and embedding.
The 4.0.0 release in 2019 switched the command-line program to libansilove, added DOS aspect-ratio handling, improved SAUCE parsing, and added support for PabloDraw 24-bit ANSI sequences. Later releases continued the package-maintainer-friendly path: CMake improvements, tests, optional seccomp support, and links to additional distro packages.
The README lists packages for OpenBSD, NetBSD, FreeBSD, Debian, Ubuntu, openSUSE, Solus, Gentoo, Homebrew, Guix, and Nix, making Ansilove a cross-distro preservation tool for ANSI art collections. It also names downstream or user projects such as 16colo.rs, Textfiles.com, Durdraw, and emacs-ansilove.
Its adoption is tied less to everyday shell scripting and more to digital preservation and artscene tooling. Archives use it to generate preview images from text-mode art, while editors and viewers can embed its renderer through libansilove or shell out to the CLI.
The ansilove command takes an input file and writes a PNG, with flags for output path, font, columns, file type, iCE colors, DOS aspect ratio, Retina scale, and SAUCE inspection. In most package-manager installs it is a single-purpose media converter rather than a general terminal filter.
No official config file or credential store is documented; behavior is controlled by CLI flags and build options.
Ansilove is package-nerd catnip because it packages a niche cultural format with serious portability discipline. The upstream cares about C99, GCC and Clang, BSD platforms, CMake, man pages, test cases, and distro links, all for the humble job of turning CP437-era art into inspectable PNGs.
It also demonstrates a clean split between a CLI package and a reusable rendering library, libansilove, which matters for downstream tools that want faithful ANSI-art rendering without reimplementing SAUCE, font, and palette behavior.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ansilove | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/ansilove/ansilove
安装元数据
| 软件包键 | brew:ansilove |
|---|---|
| 版本 | 4.2.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ansilove |
| 主页 | https://www.ansilove.org |
| 仓库 | https://github.com/ansilove/ansilove |
| 上游文档 | https://github.com/ansilove/ansilove#readme |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/ansilove/ansilove/releases/download/4.2.2/ansilove-4.2.2.tar.gz |
| 最后更新 | 2026-06-10T21:34:49Z |
| Pulse | updated |
| 依赖 | libansilove |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ansilove |
| 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 软件包链接分开显示。
ansilove 4.2.0-2
ANSI and ASCII art to PNG converter
sudo apt install ansiloveansilove
nix profile install nixpkgs#ansiloveansilove 4.2.0-1
ANSI and ASCII art to PNG converter
sudo apt install ansiloveansilove 4.2.1-1.3
ANSI and ASCII art to PNG converter
sudo zypper install ansilove来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.