macOS
brew install htmlqlocal Homebrew formula metadata
sudo port install htmlqMacPorts ports tree · www/htmlq/Portfile · ソース: api.github.com
brew
htmlq のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install htmlqlocal Homebrew formula metadata
sudo port install htmlqMacPorts ports tree · www/htmlq/Portfile · ソース: api.github.com
sudo apk add htmlqAlpine Linux edge package indexes · htmlq · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#htmlqnixpkgs package indexes · pkgs/by-name/ht/htmlq/package.nix · ソース: api.github.com
sudo pacman -S htmlqArch Linux sync databases · htmlq · ソース: geo.mirror.pkgbuild.com
scoop install main/htmlqScoop official bucket manifest trees · bucket/htmlq.json · ソース: api.github.com
概要
Uses CSS selectors to extract bits content from HTML files
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
htmlq | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:htmlq |
|---|---|
| バージョン | 0.4.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/htmlq |
| ホームページ | https://github.com/mgdm/htmlq |
| リポジトリ | https://github.com/mgdm/htmlq |
| 上流ドキュメント | https://github.com/mgdm/htmlq |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/mgdm/htmlq/archive/refs/tags/v0.4.0.tar.gz |
| ビルド依存関係 | rust |
| 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 | 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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/htmlqソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.