SearXNG Favicon Grabber Worker (self-hosted) #3898
Aetherinox
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks to the amazing work by @return42, we now have a favicon resolver in SearXNG. Before this came along, I had written a favicon grabber that I needed for other reasons, and I needed it hosted off-site, so I decided to write up a Cloudflare worker.
Since the team of SearXNG released the favicon functionality, I made some changes to my worker, and decided to test it with SearXNG, and it works beautifully.
I've thrown the code on Github if anyone else wants to host their own icon grabber. The worker includes many ways to grab icons including hosting your own Github repo to override certain icons, support for Google, DuckDuckGo, yandex, and a few others, and also code scanning on the target domain to find the fav icon.
If anyone has any experience with code, by all means, change it, tweak with it, set it up to work how you want. The worker can then be installed into SearXNG as a plugin and it can be used as the main favicon grabber service for sear. I've been adjusting mine and playing with it for hours now, and it works great.
Code available at:
Obviously to use this, you'll need to sign up for a free Cloudflare account.
I've tried to write up detailed instructions. I've got other stuff to do with it, so there may be slight changes.
Thanks again to @return42 and the others who worked on favicons. It has been a great addition. Couldn't be happier.
Beta Was this translation helpful? Give feedback.
All reactions