pub package

juneflow_github

linkpeek_module

get metadata from link and example

Installation

  1. If the juneflow project doesn't exist, please create it by following this guide.
  2. open terminal in the juneflow project root directory, enter the following command.
june add linkpeek_module

Usage

LinkPeekModel? linkPeekModel = await LinkPeek.fromUrl('https://youtube.com/shorts/-uNcserCtXE?si=Zgn-beswL-l-A9kx');
print('title: ${linkPeekModel.title}');
print('url: ${linkPeekModel.url}');
print('description: ${linkPeekModel.description}');
print('defaultColor: ${linkPeekModel.defaultColor}');
print('colorScheme: ${linkPeekModel.colorScheme}');
print('domain: ${linkPeekModel.domain}');
print('thumbnail: ${linkPeekModel.thumbnail}');
print('favicon: ${linkPeekModel.webIcon}');