{"id":18495395,"url":"https://github.com/victrme/favicon-fetcher","last_synced_at":"2026-03-06T03:32:11.955Z","repository":{"id":110964302,"uuid":"605967528","full_name":"victrme/favicon-fetcher","owner":"victrme","description":"Favicon fetcher finds favicons and flawlessly fetches them fast","archived":false,"fork":false,"pushed_at":"2025-08-19T05:42:35.000Z","size":889,"stargazers_count":40,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-31T04:54:46.859Z","etag":null,"topics":["api","cloudflare-workers","favicon","favicon-grabber"],"latest_commit_sha":null,"homepage":"https://favicon.victr.me","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/victrme.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-02-24T09:47:04.000Z","updated_at":"2025-10-30T11:02:55.000Z","dependencies_parsed_at":"2023-04-07T01:35:58.028Z","dependency_job_id":"c5b3cdd3-a30b-43e7-8a29-13f0426a249c","html_url":"https://github.com/victrme/favicon-fetcher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/victrme/favicon-fetcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victrme%2Ffavicon-fetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victrme%2Ffavicon-fetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victrme%2Ffavicon-fetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victrme%2Ffavicon-fetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victrme","download_url":"https://codeload.github.com/victrme/favicon-fetcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victrme%2Ffavicon-fetcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30160869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T22:39:40.138Z","status":"online","status_checked_at":"2026-03-06T02:00:08.268Z","response_time":250,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","cloudflare-workers","favicon","favicon-grabber"],"created_at":"2024-11-06T13:24:38.982Z","updated_at":"2026-03-06T03:32:11.925Z","avatar_url":"https://github.com/victrme.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# favicon fetcher\n\nFavicon fetcher finds sites favicons and fetches them fast\n\nTest it here: https://favicon.victr.me\n\n## Install\n\n```bash\nnpm i @victr/favicon-fetcher\n```\n\n### Example use\n\n```js\nimport favicon from '@victr/favicon-fetcher'\n\nwindow.onload = async function () {\n  const img = document.getElementById('some-id')\n  const url = await favicon.url('https://github.com')\n\n  img.src = url\n}\n```\n\n### Export type\n\n```ts\nexport default {\n  url: (query: string) =\u003e Promise\u003cstring\u003e,\n  img: (query: string) =\u003e Promise\u003cBlob\u003e,\n}\n```\n\n## As API\n\n### Endpoints\n\nProtocols need to be included in the `:url` query. You can get your favicon as a plaintext url or a blob:\n\n```HTTP\nGET /text/:url\n```\n\n```HTTP\nGET /blob/:url\n```\n\n### Cloudflare Workers\n\n```bash\n# install\npnpm install\n\n# debug\npnpm dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictrme%2Ffavicon-fetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictrme%2Ffavicon-fetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictrme%2Ffavicon-fetcher/lists"}