{"id":15375317,"url":"https://github.com/sy-records/getfavicon","last_synced_at":"2025-04-10T00:18:01.669Z","repository":{"id":98040097,"uuid":"124346203","full_name":"sy-records/GetFavicon","owner":"sy-records","description":"用 PHP 获取网站 favicon 的API，可用于美化网站外链显示效果。","archived":false,"fork":false,"pushed_at":"2025-03-19T10:25:48.000Z","size":46,"stargazers_count":50,"open_issues_count":0,"forks_count":29,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T00:17:56.995Z","etag":null,"topics":["favicon","getfavicon","php","vercel-php"],"latest_commit_sha":null,"homepage":"https://favicon-ico.vercel.app","language":"PHP","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/sy-records.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},"funding":{"custom":"https://donate.qq52o.me","github":"sy-records"}},"created_at":"2018-03-08T06:19:12.000Z","updated_at":"2025-03-23T09:42:21.000Z","dependencies_parsed_at":"2023-12-27T04:43:04.716Z","dependency_job_id":"0dc3dbf9-2218-48a0-988e-beada2c1d51b","html_url":"https://github.com/sy-records/GetFavicon","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"63287551c5847c11cc5913f8e06569bd2cb40f40"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sy-records%2FGetFavicon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sy-records%2FGetFavicon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sy-records%2FGetFavicon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sy-records%2FGetFavicon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sy-records","download_url":"https://codeload.github.com/sy-records/GetFavicon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131318,"owners_count":21052820,"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":["favicon","getfavicon","php","vercel-php"],"created_at":"2024-10-01T14:02:37.127Z","updated_at":"2025-04-10T00:18:01.642Z","avatar_url":"https://github.com/sy-records.png","language":"PHP","funding_links":["https://donate.qq52o.me","https://github.com/sponsors/sy-records"],"categories":[],"sub_categories":[],"readme":"# GetFavicon\n\n用 PHP 获取网站 favicon 的API，可用于美化网站外链显示效果。\n\n## 部署\n\n### 使用 `Vercel` 部署\n\nFork 本项目后，在 Vercel 上导入项目部署即可。\n\n### Nginx 等\n\n将 `api` 目录设置为根目录，或者将 `index.php` 放置在网站根目录下即可。\n\n### Docker\n\n```bash\ndocker run -d --name get-favicon -p 80:80 lufeidot/get-favicon:latest\n```\n\n## 使用\n\n`https://favicon-ico.vercel.app/?url=域名`\n\n```\nhttps://favicon-ico.vercel.app/?url=example.com\nhttps://favicon-ico.vercel.app/?url=http://example.com\nhttps://favicon-ico.vercel.app/?url=https://example.com\n```\n\n## 示例\n\n- [x] 百度 ![](https://favicon-ico.vercel.app/?url=www.baidu.com)\n- [x] 维基百科 ![](https://favicon-ico.vercel.app/?url=https://www.wikipedia.org)\n- [x] segmentfault ![](https://favicon-ico.vercel.app/?url=segmentfault.com)\n- [x] GitHub ![](https://favicon-ico.vercel.app/?url=github.com)\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsy-records%2Fgetfavicon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsy-records%2Fgetfavicon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsy-records%2Fgetfavicon/lists"}