macOS
brew install htmldoclocal Homebrew formula metadata
sudo port install htmldocMacPorts ports tree · textproc/htmldoc/Portfile · 来源: api.github.com
安装
brew install htmldoclocal Homebrew formula metadata
sudo port install htmldocMacPorts ports tree · textproc/htmldoc/Portfile · 来源: api.github.com
sudo apk add htmldocAlpine Linux edge package indexes · htmldoc · 来源: dl-cdn.alpinelinux.org
sudo apt install htmldocDebian stable package indexes · htmldoc · 来源: deb.debian.org
nix profile install nixpkgs#htmldocnixpkgs package indexes · pkgs/by-name/ht/htmldoc/package.nix · 来源: api.github.com
sudo pacman -S htmldocArch Linux sync databases · htmldoc · 来源: geo.mirror.pkgbuild.com
sudo zypper install htmldocopenSUSE Tumbleweed package metadata · htmldoc · 来源: download.opensuse.org
概览
Convert HTML to PDF or PostScript
历史
HTMLDOC is Michael R Sweet's long-lived converter for turning HTML and Markdown source files or web pages into EPUB, PostScript, PDF, or indexed HTML output with an optional table of contents. It matters in package-manager culture because it preserves an older documentation-generator workflow: small static HTML goes in, printable documents come out, and the tool can be used from a GUI, a CLI, CI jobs, or web-server/reporting pipelines.
The upstream README says HTMLDOC was developed in the 1990s as a documentation generator for Sweet's previous company and later saw substantial use as a report generator embedded in web servers. The project site describes the same core job as converting HTML and Markdown sources or web pages to paged and ebook-oriented output formats.
The source tree carries an older `release-1.8b4` tag dated 1999 and a long 1.8/1.9 tag line, showing a package with pre-GitHub roots that was later preserved in a public Git repository. The release notes and site also document the deliberate limitations that shaped its evolution: useful for documentation, invoices, and reports, but not a general modern browser engine with full CSS, forms, Unicode, or emoji support.
The input package facts record HTMLDOC in Homebrew, Debian, Ubuntu, MacPorts, Nix, Arch, Alpine, and openSUSE-style packaging. That breadth fits a utility that is often installed by documentation build systems or server-side report generators rather than by end users seeking a full browser-to-PDF stack.
HTMLDOC is used where relatively simple HTML or Markdown needs deterministic printable output: manuals, internal documentation, invoices, reports, and table-of-contents-based documents. Its appeal is the narrow converter surface: it can be automated from the command line while also offering a GUI for manual jobs.
For package nerds, HTMLDOC is interesting because it is an old-school Unix packaging survivor. It predates the headless-Chromium era, keeps a focused paged-output model, and remains small enough to package widely as a standalone converter instead of pulling in a browser runtime.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
htmldoc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/michaelrsweet/htmldoc
安装元数据
| 软件包键 | brew:htmldoc |
|---|---|
| 版本 | 1.9.23 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/htmldoc |
| 主页 | https://www.msweet.org/htmldoc/ |
| 仓库 | https://github.com/michaelrsweet/htmldoc |
| 上游文档 | https://www.msweet.org/htmldoc |
| 许可证 | GPL-2.0-only |
| 源码归档 | https://github.com/michaelrsweet/htmldoc/archive/refs/tags/v1.9.23.tar.gz |
| 最后更新 | 2026-05-11T15:54:11-04:00 |
| Pulse | updated |
| 依赖 | jpeg-turbo, libpng |
| 构建依赖 | pkgconf |
| macOS 提供的库 | cups |
| 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 | htmldoc |
| 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 软件包链接分开显示。
htmldoc 1.9.20-1
HTML processor that generates indexed HTML, PS, and PDF
https://www.msweet.org/htmldoc/
sudo apt install htmldochtmldoc-common 1.9.20-1
Common arch-independent files for htmldoc
https://www.msweet.org/htmldoc/
sudo apt install htmldoc-commonhtmldoc
nix profile install nixpkgs#htmldochtmldoc 1.9.17-1build3
HTML processor that generates indexed HTML, PS, and PDF
https://www.msweet.org/htmldoc/
sudo apt install htmldochtmldoc-common 1.9.17-1build3
Common arch-independent files for htmldoc
https://www.msweet.org/htmldoc/
sudo apt install htmldoc-commonhtmldoc 1.9.23-r0
HTML conversion software
https://www.msweet.org/htmldoc/
sudo apk add htmldochtmldoc-doc 1.9.23-r0
HTML conversion software (documentation)
https://www.msweet.org/htmldoc/
sudo apk add htmldoc-dochtmldoc 1.9.23-2
HTML Conversion Software
https://www.msweet.org/htmldoc/
sudo pacman -S htmldochtmldoc 1.9.23-1.4
HTML Processor that Generates HTML, PostScript, and PDF Files
https://michaelrsweet.github.io/htmldoc/index.html
sudo zypper install htmldochtmldoc
sudo port install htmldoc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.