Automic VaultAutomic Vault

brew

Install htmlcompressor with Homebrew

Minify HTML or XML. Version 1.5.3 via Homebrew; verified 2026-06-13.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install htmlcompressor

local Homebrew formula metadata

overview

Package summary

Minify HTML or XML

Commands and aliases

  • htmlcompressor

history

Project history and usage

HTML Compressor is a Java HTML/XML minifier that removes unnecessary whitespace, comments, and other bytes without intentionally changing document structure. The original project lived on Google Code, then survived through an exported GitHub repository and Maven coordinates.

Project history

The preserved ChangeLog begins with an initial 0.1 release on March 7, 2009, followed quickly by XML compression, JSP and Velocity integration, command-line support, and JavaScript/CSS compression hooks. Version 1.4 in 2011 completed a Maven migration and made the project available as a Maven artifact.

Google Code archival pages preserve the old project, while the hazendaz GitHub repository describes itself as an automatic export from code.google.com/p/htmlcompressor. The GitHub README also records the later split between 1.x for javax namespace support and 2.x for jakarta namespace support.

Adoption history

The original Maven coordinates under com.googlecode.htmlcompressor reached Maven Central in 2011, and later com.github.hazendaz coordinates carried the project forward. Homebrew packages the command-line form, which keeps the tool available to shell users even though the codebase is primarily a Java library.

How it is used

The compressor is used to shrink HTML or XML by removing comments, repeated spaces, optional quotes, protocol prefixes, and inline CSS or JavaScript overhead depending on options. It also includes command-line, JSP taglib, Velocity directive, and Java API workflows.

Why package nerds care

HTML Compressor is a time capsule from the Google Code and early Maven era of web performance tooling. Package nerds care because it connects a Java library, old Google Code docs, Maven artifacts, and a Homebrew CLI wrapper around the once-common task of pre-minifying server-rendered pages.

Timeline

  • 2009: Version 0.1 was released, followed by XML compressor, JSP taglib, Velocity, and command-line additions.
  • 2011: Version 1.4 migrated the project to Maven and published it as a Maven artifact.
  • 2012: Version 1.5.3 was released in the original ChangeLog line.
  • 2015: The GitHub repository was created as an export from Google Code.
  • 2025: GitHub releases show maintained 1.x and 2.x lines for javax and jakarta namespaces.
  • 2026: The GitHub release stream continued with paired 1.x and 2.x artifacts.

Related projects

  • Related tools include YUI Compressor, Google Closure Compiler, HTML Tidy, html-minifier, and build-pipeline minifiers that compress HTML, CSS, and JavaScript assets.

Sources

  • Maven Central and Homebrew metadata document package-manager distribution.
  • The GitHub ChangeLog documents the original 2009-2012 release line.
  • The GitHub README documents the Google Code export, package contents, command-line usage, and javax/jakarta version split.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:compress

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

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
htmlcompressorcliglobal 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 version1.5.3
manager updated2026-06-13
local dataok
upstreamnot checked
latest detectednot detected

https://code.google.com/archive/p/htmlcompressor/

install metadata

Package metadata

Package keybrew:htmlcompressor
Version1.5.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/htmlcompressor
Homepagehttps://code.google.com/archive/p/htmlcompressor/
Repositoryhttps://code.google.com/archive/p/htmlcompressor/source
Upstream docshttp://htmlcompressor.googlecode.com/svn/trunk/doc/com/googlecode/htmlcompressor/compressor/HtmlCompressor.html
LicenseApache-2.0
Source archivehttps://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/htmlcompressor/htmlcompressor-1.5.3.jar
Last updated2026-06-13T23:34:59+02:00
Pulseupdated
Dependenciesopenjdk
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

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
  • package relationship graph
  • package version freshness
  • package-page enrichment