# Generating rich link previews 10x faster

DevFeed: [Generating rich link previews 10x faster](<https://devfeed.tech/articles/generating-rich-link-previews-10x-faster-29027.md>)

Original publisher: [Read original article](<https://saket.me/generating-rich-link-previews-10x-faster/>)

Author: Saket Narayan

Published: 2025-12-23T06:10:00Z

Content type: tutorial

Language: en

Sources: [Saket Narayan](<https://devfeed.tech/sources/saket-narayan.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Library](<https://devfeed.tech/topics/library.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [http](<https://devfeed.tech/tags/http.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [library](<https://devfeed.tech/tags/library.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [real-time](<https://devfeed.tech/tags/real-time.md>)

## AI overview

This article explains how the Kotlin open-source library unfurl generates rich link previews by extracting social metadata. It describes replacing full-page downloads with jsoup's streaming HTML parser, enabling the downloader to stop once the relevant metadata is found. The change made unfurl 2.3.0 an order of magnitude faster and reduced data downloads, while also enabling trials with multiple HTTP user agents.

## Source excerpt

unfurl is one of my favorite open source libraries. Not because it's clever or complex, but because it's a tiny kotlin library that does one thing well: generate rich link previews by extracting their social metadata. You can try out its demo on your computer: brew install saket/repo/unfurl unfurl https://dog.ceo If you've ever pasted a [...] The post Generating rich link previews 10x faster appeared first on Saket Narayan.