Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rk0cc/oghref
Rich information link preview in Dart with models and Flutter widgets
https://github.com/rk0cc/oghref
dart facebook flutter flutter-widget link meta open-graph-protocol rich-information twitter twitter-card x
Last synced: 3 months ago
JSON representation
Rich information link preview in Dart with models and Flutter widgets
- Host: GitHub
- URL: https://github.com/rk0cc/oghref
- Owner: rk0cc
- License: agpl-3.0
- Created: 2023-09-26T15:55:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-02T04:43:50.000Z (7 months ago)
- Last Synced: 2024-08-22T23:21:28.447Z (6 months ago)
- Topics: dart, facebook, flutter, flutter-widget, link, meta, open-graph-protocol, rich-information, twitter, twitter-card, x
- Language: Dart
- Homepage:
- Size: 689 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE-MODEL-ONLY
Awesome Lists containing this project
README
# Rich information link preview in Dart with models and Flutter widgets
OgHref offers structuring website rich information link in Dart object model and render to Flutter widgets. This repository provides all packages which (planned to) publish to [pub.dev](https://pub.dev). For those repositories serves as programmes, please visit [Applications](#applications) section.
For more technical information of OgHref, please visit [wiki page](https://github.com/rk0cc/oghref/wiki).
## Packages included in this repository
* Model
* Builder
* Media control (unlisted in pub.dev)
* Widgets
* Cupertino
* Fluent
* Material## Features
* Read rich information link by inspecting `` elements of HTML `` section
* Built-in support for extracting Open Graph and Twitter Card context.
* Allows further expansion on extracting context using other protocols with `` tags.## Limitations
* Only data comes from `` tag can be recognized from built-in parser, and the property name must comes with prefix.
* It is possible to parse non-`` data into `MetaInfo` with dedicated parser.
* All supported protocols parser only able to retrive fundamental data and disregard any additional properties stated.## Applications
* [oghref_cmd](https://github.com/rk0cc/oghref_cmd): Command line tools for displaying metadata in website.
### Third-party repository
(No repositories available yet)
## Licenses
* AGPL-3.0 or later if republish packages based on `oghref_model`.
* MIT if publish as binary executable file or involves with Flutter.