Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

11ty Logo

IndieWeb Avatar API

A runtime service to extract avatar images from:

  1. <link rel="apple-touch-icon">
  2. <link rel="apple-touch-icon-precomposed">
  3. <link rel="icon">
  4. favicon.ico (added September 20, 2021)
  5. favicon.ico that isn’t an .ico file (added December 1, 2023)
  6. First <img> in <header> (added December 1, 2023)
  7. TODO: Support Data URIs in attribute values. (e.g. https://joshcrain.io)
  8. TODO: <link rel="mask-icon">
  9. TODO (maybe): <link rel="manifest">
  10. TODO (maybe): <meta name="msapplication-config">

All rel lookups match against attribute values that are space separated lists.

Update July 22, 2024: Supports svg favicons but converts to png for performance reasons (some folks had huge SVG favicons).

Usage

URLs have the formats:

/:url/
  • url must be URI encoded.

About

Return an optimized avatar image from a domain name input.

Topics

Resources

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.