pkg.soopen package index

brew / 排名 2034

使用 Homebrew, apk, apt, MacPorts, Nix, dnf, pacman, zypper 安装 html2text

查看 html2text 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install html2text

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install html2text

MacPorts ports tree · textproc/html2text/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add html2text

Alpine Linux edge package indexes · html2text · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install html2text

Debian stable package indexes · html2text · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#html2text

nixpkgs package indexes · pkgs/by-name/ht/html2text/package.nix · 来源: api.github.com

Fedora dnf已验证 · 92%
sudo dnf install python3-html2text

Fedora Rawhide package metadata · python3-html2text · 来源: dl.fedoraproject.org

Arch Linux pacman已验证 · 92%
sudo pacman -S python-html2text

Arch Linux sync databases · python-html2text · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install python313-html2text

openSUSE Tumbleweed package metadata · python313-html2text · 来源: download.opensuse.org

概览

软件包摘要

Advanced HTML-to-text converter

命令和别名

  • html2text

历史

项目历史与用法

html2text renders HTML into terminal- and email-friendly plain text. The grobian-maintained project is a continuation of Martin Bayer's older html2text, with a focus on mail clients, terminal width, links, tables, character sets, and ANSI rendering.

项目历史

The README states that the repository continues the project formerly hosted at mbayer.de/html2text and carries patches that were no longer available from the original sources. It also states that version 2.0 made the GitLab repository the official home.

GitLab tag metadata places v2.0.0 in 2020, followed by v2.1.x in 2022, v2.2.x in 2023, and v2.3.0 and v2.4.0 in 2025. The ChangeLog shows that later work added autotools-based builds, compatibility flags, whitespace normalization, ANSI escape output, color handling, and direct URL retrieval.

采用历史

The tool is packaged across Homebrew, Debian, Ubuntu, Alpine, MacPorts, Nix, Arch, and Fedora-family ecosystems. Its adoption is helped by a stable command name and by mailcap integration examples for text-mode mail clients such as Mutt.

使用方式

The README's central workflow is rendering text/html parts for terminal email. It shows a mailcap entry using html2text with ANSI output, link references, charset conversion, and terminal-width wrapping, plus Mutt configuration that auto-views HTML mail through the converter.

为什么软件包爱好者会关心

html2text is package-nerd material because it solves a stubborn Unix desktop problem: making HTML email tolerable in text-mode tools. It is small enough for a mailcap line, but specialized enough to preserve tables, links, alignment, and character-set behavior better than a bare text dump.

时间线

  • Pre-2020: Martin Bayer's html2text provided the original project line.
  • 2020: v2.0.0 established the grobian GitLab repository as the official home.
  • 2022: v2.1.x releases continued the 2.x series.
  • 2023: v2.2.0 moved the build system to autotools and added compatibility and whitespace work.
  • 2025: v2.3.0 added ANSI and color handling; v2.4.0 added direct remote URL retrieval.

Related projects

  • Related tools include lynx -dump, w3m -dump, pandoc, Python html2text, and mailcap-driven HTML viewers used by Mutt and similar text mail clients.

来源

  • Homebrew and distribution package metadata support package-manager adoption.
  • The GitLab ChangeLog and tag API document the 2.x release evolution.
  • The GitLab README documents origin, email-focused usage, and official-home status from version 2.0.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
html2text可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本2.4.0
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:html2text
版本2.4.0
软件包管理器Homebrew
主页https://gitlab.com/grobian/html2text
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

html2text 2.2.3-3

advanced HTML to text converter

https://gitlab.com/grobian/html2text

sudo apt install html2text
  • Section: web
  • Architecture: amd64
  • 3 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Html2text
Debian stable package indexes · deb.debian.org · Debian stable package indexes: html2text from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

html2text

nix profile install nixpkgs#html2text
  • normalized package name match
  • 匹配方式:Html2text
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ht/html2text/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

html2text 1.3.2a-28

advanced HTML to text converter

https://github.com/grobian/html2text

sudo apt install html2text
  • Section: universe/web
  • Architecture: amd64
  • 3 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Html2text
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: html2text from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

html2text 2.4.0-r0

html2text is a command line utility, written in C++, that converts HTML documents into plain text.

https://github.com/grobian/html2text/

sudo apk add html2text
  • License: GPL
  • Architecture: x86_64
  • Source Package: html2text
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Html2text
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: html2text from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

html2text-doc 2.4.0-r0

html2text is a command line utility, written in C++, that converts HTML documents into plain text. (documentation)

https://github.com/grobian/html2text/

sudo apk add html2text-doc
  • License: GPL
  • Architecture: x86_64
  • Source Package: html2text
  • normalized package name match
  • 匹配方式:Html2text
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: html2text-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

python3-html2text 2025.4.15-8.fc45

Convert HTML to Markdown-formatted text

https://github.com/Alir3z4/html2text/

sudo dnf install python3-html2text
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: python-html2text
  • 2 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Html2text
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-html2text from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

python-html2text 2025.4.15-2

A HTML to markdown-structured text converter

https://github.com/Alir3z4/html2text

sudo pacman -S python-html2text
  • License: GPL-3.0-only
  • Architecture: any
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Html2text
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: python-html2text from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

python313-html2text 2025.4.15-1.5

Python script for turning HTML into Markdown text

https://github.com/Alir3z4/html2text/

sudo zypper install python313-html2text
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: python-html2text
  • 4 依赖
  • 5 提供
  • normalized package name match
  • 匹配方式:Html2text
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python313-html2text from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

python314-html2text 2025.4.15-1.5

Python script for turning HTML into Markdown text

https://github.com/Alir3z4/html2text/

sudo zypper install python314-html2text
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: python-html2text
  • 4 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Html2text
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python314-html2text from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

html2text

sudo port install html2text
  • normalized package name match
  • 匹配方式:Html2text
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/html2text/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation