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

scinfu/SwiftSoup

SwiftSoup: Pure Swift HTML Parser, with best of DOM, CSS, and jquery (Supports Linux, iOS, Mac, tvOS, watchOS) observed · 2026-08-28

github.com/scinfu/SwiftSoup · homepage · Swift · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

99/100

  • Activity 99
  • Release rhythm 99
  • 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: 7
  • age_days: 3575
  • days_rel: 8
  • days_push: 8
  • n_releases_24m: 34

Full methodology

Adoption not part of the score

5119 stars · 398 forks observed · 2026-08-28

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

SwiftSoup is a pure Swift HTML parser library that conforms to the WHATWG HTML5 specification and offers DOM traversal, CSS selectors, and jQuery-like APIs. It supports parsing, scraping, modifying, and sanitizing HTML across macOS, iOS, tvOS, watchOS, and Linux.

Use cases

  • parse html from a string or file in swift
  • scrape data from web pages using css selectors
  • extract links and text from html documents
  • sanitize user-submitted html to prevent xss
  • clean up messy tag soup html into a valid parse tree
  • modify html elements and attributes programmatically

When to choose

  • you need HTML parsing in a Swift project on Apple platforms or Linux
  • you want a pure Swift solution with no C dependencies
  • you need jQuery-style selectors and DOM manipulation
  • you must sanitize untrusted HTML input

When to avoid

  • your project is not in Swift
  • you need JavaScript execution or a full browser engine
  • you only need XML parsing rather than HTML

Facets

library · maturity stable

parser web-scraping security web-development parsers developer-tools cross-platform html-parsing css-selectors dom jquery-like xss-sanitization whatwg-html5 swift-package-manager macos ios linux swift

2 sources

Member repositories

RepositoryRoleHealth v2
scinfu/SwiftSoupmain99

For agents

markdown · JSON · MCP: product_card(name="scinfu/SwiftSoup")

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