# Install htmltest with Homebrew, dnf, Nix

HTML validator written in Go. Version 0.17.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:htmltest
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install htmltest
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install golang-github-wjdp-htmltest-devel
```

  Evidence: Fedora Rawhide package metadata: golang-github-wjdp-htmltest-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#htmltest
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ht/htmltest/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:htmltest
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/htmltest>
- **Version:** 0.17.0
- **Source summary:** HTML validator written in Go
- **Homepage:** <https://github.com/wjdp/htmltest>
- **Repository:** <https://github.com/wjdp/htmltest>
- **Upstream docs:** <https://github.com/wjdp/htmltest#readme>
- **License:** MIT
- **Source archive:** <https://github.com/wjdp/htmltest/archive/refs/tags/v0.17.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- htmltest (cli)
- htmltest (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.17.0
- Local data: ok
- Upstream repository: https://github.com/wjdp/htmltest
- Upstream latest detected: v0.17.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

htmltest is a Go command-line checker for generated HTML sites. It tests links, images, scripts, alt text, and related generated-output problems, giving static-site and documentation projects a single binary alternative to heavier runtime stacks.

### Project history

The README introduces htmltest by comparing it with html-proofer: if a generated site needs checking but the user wants to avoid a Ruby environment or wants a faster standalone tool, htmltest is the Go-based option. The repository exposes `.htmltest.yml` configuration and release tags that show the project maturing through repeated 0.x releases.

The tag stream includes v0.8.1 in March 2018 and v0.17.0 in November 2022. A companion `htmltest-action` repository and GitHub Marketplace action show the project moving naturally into CI workflows where generated documentation and static sites are checked after builds.

### Adoption history

The input package facts record Homebrew, Nix, and Fedora development packaging. The official GitHub Action gives another adoption route: users can run the binary in CI without managing a local install, while package managers serve developers who want the same check available on laptops and build hosts.

### How it is used

htmltest is typically pointed at a generated output directory and optionally configured with `.htmltest.yml`. Its job is to catch broken internal or external references and markup hygiene issues before a static site, docs tree, or generated HTML artifact is published.

### Why package nerds care

For package nerds, htmltest is interesting because it packages a documentation QA pattern as a portable Go binary. It is not a browser and not a general validator; it is the small CI-friendly check that catches the boring broken-output mistakes before release.

### Timeline

- 2018: v0.8.1 was tagged in March.
- 2022: v0.17.0 was tagged in November.
- CI era: The companion `htmltest-action` repository documents running htmltest from GitHub Actions.
- Package-manager era: The input package facts record Homebrew, Fedora, and Nix packaging.

### Related projects

- htmltest is related to html-proofer, link checkers, static-site test steps, and GitHub Actions that validate generated documentation. Its practical neighbors are documentation build pipelines rather than browser-based HTML validators.

### Sources

- <https://api.github.com/repos/wjdp/htmltest/commits/91ffb25a2a211de20da425cf21c584afd358a2c6>
- <https://api.github.com/repos/wjdp/htmltest/commits/ec73febdcb639acbeb983089db2df6732e8199bd>
- <https://api.github.com/repos/wjdp/htmltest/tags?per_page=20>
- <https://github.com/marketplace/actions/htmltest-action>
- <https://github.com/wjdp/htmltest>
- <https://github.com/wjdp/htmltest-action>
- <https://github.com/wjdp/htmltest/releases>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .htmltest.yml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** htmltest
- **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:** head, stable

## Other Package-Manager Records

- Nix - htmltest: normalized package name match | nixpkgs package indexes: pkgs/by-name/ht/htmltest/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - golang-github-wjdp-htmltest-devel - 0.17.0-13.fc44: normalized package name match | Fedora Rawhide package metadata: golang-github-wjdp-htmltest-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Test generated HTML for problems | https://github.com/wjdp/htmltest
- dnf - htmltest - 0.17.0-13.fc44: normalized package name match | Fedora Rawhide package metadata: htmltest from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Test generated HTML for problems | https://github.com/wjdp/htmltest


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [counterfeiter](https://www.automicvault.com/pkg/brew/counterfeiter/) - Shares av.db curated category or tags: cli, developer-tools, go, testing.
- [fake-gcs-server](https://www.automicvault.com/pkg/brew/fake-gcs-server/) - Shares av.db curated category or tags: cli, developer-tools, go, testing.
- [gor](https://www.automicvault.com/pkg/brew/gor/) - Shares av.db curated category or tags: cli, developer-tools, go, testing.
- [gotests](https://www.automicvault.com/pkg/brew/gotests/) - Shares av.db curated category or tags: cli, developer-tools, go, testing.
- [gotestsum](https://www.automicvault.com/pkg/brew/gotestsum/) - Shares av.db curated category or tags: cli, developer-tools, go, testing.
- [h2spec](https://www.automicvault.com/pkg/brew/h2spec/) - Shares av.db curated category or tags: cli, developer-tools, go, testing.
- [mockery](https://www.automicvault.com/pkg/brew/mockery/) - Shares av.db curated category or tags: cli, developer-tools, go, testing.
- [richgo](https://www.automicvault.com/pkg/brew/richgo/) - Shares av.db curated category or tags: cli, developer-tools, go, testing.
- [cassowary](https://www.automicvault.com/pkg/brew/cassowary/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, go, testing.

## Combined YAML source

View the package source record on GitHub. [combined/htmltest.yml](https://github.com/automic-vault/db/blob/main/combined/htmltest.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
