# leonardocardoso/SwiftLinkPreview

It makes a preview from an URL, grabbing all the information such as title, relevant texts and images.

Repository: https://github.com/leonardocardoso/SwiftLinkPreview
Canonical: https://ross.abutalabs.com/products/swiftlinkpreview
Homepage: https://leocardz.com/swift-link-preview-5a9860c7756f
Language: Swift
License: MIT
License Family: permissive
Topics: swift, flow, watchos, tvos, macos, ios, carthage, cocoapods, swift-package-manager, crawler, preview, url, website, regular-expressions, relevant-texts
Archived: true
Last push: 2025-01-18T03:13:20+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 2, release rhythm 8, longevity 100
- inputs: {"age_days": 3737, "days_push": 592, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1385, forks 196 (observed 2026-08-28T04:04:34.846850+00:00)

## What it is
A Swift library that generates link previews from URLs by extracting titles, relevant text, and images. It supports iOS, macOS, watchOS, and tvOS and is distributed via CocoaPods, Carthage, and Swift Package Manager.

## Use cases
- generate link previews in a chat app
- extract title and images from a URL in Swift
- show website preview cards when users paste links
- scrape metadata from URLs on iOS
- get relevant text and thumbnails from web pages

## When to choose
- building an Apple-platform app in Swift that needs URL preview metadata
- you want a lightweight regex-based crawler without server dependencies
- you need support for older iOS/macOS/tvOS/watchOS versions

## When to avoid
- starting a new project, since the repo is archived and unmaintained
- you need robust metadata extraction that AI-based services now handle better
- your target platform is not Apple's ecosystem

## Facets
- artifact type: library
- maturity: abandoned
- function: web-scraping, parser, nlp
- domain: web-development, crawlers
- platform: -
- tags: link-preview, url-metadata, open-graph, swift-package-manager, cocoapods, carthage, natural-language-processing, ios, macos, swift, watchos

## Member repositories
- leonardocardoso/SwiftLinkPreview (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:34.846850+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:39:57.280265+00:00, confidence not recorded.
  - readme: https://github.com/leonardocardoso/SwiftLinkPreview (fetched 2026-08-28T04:04:34.846850+00:00, sha 40f4d39fb2f4)
  - homepage: https://leocardz.com/swift-link-preview-5a9860c7756f (fetched 2026-08-29T11:55:30.771704+00:00, sha 13d04ca15538)
- Data as of 2026-08-30T08:39:29.467469+00:00.
