utf8.xyz icon indicating copy to clipboard operation
utf8.xyz copied to clipboard

🎨 Ability to serve favicons

Open jefftriplett opened this issue 6 months ago • 2 comments

If you are looking for a new feature, does supporting favicons like https://fav.farm feel like a good fit?

I wouldn't mind finding an alternative for some of my projects.

jefftriplett avatar Aug 13 '25 14:08 jefftriplett

You can use SVG favicons to achieve this without requiring an intermediate service:

<link
  rel="icon"
  href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🎨</text></svg>"
/>

Source of the snippet: https://favicons.joshuasoileau.com/

sethmlarson avatar Aug 13 '25 15:08 sethmlarson

well done, but 🏆 for grossness of that format which I'm sure my linter will love 😆

You can use SVG favicons to achieve this without requiring an intermediate service:

Source of the snippet: https://favicons.joshuasoileau.com/

jefftriplett avatar Aug 13 '25 18:08 jefftriplett