macOS
brew install htmlcompressorlocal Homebrew formula metadata
安装
brew install htmlcompressorlocal Homebrew formula metadata
概览
Minify HTML or XML
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
htmlcompressor | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| 依赖 | openjdk |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.