macOS
brew install htmlcxxlocal Homebrew formula metadata
安装
brew install htmlcxxlocal Homebrew formula metadata
sudo apk add htmlcxxAlpine Linux edge package indexes · htmlcxx · 来源: dl-cdn.alpinelinux.org
sudo dnf install htmlcxxFedora Rawhide package metadata · htmlcxx · 来源: dl.fedoraproject.org
nix profile install nixpkgs#htmlcxxnixpkgs package indexes · pkgs/by-name/ht/htmlcxx/package.nix · 来源: api.github.com
sudo pacman -S htmlcxxArch Linux sync databases · htmlcxx · 来源: geo.mirror.pkgbuild.com
sudo zypper install htmlcxxopenSUSE Tumbleweed package metadata · htmlcxx · 来源: download.opensuse.org
sudo apt install libcss-parser-pp0v5Debian stable package indexes · libcss-parser-pp0v5 · 来源: deb.debian.org
概览
Non-validating CSS1 and HTML parser for C++
历史
htmlcxx is a C++ library and small utility for non-validating HTML and CSS1 parsing. Its distinctive promise is that an HTML document can be reproduced character by character from the parse tree, while users still get STL-like tree traversal.
The SourceForge project was registered in 2003 and the project page names Davi de Castro Reis and Robson Braga Araujo as maintainers. The project documentation describes a parser designed to mimic Mozilla Firefox parsing behavior without inserting bytes that were not present in the input document.
The later README says the project spent a decade on SourceForge, was manually copied elsewhere, and then moved to GitHub with accumulated patches. It also says the library is frozen except for eventual bug fixes, which fits its role as a stable, old C++ parsing component.
htmlcxx appears in Homebrew, Alpine, Debian and Ubuntu library packages, Fedora-family packages, Nix, Arch, and openSUSE. Distribution packaging is especially relevant because C++ users often want headers and libraries from system package managers rather than vendored source snapshots.
The README shows C++ code parsing an HTML string into a tree, walking links, dumping text, and using the htmlcxx command-line application to inspect how the library parses input. Its sweet spot is lightweight extraction or parser experiments where preserving original document bytes matters.
For package nerds, htmlcxx is an old-school SourceForge C++ library that still shows up in distro package sets because it offers a compact API and a specific round-tripping behavior. It is less a general web platform parser than a useful legacy component for native-code tools.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
htmlcxx | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://htmlcxx.sourceforge.net/
安装元数据
| 软件包键 | brew:htmlcxx |
|---|---|
| 版本 | 0.87 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/htmlcxx |
| 主页 | https://htmlcxx.sourceforge.net/ |
| 仓库 | https://sourceforge.net/p/htmlcxx/code |
| 上游文档 | https://htmlcxx.sourceforge.net/ |
| 许可证 | LGPL-2.0-only AND Apache-2.0 |
| 源码归档 | https://downloads.sourceforge.net/project/htmlcxx/v0.87/htmlcxx-0.87.tar.gz |
| 最后更新 | 2026-06-19T12:31:20-07:00 |
| Pulse | updated |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | htmlcxx |
| 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 软件包链接分开显示。
libcss-parser-pp0v5 0.87-4+b2
simple CSS1 parser library for C++
http://htmlcxx.sourceforge.net/
sudo apt install libcss-parser-pp0v5libcss-parser0 0.87-4+b2
simple CSS1 parser library for C
http://htmlcxx.sourceforge.net/
sudo apt install libcss-parser0libhtmlcxx-dev 0.87-4+b2
simple HTML/CSS1 parser library for C++ (development)
http://htmlcxx.sourceforge.net/
sudo apt install libhtmlcxx-devlibhtmlcxx3v5 0.87-4+b2
simple HTML parser library for C++
http://htmlcxx.sourceforge.net/
sudo apt install libhtmlcxx3v5htmlcxx
nix profile install nixpkgs#htmlcxxlibcss-parser-pp0v5 0.87-4
simple CSS1 parser library for C++
http://htmlcxx.sourceforge.net/
sudo apt install libcss-parser-pp0v5libcss-parser0 0.87-4
simple CSS1 parser library for C
http://htmlcxx.sourceforge.net/
sudo apt install libcss-parser0libhtmlcxx-dev 0.87-4
simple HTML/CSS1 parser library for C++ (development)
http://htmlcxx.sourceforge.net/
sudo apt install libhtmlcxx-devlibhtmlcxx3v5 0.87-4
simple HTML parser library for C++
http://htmlcxx.sourceforge.net/
sudo apt install libhtmlcxx3v5htmlcxx 0.87-r1
Simple non-validating CSS1 and HTML parser for C++
https://htmlcxx.sourceforge.net/
sudo apk add htmlcxxhtmlcxx-dev 0.87-r1
Simple non-validating CSS1 and HTML parser for C++ (development files)
https://htmlcxx.sourceforge.net/
sudo apk add htmlcxx-devhtmlcxx 0.86-28.fc44
A simple non-validating CSS1 and HTML parser for C++
http://htmlcxx.sourceforge.net/
sudo dnf install htmlcxxhtmlcxx-devel 0.86-28.fc44
Headers and Static Library for htmlcxx
http://htmlcxx.sourceforge.net/
sudo dnf install htmlcxx-develhtmlcxx 0.87-5
A simple non-validating CSS1 and HTML parser for C++.
http://gcc-libs.sourceforge.net/
sudo pacman -S htmlcxxhtmlcxx 0.87-2.15
HTML and CSS APIs for C++
http://htmlcxx.sourceforge.net/
sudo zypper install htmlcxxhtmlcxx-devel 0.87-2.15
Headers and Static Library for htmlcxx
http://htmlcxx.sourceforge.net/
sudo zypper install htmlcxx-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.