ericchiang/pup
Parsing HTML at the command line observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- 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: 4385
- days_rel: n/a
- days_push: 853
- n_releases_24m: 0
Adoption not part of the score
8435 stars · 262 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
pup is a command line tool for parsing and filtering HTML using CSS selectors, inspired by jq. It reads HTML from stdin, applies selector-based filters and display functions, and prints results to stdout.
Use cases
- extract links from an html page from the terminal
- parse html with css selectors in a shell pipeline
- pretty-print and indent messy html
- scrape titles and attributes from web pages in bash
- filter html elements by tag, id, or attribute on the command line
When to choose
- you need jq-like html filtering in shell scripts or one-liners
- you want a fast, dependency-free terminal tool for exploring html
- you're already comfortable with css selectors
When to avoid
- you need full browser rendering or javascript execution
- you need a scraping framework with scheduling, retries, or proxies
- you want a programmatic html parsing library rather than a cli
Facets
cli-tool · maturity maintenance
parser web-scraping cli developer-tools developer-tools web-development crawlers cli windows cross-platform html-parsing css-selectors jq-inspired stdin-stdout terminal command-line macos linux
1 source
- readme: https://github.com/ericchiang/pup · fetched 2026-08-28 · 51f71c12a7b7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ericchiang/pup | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem