{"id":26321973,"url":"https://github.com/dimplesy/icon-fetcher","last_synced_at":"2025-07-31T22:39:52.702Z","repository":{"id":279803505,"uuid":"940027349","full_name":"DimplesY/icon-fetcher","owner":"DimplesY","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-27T14:22:44.000Z","size":38,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T19:55:11.466Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DimplesY.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}},"created_at":"2025-02-27T13:53:12.000Z","updated_at":"2025-02-27T15:24:43.000Z","dependencies_parsed_at":"2025-02-27T19:55:32.075Z","dependency_job_id":"732acbc1-55f4-4a66-9b4a-3d4de42455ec","html_url":"https://github.com/DimplesY/icon-fetcher","commit_stats":null,"previous_names":["dimplesy/favicon-crawler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimplesY%2Ficon-fetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimplesY%2Ficon-fetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimplesY%2Ficon-fetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimplesY%2Ficon-fetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DimplesY","download_url":"https://codeload.github.com/DimplesY/icon-fetcher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243753936,"owners_count":20342543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-03-15T16:19:02.548Z","updated_at":"2025-03-15T16:19:02.627Z","avatar_url":"https://github.com/DimplesY.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# icon-fetcher\n\nBe inspired by [favicon-stealer](https://github.com/iAmCorey/favicon-stealer)\n\nA vue component to get clear and consistent favicon of a website easily.\n\n\n# installation\n## npm\n```shell\nnpm install icon-fetcher\n```\n## pnpm\n```shell\npnpm add icon-fetcher\n```\n\n# usage\n```typescript\nimport { Favicon } from 'icon-fetcher'\n\n\u003cFavicon url=\"https://example.com\" /\u003e\n```\n\n## props\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `url` | `string` | The URL of the website to fetch the favicon for. |\n| `size` | `number` | The size of the favicon in pixels. Default is 32. |\n| `timeout` | `number` | The timeout in milliseconds for fetching the favicon. Default is 3000 (3 seconds). |\n| `lazy` | `boolean` | Whether to load the favicon lazily. Default is false. |\n| `border` | `boolean` | Whether to show a border around the favicon. Default is false. |\n| `padding` | `number` | The padding in pixels.(px) Default is 0. |\n| `background` | `string` | The background color of the favicon. Default is transparent.(in hex) |\n| `borderRadius` | `number` | The border radius in pixels.(px) Default is 0. |\n| `preferFallback` | `boolean` | Whether to prefer fallback service (e.g.Google's favicon service) over the website's own favicon. Default is false. |\n\n\n# npm package\n[icon-fetcher - npm](https://www.npmjs.com/package/icon-fetcher)\n\n\n# github repository\n[icon-fetcher - github](https://github.com/DimplesY/icon-fetcher)\n\n\n# license\nMIT License\n\n\n# Changelog\n- v0.0.1: Initial release (2025.2.27)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimplesy%2Ficon-fetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimplesy%2Ficon-fetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimplesy%2Ficon-fetcher/lists"}