Let's talk about favicons...everything you've ever wanted (and didn't want) to know, and how Icon Horse can help you.
#buildinpublic
https://t.co/9xkDZWdB8U
If you need to grab a favicon from a website for your indie project, you should check out @iconhorse by @mtimofiiv. Its super easy to use and gets the job done. Many thanks to @mtimofiiv, really good product!
https://t.co/5qZtKJUrnu
@jezmck I looked into this! The crawler attempts to load the site, but there is a redirect loop. It doesn't happen in the browser, possibly some kind of bot detection?
Similarly, the https://t.co/xSS45YGOWO URL also has a redirect loop. That one is also in the browser.
@jezmck Cool, I've added this now, give it a few minutes to deploy and it will be live π
If you encounter any others like this, please let me know and I will add them!
@jezmck You're not the first person to notice that the Google icons don't get served correctly because of that redirect logic.
Perhaps I should make a sort of manual override for Google products to display icons they do when they're logged in?
What do you think?
@jezmck Hi again @jezmck!
The icon is popping up is that when you attempt to load https://t.co/kNACmfs8u9 while not logged in, you get redirected to https://t.co/Y71KVL7m46 to log in.
That icon is the favicon for that domain.
@chrisbbreuer@KostjaPalovic Its built in Next.js and on @vercel they were serverless endpoints. When we migrated to @appliku managed @linode boxes they were deployed as a typical non-serverless app.
We currently use @Cloudflare for CDN service.
With more people using our icon service lately, hosting cost was becoming a challenge.
So we switched our hosting to using @linode provisioned with @appliku.
The founder @KostjaPalovic helped iron out some small issues & everything's now working perfectly on the new setup π€
I am honestly pretty blown away by the amount of icons π @iconhorse serves daily: ~1 MILLION.
The project started when I had a need for icons of websites for another of my projects.
Turns out I was not alone! π₯°
#buildinpublic#makersneakpeek
Bought https://t.co/UCGp4Vc2wW - just in case anyone got any ideas π€‘
No plans to use it yet, https://t.co/gZ5Rrj4MM9 is still the main domain.
#buildinpublic#makersneakpeek
One more caveat to icons on websites: Data URLs.
Sometimes, websites embed base64-encoded images instead of linking to an image.
As of this morning, our API will now serve these icons just like any other! π
Example in image is @helpscout#buildinpublic#makersneakpeek
We have now added BIMI logos (via @bimigroup standard) to our API! π₯
These will now be available alongside regular icons, including favicons, Apple icons & Android icons.
#buildinginpublic
π’ Today, we migrated our @stripe account to a new account in π¨π¦.
Your subscriptions should not be affected (they were re-created 1 for 1 and the old ones voided), but please DM on Twitter or email [email protected] if any issues come up.
Thanks!
Minor updates to our API today:
1β£ You can now use X-API-Key header instead of API key by query param
2β£ You can now get a 404 HTTP response code along with the placeholder image (useful if you need to verify if the favicon exists while not breaking your UI)
#buildinpublic π
Working on a new workflow to bring all my @webflow sites into @NotionHQ automatically, I found https://t.co/cHRKKBV6S8 @iconhorse to be exceptionally good grabbing the favicon. Way better the the gstatic api. bravo!