Automic VaultAutomic Vault

brew

Install htmlcxx with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Non-validating CSS1 and HTML parser for C++. Version 0.87 via Homebrew; verified 2026-06-19.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install htmlcxx

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add htmlcxx

Alpine Linux edge package indexes · htmlcxx · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libcss-parser-pp0v5

Debian stable package indexes · libcss-parser-pp0v5 · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install htmlcxx

Fedora Rawhide package metadata · htmlcxx · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#htmlcxx

nixpkgs package indexes · pkgs/by-name/ht/htmlcxx/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S htmlcxx

Arch Linux sync databases · htmlcxx · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install htmlcxx

openSUSE Tumbleweed package metadata · htmlcxx · source: download.opensuse.org

overview

Package summary

Non-validating CSS1 and HTML parser for C++

Commands and aliases

  • htmlcxx

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2003: The SourceForge project was registered.
  • 2009: A SourceForge user review described it as fast, solid, robust, and easy to use.
  • 2015: The README records the SourceForge-to-GitHub move and says the library is frozen except for fixes.
  • Version 0.85: The news notes gcc 4.3 fixes and CSS library distribution improvements.
  • Version 0.86: The news notes compilation fixes.
  • Version 0.87: The news notes cherry-picked fixes from a long-running fork.

Related projects

  • Related native and parser projects include Gumbo, libxml2's HTML parser, html5lib ports, tree.hh, and hcxselect. The README also references Mozilla Firefox behavior as a model for parse trees.

Sources

  • Homebrew and distribution package metadata support package-manager adoption.
  • SourceForge project metadata documents registration, maintainers, description, project activity, and package identity.
  • The README documents SourceForge history, GitHub move, frozen status, parser design, examples, and version news.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
htmlcxxcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.87
manager updated2026-06-19
local dataok
upstreamnot checked
latest detectednot detected

https://htmlcxx.sourceforge.net/

install metadata

Package metadata

Package keybrew:htmlcxx
Version0.87
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/htmlcxx
Homepagehttps://htmlcxx.sourceforge.net/
Repositoryhttps://sourceforge.net/p/htmlcxx/code
Upstream docshttps://htmlcxx.sourceforge.net/
LicenseLGPL-2.0-only AND Apache-2.0
Source archivehttps://downloads.sourceforge.net/project/htmlcxx/v0.87/htmlcxx-0.87.tar.gz
Last updated2026-06-19T12:31:20-07:00
Pulseupdated
Bottleavailable (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-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehtmlcxx
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libcss-parser-pp0v5 0.87-4+b2

simple CSS1 parser library for C++

http://htmlcxx.sourceforge.net/

sudo apt install libcss-parser-pp0v5
  • Section: libs
  • Architecture: amd64
  • Source Package: htmlcxx
  • 4 dependencies
  • normalized package name match
  • Matched by: Htmlcxx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcss-parser-pp0v5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcss-parser0 0.87-4+b2

simple CSS1 parser library for C

http://htmlcxx.sourceforge.net/

sudo apt install libcss-parser0
  • Section: libs
  • Architecture: amd64
  • Source Package: htmlcxx
  • 1 dependencies
  • normalized package name match
  • Matched by: Htmlcxx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcss-parser0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhtmlcxx-dev 0.87-4+b2

simple HTML/CSS1 parser library for C++ (development)

http://htmlcxx.sourceforge.net/

sudo apt install libhtmlcxx-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: htmlcxx
  • 6 dependencies
  • normalized package name match
  • Matched by: Htmlcxx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhtmlcxx-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhtmlcxx3v5 0.87-4+b2

simple HTML parser library for C++

http://htmlcxx.sourceforge.net/

sudo apt install libhtmlcxx3v5
  • Section: libs
  • Architecture: amd64
  • Source Package: htmlcxx
  • 3 dependencies
  • normalized package name match
  • Matched by: Htmlcxx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhtmlcxx3v5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

htmlcxx

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

libcss-parser-pp0v5 0.87-4

simple CSS1 parser library for C++

http://htmlcxx.sourceforge.net/

sudo apt install libcss-parser-pp0v5
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: htmlcxx
  • 4 dependencies
  • normalized package name match
  • Matched by: Htmlcxx
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcss-parser-pp0v5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libcss-parser0 0.87-4

simple CSS1 parser library for C

http://htmlcxx.sourceforge.net/

sudo apt install libcss-parser0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: htmlcxx
  • 1 dependencies
  • normalized package name match
  • Matched by: Htmlcxx
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcss-parser0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhtmlcxx-dev 0.87-4

simple HTML/CSS1 parser library for C++ (development)

http://htmlcxx.sourceforge.net/

sudo apt install libhtmlcxx-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: htmlcxx
  • 6 dependencies
  • normalized package name match
  • Matched by: Htmlcxx
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhtmlcxx-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhtmlcxx3v5 0.87-4

simple HTML parser library for C++

http://htmlcxx.sourceforge.net/

sudo apt install libhtmlcxx3v5
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: htmlcxx
  • 3 dependencies
  • normalized package name match
  • Matched by: Htmlcxx
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhtmlcxx3v5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

htmlcxx 0.87-r1

Simple non-validating CSS1 and HTML parser for C++

https://htmlcxx.sourceforge.net/

sudo apk add htmlcxx
  • License: LGPL-2.0-only
  • Architecture: x86_64
  • Source Package: htmlcxx
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Htmlcxx
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: htmlcxx from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

htmlcxx-dev 0.87-r1

Simple non-validating CSS1 and HTML parser for C++ (development files)

https://htmlcxx.sourceforge.net/

sudo apk add htmlcxx-dev
  • License: LGPL-2.0-only
  • Architecture: x86_64
  • Source Package: htmlcxx
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Htmlcxx
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: htmlcxx-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

htmlcxx 0.86-28.fc44

A simple non-validating CSS1 and HTML parser for C++

http://htmlcxx.sourceforge.net/

sudo dnf install htmlcxx
  • License: LicenseRef-Callaway-LGPLv2 AND GPL-2.0-or-later AND Apache-2.0 AND LicenseRef-Callaway-MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: htmlcxx
  • 5 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Htmlcxx
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: htmlcxx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

htmlcxx-devel 0.86-28.fc44

Headers and Static Library for htmlcxx

http://htmlcxx.sourceforge.net/

sudo dnf install htmlcxx-devel
  • License: LicenseRef-Callaway-LGPLv2 AND GPL-2.0-or-later AND Apache-2.0 AND LicenseRef-Callaway-MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: htmlcxx
  • 5 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Htmlcxx
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: htmlcxx-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

htmlcxx 0.87-5

A simple non-validating CSS1 and HTML parser for C++.

http://gcc-libs.sourceforge.net/

sudo pacman -S htmlcxx
  • License: LGPL
  • Architecture: x86_64
  • 1 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Htmlcxx
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: htmlcxx from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

htmlcxx 0.87-2.15

HTML and CSS APIs for C++

http://htmlcxx.sourceforge.net/

sudo zypper install htmlcxx
  • License: LGPL-2.0-only AND Apache-2.0
  • Category: Productivity/File utilities
  • Architecture: x86_64
  • Source Package: htmlcxx
  • 4 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Htmlcxx
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: htmlcxx from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

htmlcxx-devel 0.87-2.15

Headers and Static Library for htmlcxx

http://htmlcxx.sourceforge.net/

sudo zypper install htmlcxx-devel
  • License: LGPL-2.0-only AND Apache-2.0
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: htmlcxx
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Htmlcxx
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: htmlcxx-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment