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?

Tevin ✧
Replying to @nickisnoble

About 50+ sites, I want to create cards for tools and gather them on a site. So dynamically would be preferable, but I’m thinking for now to create a folder that I can load them from.

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 🙌🏾