sparklemotion/nokogiri
Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 99
- Release rhythm 89
- 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: 20.5
- age_days: 6624
- days_rel: 76
- days_push: 7
- n_releases_24m: 21
Adoption not part of the score
6277 stars · 942 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Nokogiri is a Ruby library for parsing, querying, modifying, and generating XML and HTML documents, built on native parsers like libxml2, libgumbo, and xerces. It supports DOM, SAX, and push parsing, XPath 1.0 and CSS3 selector search, XSD validation, XSLT transformation, and a Builder DSL.
Use cases
- parse html from a webpage in ruby
- scrape data from html tables
- query xml documents with xpath
- validate xml against an xsd schema
- transform xml with xslt
- build and generate xml documents in ruby
- extract links from an html page
When to choose
- you need fast, standards-compliant XML/HTML parsing in Ruby or JRuby
- you want XPath or CSS selector querying of documents
- you need secure-by-default parsing of untrusted documents
- you need SAX or streaming parsing for large documents
When to avoid
- you are not working in Ruby
- you need a lenient, forgiving scraper for badly broken HTML beyond what libgumbo handles
- you need XPath 2.0+ features (only XPath 1.0 is supported)
Facets
library · maturity stable
parser web-scraping serialization parsers web-development developer-tools ruby jvm windows cross-platform xml html html5 xpath css-selectors xslt sax-parser dom libxml2 ruby-gem schema-validation linux macos
7 sources
- readme: https://github.com/sparklemotion/nokogiri · fetched 2026-08-28 · 58c0dcb1736a
- homepage: https://nokogiri.org/ · fetched 2026-08-29 · 35f2e4961df1
- site_page: https://nokogiri.org/tutorials/installing_nokogiri.html · fetched 2026-08-29 · a3764f66ca2c
- site_page: https://nokogiri.org/CHANGELOG.html · fetched 2026-08-29 · 773c356568cf
- site_page: https://nokogiri.org/CONTRIBUTING.html · fetched 2026-08-29 · d1bbe1a85d22
- site_page: https://nokogiri.org/misc/CHANGELOG-archive.html · fetched 2026-08-29 · 13cd56f09a9c
- site_page: https://nokogiri.org/rdoc/index.html · fetched 2026-08-29 · 212e5b53c40b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sparklemotion/nokogiri | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="sparklemotion/nokogiri")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem