Grab favicons of sites using Google's favicon api.
Google's favicon api contains redirects which means that not all application will be able to follow the redirects and acquire the favicons of the desired sites. This is a proxy that grabs the favicon of a site by following the redirects and responds with a single HTTP response.
https://gicon.vercel.app/?{param}={value}
https://gicon.netlify.app/.netlify/functions/api?{param}={value}
Param | Value | Description |
---|---|---|
url | string |
The site url or domain |
sz | number |
The size of the favicon e.g. 16, 32, 64, 128, 256. Default is 256. Note that it may not reach the exact size. |
https://gicon.vercel.app/?url=google.com
https://gicon.vercel.app/?url=https://www.github.com
https://gicon.vercel.app/?sz=64&url=netlify.com
https://gicon.netlify.app/.netlify/functions/api?sz=128&url=youtube.com
https://gicon.netlify.app/.netlify/functions/api?url=google.com
- Express
- Serverless-http
- Axios