chore: sync local changes to Gitea

This commit is contained in:
shumengya
2026-06-24 22:10:24 +08:00
parent f0d79638c9
commit 2483614e89
21 changed files with 3946 additions and 262 deletions

84
api-docs/favicon-api.json Normal file
View File

@@ -0,0 +1,84 @@
{
"info": {
"_postman_id": "a7f3c2e1-4b8d-4f6a-9c2e-1d5b8a4f6e30",
"name": "favicon-api",
"description": "代理获取任意网站 faviconGoogle、DuckDuckGo、直连 /favicon.ico、解析页面 link 图标多路竞速),适用于边缘代理访问被墙站点。",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"variable": [
{
"key": "baseUrl",
"value": "https://favicon.api.smyhub.com",
"type": "string"
}
],
"item": [
{
"name": "获取 favicondomain",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/api/favicon?domain=github.com&size=128",
"query": [
{
"key": "domain",
"value": "github.com",
"description": "目标域名,与 url、u 三选一"
},
{
"key": "size",
"value": "128",
"description": "图标边长16256默认 128主要影响 Google 源)"
}
]
},
"description": "使用 `domain` 参数指定站点域名。"
},
"response": []
},
{
"name": "获取 faviconurl",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/api/favicon?url=https%3A%2F%2Ftwitter.com&size=128",
"query": [
{
"key": "url",
"value": "https://twitter.com",
"description": "完整 URL与 domain、u 三选一"
},
{
"key": "size",
"value": "128",
"description": "图标边长16256默认 128"
}
]
},
"description": "使用 `url` 参数传入完整页面地址,服务端会解析出域名。"
},
"response": []
},
{
"name": "获取 faviconu 简写)",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/api/favicon?u=example.com",
"query": [
{
"key": "u",
"value": "example.com",
"description": "域名或 URL 简写,与 domain、url 三选一"
}
]
},
"description": "使用 `u` 作为 `url`/`domain` 的简写参数。"
},
"response": []
}
]
}