Automic VaultAutomic Vault

brew

使用 Homebrew 安装 htmlcompressor

查看 htmlcompressor 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install htmlcompressor

local Homebrew formula metadata

概览

软件包摘要

Minify HTML or XML

命令和别名

  • htmlcompressor

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

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

来源

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

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:compress

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
htmlcompressorcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本1.5.3
管理器更新时间2026-06-13
本地数据OK
上游not checked
检测到的最新版本未检测到

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

安装元数据

软件包元数据

软件包键brew:htmlcompressor
版本1.5.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/htmlcompressor
主页https://code.google.com/archive/p/htmlcompressor/
仓库https://code.google.com/archive/p/htmlcompressor/source
上游文档http://htmlcompressor.googlecode.com/svn/trunk/doc/com/googlecode/htmlcompressor/compressor/HtmlCompressor.html
许可证Apache-2.0
源码归档https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/htmlcompressor/htmlcompressor-1.5.3.jar
最后更新2026-06-13T23:34:59+02:00
Pulseupdated
依赖openjdk
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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