LinkPeek is a Flutter package that fetches rich metadata from web links, such as title, description, thumbnail, favicon, and dominant color. It simplifies the process of displaying link previews with a built-in popup widget, enhancing user experience in social or content-sharing apps. The package supports Android, iOS, and macOS, making it ideal for cross-platform applications that handle shared URLs.
Use cases
- Displaying link previews in chat apps
- Enhancing social media sharing features
- Improving content discovery in feeds
- Integrating rich link metadata in messaging platforms
Key features
- Fetches title, description, and thumbnail
- Extracts favicon and dominant color
- Includes a ready-to-use preview popup
- Supports multiple platforms
- Simple integration via pub add
Suitable for
- Social media applications
- Messaging and chat interfaces
- Content aggregation tools
- Cross-platform web link previews
Considerations
- Requires internet access to fetch metadata
- May have delays on slow connections
- Popup behavior may need customization for complex layouts
- Depends on external URL responses for accuracy
