macOS
brew install tidy-html5local Homebrew formula metadata
安装
brew install tidy-html5local Homebrew formula metadata
sudo apt install libtidy-devDebian stable package indexes · libtidy-dev · 来源: deb.debian.org
sudo dnf install tidyFedora Rawhide package metadata · tidy · 来源: dl.fedoraproject.org
sudo pacman -S tidyArch Linux sync databases · tidy · 来源: geo.mirror.pkgbuild.com
sudo zypper install tidyopenSUSE Tumbleweed package metadata · tidy · 来源: download.opensuse.org
winget install --id HTACG.tidy -eWindows Package Manager source index · HTACG.tidy · 来源: cdn.winget.microsoft.com
scoop install main/tidyScoop official bucket manifest trees · bucket/tidy.json · 来源: api.github.com
概览
Granddaddy of HTML tools, with support for modern standards
历史
HTML Tidy is a long-running command-line and library project for cleaning, diagnosing, and pretty-printing HTML, now maintained by the HTACG Tidy HTML Project with HTML5 support.
The official HTML Tidy site traces the project to Dave Raggett of the W3C in the early Web era. Raggett's original W3C page describes Tidy as a free utility for automatically fixing common HTML mistakes, cleaning up hard-to-read output from editors and converters, and identifying accessibility issues that need author attention.
After Raggett's original work, maintenance moved to volunteers at tidy.sourceforge.net, where the project became a C library and kept pace with evolving standards. The official history says W3C members renewed interest in 2011 and forked the project to GitHub with HTML5 compatibility, then in 2015 HTACG formed to revitalize Tidy after a non-maintained period.
HTACG's repository carries the modern `tidy-html5` source and describes the project as the granddaddy of HTML tools with support for modern standards. The repository metadata shows the GitHub project dating to 2011, matching the official history's GitHub-era transition.
HTML Tidy has unusually broad package-manager and platform history for a web utility. The official site says many operating systems already ship a `tidy` command, though often too old for HTML5, and lists package-manager installs for macOS through Fink, Homebrew, and MacPorts plus Windows through Chocolatey.
The input package facts show a wider current packaging footprint across Homebrew, Debian/Ubuntu, Fedora, Arch, MacPorts, Scoop, winget, and openSUSE-family packages, reflecting Tidy's role as both a CLI utility and `libtidy` development dependency.
Users run `tidy` to clean malformed or messy HTML, format output, flag errors and warnings with line and column information, and modernize documents produced by WYSIWYG editors or office exporters. Developers can also embed `libtidy`, whose official site describes APIs for parsing HTML into a DOM-like tree, cleaning and diagnostics, traversing nodes, and pretty-print output.
The original W3C page also documents Tidy's Unix-tool-style appeal: it can be used locally as a binary, as source code, and historically through online services, making it useful in editors, build scripts, validation workflows, and conversion pipelines.
For package nerds, tidy-html5 is a good example of an old web utility whose name, fork history, and packaging split matter: users may see `tidy`, `tidy-html5`, `libtidy`, or development packages depending on the platform.
It is also historically important because it bridges early W3C-era authoring tools and modern HTML5-oriented command-line workflows. The package remains useful precisely because it is boring, scriptable, and available almost everywhere.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
tidy | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/htacg/tidy-html5
安装元数据
| 软件包键 | brew:tidy-html5 |
|---|---|
| 版本 | 5.8.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/tidy-html5 |
| 主页 | https://www.html-tidy.org/ |
| 仓库 | https://github.com/htacg/tidy-html5 |
| 上游文档 | https://www.html-tidy.org/documentation |
| 许可证 | Zlib |
| 源码归档 | https://github.com/htacg/tidy-html5/archive/refs/tags/5.8.0.tar.gz |
| 构建依赖 | cmake |
| Bottle | 可用 (于 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-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | tidy-html5 |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libtidy-dev 2:5.8.0-2
HTML/XML syntax checker and reformatter - development
sudo apt install libtidy-devlibtidy58 2:5.8.0-2
HTML/XML syntax checker and reformatter - shared library
sudo apt install libtidy58tidy 2:5.8.0-2
HTML/XML syntax checker and reformatter
sudo apt install tidylibtidy-dev 2:5.6.0-11ubuntu2
HTML/XML syntax checker and reformatter - development
sudo apt install libtidy-devlibtidy5deb1 2:5.6.0-11ubuntu2
HTML/XML syntax checker and reformatter - shared library
sudo apt install libtidy5deb1tidy 2:5.6.0-11ubuntu2
HTML/XML syntax checker and reformatter
sudo apt install tidytidy 5.8.0-13.fc44
Utility to clean up and pretty print HTML/XHTML/XML
sudo dnf install tidyHTACG.tidy
winget install --id HTACG.tidy -etidy
sudo port install tidylibtidy 5.8.0-13.fc44
Runtime library for tidy
sudo dnf install libtidylibtidy-devel 5.8.0-13.fc44
Development files for tidy
sudo dnf install libtidy-develtidy 5.8.0-3
A tool to tidy down your HTML code to a clean style
sudo pacman -S tidylibtidy-devel 5.8.0-2.3
Development files for libtidy
https://github.com/htacg/tidy-html5
sudo zypper install libtidy-devellibtidy58 5.8.0-2.3
Library to Clean Up and Pretty-print HTML, XHTML or XML Markup
https://github.com/htacg/tidy-html5
sudo zypper install libtidy58tidy 5.8.0-2.3
Utility to Clean Up and Pretty-print HTML, XHTML or XML Markup
https://github.com/htacg/tidy-html5
sudo zypper install tidytidy-doc 5.8.0-2.3
Documentation for tidy and libtidy
https://github.com/htacg/tidy-html5
sudo zypper install tidy-doc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.