macOS
brew install htmlqlocal Homebrew formula metadata
sudo port install htmlqMacPorts ports tree · www/htmlq/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de htmlq pour les workflows d'agents IA.
installation
brew install htmlqlocal Homebrew formula metadata
sudo port install htmlqMacPorts ports tree · www/htmlq/Portfile · Source: api.github.com
sudo apk add htmlqAlpine Linux edge package indexes · htmlq · Source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#htmlqnixpkgs package indexes · pkgs/by-name/ht/htmlq/package.nix · Source: api.github.com
sudo pacman -S htmlqArch Linux sync databases · htmlq · Source: geo.mirror.pkgbuild.com
scoop install main/htmlqScoop official bucket manifest trees · bucket/htmlq.json · Source: api.github.com
aperçu
Uses CSS selectors to extract bits content from HTML files
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
htmlq | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:htmlq |
|---|---|
| Version | 0.4.0 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/htmlq |
| Page d'accueil | https://github.com/mgdm/htmlq |
| Dépôt | https://github.com/mgdm/htmlq |
| Docs amont | https://github.com/mgdm/htmlq |
| Licence | MIT |
| Archive source | https://github.com/mgdm/htmlq/archive/refs/tags/v0.4.0.tar.gz |
| Dépendances de compilation | rust |
| Bouteille | disponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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/htmlqpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.