🚀 Emoji Favicons

The fastest way to get a Favicon for your FastHTML App

Need a favicon for your FastHTML app? 🤕 Skip the headache of having to source and host multiple image files and formats and instead convert any emoji into an instant favicon!

Inspired by: emojicon.dev and this HN discussion

Simply copy this 1 liner...
Link(rel="icon",href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='0.9em' font-size='90'>🚀</text></svg>")
into your FastHTML header...
from fasthtml.commons import *

hdrs = (Link(rel="icon",href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='0.9em' font-size='90'>🚀</text></svg>"))

app, rt = fast_app(hdrs = hdrs)

serve()
And your Favicon is now live! (Take a look at this tab ☝️)