macOS
brew install htmlqlocal Homebrew formula metadata
sudo port install htmlqMacPorts ports tree · www/htmlq/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für htmlq in AI-Agent-Workflows.
Installation
brew install htmlqlocal Homebrew formula metadata
sudo port install htmlqMacPorts ports tree · www/htmlq/Portfile · Quelle: api.github.com
sudo apk add htmlqAlpine Linux edge package indexes · htmlq · Quelle: dl-cdn.alpinelinux.org
nix profile install nixpkgs#htmlqnixpkgs package indexes · pkgs/by-name/ht/htmlq/package.nix · Quelle: api.github.com
sudo pacman -S htmlqArch Linux sync databases · htmlq · Quelle: geo.mirror.pkgbuild.com
scoop install main/htmlqScoop official bucket manifest trees · bucket/htmlq.json · Quelle: api.github.com
Überblick
Uses CSS selectors to extract bits content from HTML files
Verlauf
htmlq is a Rust command-line tool that applies CSS selectors to HTML input, deliberately positioning itself as 'like jq, but for HTML.' Its package-manager appeal is direct: it gives shell users a compact selector-based extractor for scraping, inspection, and pipeline work.
The upstream README describes htmlq as a tool that extracts pieces of HTML files with CSS selectors. Michael Maclean's project post says it grew out of web-scraping work where Python and BeautifulSoup were workable but slow to start repeatedly inside shell-oriented loops.
The public release stream is small and concentrated: tags show v0.2.0 and v0.3.0 in September 2021 and v0.4.0 in January 2022. That pattern matches a focused utility whose interface stabilized around selector extraction, text output, attribute extraction, and shell installation paths.
The README lists Cargo, FreeBSD pkg, Homebrew, and Scoop installation paths, while the input package facts also record Alpine, MacPorts, Nix, Arch, and Scoop packaging. That spread is notable for a small Rust CLI because it shows adoption by users who want jq-like HTML querying without writing per-task scripts.
htmlq is used in pipelines that fetch or read HTML and then select elements with CSS selectors. It is adjacent to `jq` workflows, but chooses web-native selectors instead of JSON paths, making it useful for one-off scraping, documentation checks, and command-line extraction from generated HTML.
For package nerds, htmlq is a neat example of the Rust single-binary CLI wave: a narrowly scoped tool, easy to install through Cargo or OS package managers, with a name and interface that map an existing Unix mental model from JSON to HTML.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
htmlq | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:htmlq |
|---|---|
| Version | 0.4.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/htmlq |
| Homepage | https://github.com/mgdm/htmlq |
| Repository | https://github.com/mgdm/htmlq |
| Upstream-Dokumentation | https://github.com/mgdm/htmlq |
| Lizenz | MIT |
| Quellarchiv | https://github.com/mgdm/htmlq/archive/refs/tags/v0.4.0.tar.gz |
| Build-Abhängigkeiten | rust |
| Bottle | verfügbar (auf 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 | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | htmlq |
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
htmlq
nix profile install nixpkgs#htmlqhtmlq 0.4.0-r1
Like jq, but for HTML
sudo apk add htmlqhtmlq 0.4.0-3
Like jq, but for HTML
sudo pacman -S htmlqhtmlq
sudo port install htmlqmain/htmlq
scoop install main/htmlqQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.