Ross ROSS = Recommend OSS · open-source software intelligence for agents

mgdm/htmlq

Like jq, but for HTML. observed · 2026-08-28

github.com/mgdm/htmlq · Rust · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

61/100

  • Activity 84
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2675
  • days_rel: n/a
  • days_push: 98
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

7576 stars · 136 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

htmlq is a command-line tool, like jq but for HTML, that extracts content from HTML documents using CSS selectors. Written in Rust, it reads from files or stdin and outputs selected elements, attributes, or text.

Use cases

  • extract elements from html using css selectors from the command line
  • get all links from a web page with curl piped into a filter
  • pull specific attributes like href out of an html file
  • pretty-print or extract text content from html in shell scripts
  • scrape bits of a page by id without writing a parser

When to choose

  • you want jq-style ad-hoc HTML querying in shell pipelines
  • you need a fast, dependency-free CLI for extracting HTML content
  • you're scripting page scraping with curl and CSS selectors

When to avoid

  • you need full browser rendering or JavaScript execution
  • you need robust scraping of malformed pages at scale
  • you want a programmatic HTML parsing library rather than a CLI

Facets

cli-tool · maturity stable

parser web-scraping cli developer-tools developer-tools web-development crawlers cli windows rust cross-platform html-parsing css-selectors jq-like text-processing unix-tools command-line linux macos

2 sources

Member repositories

RepositoryRoleHealth v2
mgdm/htmlqmain61

For agents

markdown · JSON · MCP: product_card(name="mgdm/htmlq")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem