Posts, a community app by Read.cv

Thread
Tevin ✧

Is there actually a website to easily find favicons of websites?

Nick Noble
Replying to @interqualia

…their website 🙃

Tevin ✧
Replying to @nickisnoble

Yeah obviously… but I’d want an overview so I can easily grab them without having to go their source code

Nick Noble
Replying to @interqualia

How many sites? Do you need to do this dynamically or once?

Nick Noble
Replying to @interqualia

What are you building the site with, you could probably do this at build time if JS.

Tevin ✧
Replying to @nickisnoble

Probably HTML, CSS and Vanilla JS — might look at react for easy composable components.

noClaps
Replying to @interqualia @nickisnoble

`fetch("https://[site.tld]/favicon.ico")` on build. You can try-catch to check for favicon.png as well if the ICO file doesn't exist. Alternatively, parse the HTML for the `<link rel="icon">` and use that as the favicon URL

Tevin ✧
Replying to @noclaps @nickisnoble

Saving this comment, thank you once again 🙌🏾