Go to file
Amogh Lele 74da8e2505 feat: add support for macos
Signed-off-by: Amogh Lele <amolele@gmail.com>
2024-07-18 05:47:07 +05:30
.vscode Initial commit 2024-07-18 00:29:09 +05:30
android feat(android): add native libraries 2024-07-18 01:39:21 +05:30
example feat: add support for macos 2024-07-18 05:47:07 +05:30
ios fix(ios): prevent tree shaking by including dummy function 2024-07-18 05:20:21 +05:30
lib feat: add support for macos 2024-07-18 05:47:07 +05:30
macos feat: add support for macos 2024-07-18 05:47:07 +05:30
src feat: add support for macos 2024-07-18 05:47:07 +05:30
.fvmrc Initial commit 2024-07-18 00:29:09 +05:30
.gitignore Initial commit 2024-07-18 00:29:09 +05:30
.metadata feat: add support for macos 2024-07-18 05:47:07 +05:30
analysis_options.yaml Initial commit 2024-07-18 00:29:09 +05:30
CHANGELOG.md feat: add support for macos 2024-07-18 05:47:07 +05:30
ffigen.yaml Initial commit 2024-07-18 00:29:09 +05:30
LICENSE fix: add license 2024-07-18 02:05:02 +05:30
pubspec.yaml feat: add support for macos 2024-07-18 05:47:07 +05:30
README.md fix(docs): add readme and changelog 2024-07-18 02:02:02 +05:30

readability

A flutter plugin that wraps the native Readability library for Android and iOS.

Usage

Simply call the parseAsync method with the URL of the article you want to parse. The method returns a ArticleResult object with the title, content, and excerpt of the article.

import 'package:readability/readability.dart';

final result = await Readability.parseAsync('https://example.com/article');
print(result.title);
print(result.content);

An example of how to use this plugin can be found in the example directory.