# Installer htmlcompressor avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de htmlcompressor pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:htmlcompressor
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install htmlcompressor
```

  Preuve: local Homebrew formula metadata

## Faits du paquet

- **Clé du paquet:** brew:htmlcompressor
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/htmlcompressor>
- **Version:** 1.5.3
- **Résumé source:** Minify HTML or XML
- **Page d'accueil:** <https://code.google.com/archive/p/htmlcompressor/>
- **Docs amont:** <https://code.google.com/archive/p/htmlcompressor/>
- **Licence:** Apache-2.0
- **Archive source:** <https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/htmlcompressor/htmlcompressor-1.5.3.jar>
- **Dernière mise à jour:** 2026-06-13T23:34:59+02:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- htmlcompressor (cli)
- htmlcompressor (alias)

## Dépendances

- openjdk

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur all

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 1.5.3
- gestionnaire mis à jour: 2026-06-13
- données locales: OK
- dépôt amont: https://code.google.com/archive/p/htmlcompressor/
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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


## Notes de sécurité

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

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** htmlcompressor
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## Liens liés

- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Archive and compression packages](https://pkg.so/fr/archive-compression-tools/) - Matched archive or compression metadata.
- [openjdk](https://pkg.so/fr/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [htmlcleaner](https://pkg.so/fr/brew/htmlcleaner/) - Shares pkgdb curated category or tags: cli, developer-tools, html, java, xml.
- [libxml2](https://pkg.so/fr/brew/libxml2/) - Shares pkgdb curated category or tags: cli, developer-tools, html, xml.
- [ant](https://pkg.so/fr/brew/ant/) - Shares pkgdb curated category or tags: cli, developer-tools, java, xml.
- [minify](https://pkg.so/fr/brew/minify/) - Shares pkgdb curated category or tags: cli, developer-tools, html, minifier.
- [yuicompressor](https://pkg.so/fr/brew/yuicompressor/) - Shares pkgdb curated category or tags: cli, compressor, developer-tools, minifier.
- [latexml](https://pkg.so/fr/brew/latexml/) - Shares pkgdb curated category or tags: cli, developer-tools, html, xml.
- [saxon](https://pkg.so/fr/brew/saxon/) - Shares pkgdb curated category or tags: cli, developer-tools, java, xml.
- [html-xml-utils](https://pkg.so/fr/brew/html-xml-utils/) - Shares pkgdb curated category or tags: cli, developer-tools, html, xml.
- [jslint4java](https://pkg.so/fr/brew/jslint4java/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, java, openjdk.

## Combined YAML source

View the package source record on GitHub. [combined/htmlcompressor.yml](https://github.com/mxcl/pkgdb/blob/main/combined/htmlcompressor.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
