Skip to content

realtimeskills/api-indieweb-avatar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. TODO: Support Data URIs in attribute values. (e.g. https://joshcrain.io)
  6. TODO: <link rel="mask-icon">
  7. TODO (maybe): <link rel="manifest">
  8. TODO (maybe): <meta name="msapplication-config">

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

Usage

URLs have the formats:

/:url/
  • url must be URI encoded.

Deploy your own

Deploy to Netlify

About

Return an optimized avatar image from a domain name input.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%