Site icon AppTractor

Unfurl: превью страниц для Android

Unfurl — библиотека извлекает метаданные веб-страницы и генерит ее превью, как в Slack.

Пример использования:

val unfurler = Unfurler()
println(unfurler.unfurl("https://saket.me/great-teams-merge-fast/"))

UnfurlResult(
  url = "https://saket.me/great-teams-merge-fast", 
  title = "Great teams merge fast", 
  description = "Observations from watching my team at Square produce stellar work while moving fast and not breaking things.", 
  favicon = "https://saket.me/wp-content/uploads/2022/03/cropped-saket-photo-180x180.jpg", 
  thumbnail = "https://saket.me/wp-content/uploads/2021/02/great_teams_merge_fast_cover.jpg"
)

Unfurl на GitHub: https://github.com/saket/unfurl
Платформа: Android
⭐️: 181
Exit mobile version