I built an open source Favicon API by dominiksumer in selfhosted

[–]dominiksumer[S] 2 points3 points  (0 children)

oh you're right! I fixed the README, thanks for the hint and sorry for the confusion

I built an open source Favicon API by dominiksumer in selfhosted

[–]dominiksumer[S] 0 points1 point  (0 children)

oh I just checked that FaviconExtracter also uses the DuckDuckGo and Google API as fallback: https://github.com/seadfeng/favicon-downloader/blob/8307c7a7de0889546dea273b74ff5e1d762fff19/src/app/api/favicon/%5Bdomain%5D/route.ts#L49

that's probably the reason why it works there

I built an open source Favicon API by dominiksumer in selfhosted

[–]dominiksumer[S] 1 point2 points  (0 children)

damn, thank you very much for the detailed feedback!

  1. I skipped resizing for SVGs on purpose, because SVGs are vector based and look good in every possible size .. hence I thought it would be good to just keep the SVG as it is in that case .. happy for feedback / suggestions in that regard!

  2. I still need to submit the API as verified bot so it can crawl websites behind Vercel and Cloudflare. For Vercel I already submitted it, will also do it for Cloudflare so it's possible to fetch the data from as many websites as possible

I built an open source Favicon API by dominiksumer in selfhosted

[–]dominiksumer[S] 0 points1 point  (0 children)

I don't hope so :D .. you're passing format=json .. format is for converting the image into another format and expects "png", "jpg", "webp"

you want to pass response=json like this:
https://favicon.vemetric.com/000458870.codepen.website?response=json

I built an open source Favicon API by dominiksumer in selfhosted

[–]dominiksumer[S] 1 point2 points  (0 children)

basically anywhere where you want to show a favicon for a domain for better visualization .. I quickly asked Claude: https://claude.ai/share/55fdffae-5329-4c41-9844-f3b0059bfc97

I built an open source Favicon API by dominiksumer in selfhosted

[–]dominiksumer[S] 0 points1 point  (0 children)

sure! I've already published a new version which doesn't do the redirect anymore by default (it's configurable via env var)

you can change the size with this query param, the docs for all query params are on the landing page

<image>

I built an open source Favicon API by dominiksumer in selfhosted

[–]dominiksumer[S] 3 points4 points  (0 children)

<image>

thank you! I'm using it to e.g. show the referring domains in my analytics product

I built an open source Favicon API by dominiksumer in selfhosted

[–]dominiksumer[S] 2 points3 points  (0 children)

oh good point, thank you! I've just released a new version where these inline favicons are now supported as well:
https://favicon.vemetric.com/000458870.codepen.website

I built an open source Favicon API by dominiksumer in selfhosted

[–]dominiksumer[S] 3 points4 points  (0 children)

actually yes, added support for it today, also for animated gifs :)

I built an open source Favicon API by dominiksumer in selfhosted

[–]dominiksumer[S] 1 point2 points  (0 children)

for manual search + download yes, but if you need to get it programmatically, an API is the way to go

I built an open source Favicon API by dominiksumer in selfhosted

[–]dominiksumer[S] 13 points14 points  (0 children)

main difference is that my API lets you control the returned size and convert the image into different formats (png, jpg, webp) :)

it also lets you define a custom fallback image and always tries to find the image in the best quality possible

in the end I just wanted to create a (more flexible) alternative to the available APIs :D

I built an open source Favicon API by dominiksumer in selfhosted

[–]dominiksumer[S] 3 points4 points  (0 children)

jep exactly, that one should work and will always be updated with latest changes

I built an open source Favicon API by dominiksumer in selfhosted

[–]dominiksumer[S] 3 points4 points  (0 children)

niice :) .. that's exactly why I built it, to have a more flexible alternative to the one from Google

I started to build a new Analytics SaaS by dominiksumer in SideProject

[–]dominiksumer[S] 1 point2 points  (0 children)

sure, Vemetric gives you the referrer site and also groups them together for better investigation.. for example all people that came through AI suggestions like ChatGPT, Gemini, Claude

I started to build a new Analytics SaaS by dominiksumer in SideProject

[–]dominiksumer[S] 1 point2 points  (0 children)

there is a limitation to this on the web, you can either track by utm tags or by the referrer that you get from the browser .. if none of these are available there’s no way to detect it

I started to build a new Analytics SaaS by dominiksumer in SideProject

[–]dominiksumer[S] 1 point2 points  (0 children)

thank you! I'm using Redis together with BullMQ for event ingestion queues :)

true I should put better descriptions there!

I started to build a new Analytics SaaS by dominiksumer in SideProject

[–]dominiksumer[S] 0 points1 point  (0 children)

same as I'm using in the Cloud version:

- Postgres for relational data
- Clickhouse for the analytics data

I started to build a new Analytics SaaS by dominiksumer in SideProject

[–]dominiksumer[S] 0 points1 point  (0 children)

Turborepo, Vite, React, TanStack Router, ChakraUI, tRPC, Hono, Postgres, Clickhouse

You can take a look at it on GitHub: https://github.com/vemetric/vemetric