sibprogrammer/xq
Command-line XML and HTML beautifier and content extractor observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 99
- Release rhythm 75
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 165
- age_days: 1761
- days_rel: 10
- days_push: 9
- n_releases_24m: 4
Adoption not part of the score
1142 stars · 34 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
xq is a command-line XML and HTML beautifier and content extractor written in Go. It formats and syntax-highlights markup, supports XPath and CSS selector queries for content extraction, and can convert XML to JSON.
Use cases
- pretty-print and syntax-highlight xml files in the terminal
- extract values from xml using xpath queries
- extract html elements with css selectors
- convert xml to json from the command line
- format html pulled from curl through stdin
- check for presence of an xml node in shell scripts
When to choose
- you need a jq-like tool for XML/HTML instead of JSON
- you want fast, dependency-free markup formatting in shell pipelines
- you need to extract node text or attributes via XPath or CSS selectors
When to avoid
- you need full XML schema validation or XSLT transformation
- you need to query JSON or YAML rather than XML/HTML
- you need a GUI or programmatic library API rather than a CLI
Facets
cli-tool · maturity active
parser formatter cli developer-tools developer-tools files cli cross-platform windows xml html xpath css-selectors syntax-highlighting jq-like json-conversion command-line macos linux
1 source
- readme: https://github.com/sibprogrammer/xq · fetched 2026-08-28 · 70fb1e05d644
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sibprogrammer/xq | main | 91 |
For agents
markdown · JSON · MCP: product_card(name="sibprogrammer/xq")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem