Automic VaultAutomic Vault

brew

hq mit Homebrew installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für hq in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install hq

local Homebrew formula metadata

Überblick

Paketzusammenfassung

Jq, but for HTML

Verlauf

Projektgeschichte und Nutzung

hq is a Rust command-line tool for extracting structured JSON from HTML with CSS selectors. Its README summarizes the idea as `jq, but for HTML`.

Projektgeschichte

The project lives in the `orf/html-query` repository as a small Rust workspace with crates for the CLI, AST, extractor, and web UI. The README documents a selector syntax that looks JSON-shaped but uses CSS selectors as values, then emits JSON output.

Adoptionsgeschichte

hq is packaged through Homebrew and published on crates.io as `html-query`. The crates.io metadata records the crate creation in December 2022 and points back to the upstream repository lineage, while the README documents installation through either `brew install hq` or `cargo install html-query`.

Wie es verwendet wird

Users pass hq a query such as `{posts: .athing | [{title: .titleline > a}]}` to select HTML elements and shape the result as JSON. The documented syntax includes text extraction, attribute extraction, parent selection, sibling selection, and nested arrays or objects.

The common use case is quick shell scraping: fetch or pipe HTML, select useful pieces with CSS selectors, and hand the resulting JSON to other command-line tools.

Warum Paket-Nerds sich dafür interessieren

hq is interesting because it imports the jq mental model into HTML scraping without trying to become a full crawler or browser automation framework. For package nerds, it belongs to the small-tool lineage where each file format gets a composable query command.

It also shows a familiar Rust CLI distribution pattern: a crates.io package for Cargo users, a GitHub repository with a web demo, and a Homebrew formula for users who want a binary package.

Zeitleiste

  • 2022: crates.io records the `html-query` crate creation.
  • 2023: crates.io records version 1.2.2 of `html-query`.
  • 1.2.2: Homebrew packages hq from the upstream `html-query-v1.2.2` GitHub archive.

Related projects

  • jq is the direct conceptual comparison used in the hq README.
  • CSS selector engines and Rust HTML parsing crates provide the underlying interaction model.
  • htmlq is a related but separate CLI in the broader `jq for HTML` family.

Sicherheitslage

Noch keine Protected-Tool-Abdeckung gefunden

Für hq wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 10 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
hqcliglobales Executable

Aktualität

Version und 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.

Seite generiert2026-07-25
Manager-Version1.2.2
Manager aktualisiert2026-06-15
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://github.com/orf/html-query

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:hq
Version1.2.2
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/hq
Homepagehttps://orf.github.io/html-query/
Repositoryhttps://github.com/orf/html-query
Upstream-Dokumentationhttps://github.com/orf/html-query#readme
LizenzMIT
Quellarchivhttps://github.com/orf/html-query/archive/refs/tags/html-query-v1.2.2.tar.gz
Zuletzt aktualisiert2026-06-15T10:20:18-04:00
Pulseupdated
Build-Abhängigkeitenrust
Bottleverfügbar (auf arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehq
Version Scheme0
Revision0
Conflicts With
  • proxygen
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Combined YAML source

View the package source record on GitHub.

combined/hq.yml

Verwendete Quellen

  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment