Description
ReadabilityKit helps you to extract a relevant preview (title, description, image and video) from the URL.
The extraction goal is to try and get the best extraction from the article for servicing applications that need to show a preview of a web URL along with an image. Comparison with other libraries available here and why you should use ReadabilityKit instead of SwiftLinkPreview here.
Inspired by snacktory and newspaper.
ReadabilityKit alternatives and similar libraries
Based on the "Utility" category.
Alternatively, view ReadabilityKit alternatives based on common mentions on social networks and blogs.
-
SwifterSwift
A handy collection of more than 500 native Swift extensions to boost your productivity. -
SwiftGen
The Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs! -
SwiftGen-Storyboard
The Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs! -
R.swift
Strong typed, autocompleted resources like images, fonts and segues in Swift projects -
swift-protobuf
Plugin and runtime library for using protobuf with Swift -
Dollar
A functional tool-belt for Swift Language similar to Lo-Dash or Underscore.js in Javascript -
ExSwift
a set of Swift extensions for standard types and classes. -
EZSwiftExtensions
:smirk: How Swift standard types and classes were supposed to work. -
DifferenceKit
💻 A fast and flexible O(n) difference algorithm framework for Swift collection. -
Result
Swift type modelling the success/failure of arbitrary operations. -
DeepDiff
🦀Amazingly incredible extraordinary lightning fast diffing in Swift -
Device
Light weight tool for detecting the current device and screen size written in swift. -
SwiftLinkPreview
It makes a preview from an URL, grabbing all the information such as title, relevant texts and images. -
WhatsNew
Showcase new features after an app update similar to Pages, Numbers and Keynote. -
Codextended
Extensions giving Swift's Codable API type inference super powers 🦸♂️🦹♀️ -
Popsicle
Delightful, extensible Swift value interpolation framework. -
SwiftyJSONAccelerator
macOS app to generate Swift 5 code for models from JSON (with Codeable) -
Playbook
📘A library for isolated developing UI components and automatically taking snapshots of them. -
ObjectiveKit
Swift-friendly API for a set of powerful Objective C runtime functions. -
Compass
:earth_africa: Compass helps you setup a central navigation system for your application -
Bow
🏹 Bow is a cross-platform library for Typed Functional Programming in Swift -
Solar
A Swift micro library for generating Sunrise and Sunset times. -
Pythonic.swift
Pythonic tool-belt for Swift – a Swift implementation of selected parts of Python standard library. -
SwiftyUtils
All the reusable code that we need in each project -
Rugby
🏈 Cache CocoaPods for faster rebuild and indexing Xcode project -
BetterSafariView
A better way to present a SFSafariViewController or start a ASWebAuthenticationSession in SwiftUI. -
SwiftPlantUML
A command-line tool and Swift Package for generating class diagrams powered by PlantUML
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ReadabilityKit or a related project?
README
ReadabilityKit
Preview extractor for news, articles and full-texts in Swift
We are a development agency building phenomenal apps.
Features
Extracts:
- [x] Title
- [x] Description
- [x] Top image
- [x] Top video
- [x] Keywords
- [x] Date
Usage
let articleUrl = URL(string: "https://someurl.com/")!
Readability.parse(url: articleUrl, completion: { data in
let title = data?.title
let description = data?.description
let keywords = data?.keywords
let imageUrl = data?.topImage
let videoUrl = data?.topVideo
let datePublished = data?.datePublished
})
To run the example project, clone the repo, and run pod install
from the Example directory first.
Installation
CocoaPods
pod 'ReadabilityKit'
Carthage
github "exyte/ReadabilityKit"
Manually
- Install Ji XML parser.
- Download and drop all files from Sources folder in your project.
Development Environment Setup
- Install Carthage.
- Check out and build the project's dependencies:
carthage bootstrap --platform <name>
Requirements
- iOS 10.0+ / macOS 10.12+ / tvOS 10.0+ / watchOS 3.0+
License
ReadabilityKit is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the ReadabilityKit README section above
are relevant to that project's source code only.