macOS
brew install htmlcxxlocal Homebrew formula metadata
brew
Non-validating CSS1 and HTML parser for C++. Version 0.87 via Homebrew; verified 2026-06-19.
install
brew install htmlcxxlocal Homebrew formula metadata
sudo apk add htmlcxxAlpine Linux edge package indexes · htmlcxx · source: dl-cdn.alpinelinux.org
sudo apt install libcss-parser-pp0v5Debian stable package indexes · libcss-parser-pp0v5 · source: deb.debian.org
sudo dnf install htmlcxxFedora Rawhide package metadata · htmlcxx · source: dl.fedoraproject.org
nix profile install nixpkgs#htmlcxxnixpkgs package indexes · pkgs/by-name/ht/htmlcxx/package.nix · source: api.github.com
sudo pacman -S htmlcxxArch Linux sync databases · htmlcxx · source: geo.mirror.pkgbuild.com
sudo zypper install htmlcxxopenSUSE Tumbleweed package metadata · htmlcxx · source: download.opensuse.org
overview
Non-validating CSS1 and HTML parser for C++
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
htmlcxx | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://htmlcxx.sourceforge.net/
install metadata
| Package key | brew:htmlcxx |
|---|---|
| Version | 0.87 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/htmlcxx |
| Homepage | https://htmlcxx.sourceforge.net/ |
| Repository | https://sourceforge.net/p/htmlcxx/code |
| Upstream docs | https://htmlcxx.sourceforge.net/ |
| License | LGPL-2.0-only AND Apache-2.0 |
| Source archive | https://downloads.sourceforge.net/project/htmlcxx/v0.87/htmlcxx-0.87.tar.gz |
| Last updated | 2026-06-19T12:31:20-07:00 |
| Pulse | updated |
| Bottle | available (on 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 | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.