https://github.com/sphericalkat/readability-flutter
A flutter plugin that wraps around https://github.com/go-shiori/go-readability
https://github.com/sphericalkat/readability-flutter
Last synced: 20 days ago
JSON representation
A flutter plugin that wraps around https://github.com/go-shiori/go-readability
- Host: GitHub
- URL: https://github.com/sphericalkat/readability-flutter
- Owner: SphericalKat
- License: mit
- Created: 2024-07-18T00:22:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-18T08:31:07.000Z (almost 2 years ago)
- Last Synced: 2026-04-01T15:07:04.161Z (3 months ago)
- Language: C
- Size: 27.2 MB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# readability
A flutter plugin that wraps the native Readability [library](https://github.com/go-shiori/go-readability) 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.
```dart
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.