Skip to content

中文版 AI 姿势参考图库 · 1439 组 / 2878 张图片 / 完整汉化 · 零依赖静态画廊

feat(seo): 完善页面 SEO 与社交分享配置,更新维护者 X 地址

Alone88f5079f65127a
diff --git a/README.md b/README.md
index e69d2a5..e007515 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@
**在线演示:** <https://ai-pose-gallery.anhao.app/>
**原始站点:** <https://ai-pose-gallery.pages.dev/>
**原作者:** ギア(@giaaibusi)
-**中文版维护:** Anhao · [X @anhao](https://x.com/anhao)
+**中文版维护:** Anhao · [X @anhao_ai](https://x.com/anhao_ai)
**GitHub:** <https://github.com/anhao/ai-pose-gallery-zh>
---
@@ -36,7 +36,21 @@
- 灯箱先显示缩略图、再加载 900×1200 原图,支持直接下载 PNG、复制 ID、新窗口打开
- `← / →` 切换角度,`↑ / ↓` 切换姿势,`Esc` 关闭;手机支持左右滑动
- PC 多列网格、手机双列网格,移动端筛选面板可展开/收起
-- 使用指南与注意事项弹窗,页脚仅保留一个原站来源链接
+- 使用指南与注意事项弹窗,页脚标注图片来源与维护者链接
+
+## SEO 与分享
+
+页面内置了完整的 SEO 与社交分享配置:
+
+- 关键词化标题:`AI 姿势参考库|288 组人体姿势 · 1439 张多角度参考图`
+- 独立 description、keywords、author 与 `max-image-preview:large`
+- `canonical` 指向正式域名,避免自定义域名与 pages.dev 域名重复收录
+- Open Graph / Twitter Card 使用 1200×630 的 `og-cover.jpg`
+- JSON-LD 结构化数据:`WebSite` + `ImageGallery`,声明语言、简介与页面主图
+- `robots.txt` 放行全站并声明 sitemap,`sitemap.xml` 指向首页
+- 语义结构:单一 H1、分区 H2、卡片 H3;缩略图 `alt` 含姿势名与视角,图片懒加载
+
+仓库中的绝对地址统一指向 `https://ai-pose-gallery.anhao.app/`。Fork 后如使用其他域名,需同步替换 `index.html` 的 canonical、`og:*`、`twitter:*`、JSON-LD,以及 `robots.txt`、`sitemap.xml` 中的地址。
## 数据规模
@@ -55,6 +69,9 @@
```
.
├── index.html # 单页画廊(零依赖,直接打开即可)
+├── robots.txt # 搜索引擎抓取规则
+├── sitemap.xml # 站点地图
+├── og-cover.jpg # 1200×630 社交分享封面
├── data/
│ ├── pose.json # 原始日文数据(1439 条,未改动)
│ ├── pose-zh.json # 中文数据(前端实际读取,含检索字段)
diff --git a/_headers b/_headers
index b782290..8c65418 100644
--- a/_headers
+++ b/_headers
@@ -11,3 +11,13 @@
# HTML 每次校验
/index.html
Cache-Control: public, max-age=0, must-revalidate
+/
+ Cache-Control: public, max-age=0, must-revalidate
+
+# SEO 与分享资源
+/robots.txt
+ Cache-Control: public, max-age=3600
+/sitemap.xml
+ Cache-Control: public, max-age=3600
+/og-cover.jpg
+ Cache-Control: public, max-age=86400
diff --git a/docs/mobile.jpg b/docs/mobile.jpg
index fbec16c..712130d 100644
Binary files a/docs/mobile.jpg and b/docs/mobile.jpg differ
diff --git a/docs/preview.jpg b/docs/preview.jpg
index 6b69a94..9211171 100644
Binary files a/docs/preview.jpg and b/docs/preview.jpg differ
diff --git a/index.html b/index.html
index 3614e97..1a57bb5 100644
--- a/index.html
+++ b/index.html
@@ -3,10 +3,68 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
-<meta name="description" content="288 组、1439 张 AI 人体姿势参考图,支持分类筛选、多角度对比与原图下载。">
+<meta name="color-scheme" content="light">
+<title>AI 姿势参考库|288 组人体姿势 · 1439 张多角度参考图</title>
+<meta name="description" content="AI 姿势参考库收录 288 组人体姿势、1439 张 900×1200 多角度参考图,覆盖全身、上半身与双人姿势。支持按体系、动作分类、正面 / 俯视 / 仰视等视角筛选,可在线对比并下载原图,适用于 AI 绘画、构图与动作参考。">
+<meta name="keywords" content="AI 姿势,姿势参考,人体姿势,绘画参考,构图参考,动作参考,POSE 图库,多角度姿势,素体线稿">
+<meta name="author" content="Anhao">
+<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">
+<meta name="application-name" content="POSE Atlas">
<meta name="theme-color" content="#f5f7fb">
-<title>AI 姿势参考库 · POSE Atlas</title>
+<link rel="canonical" href="https://ai-pose-gallery.anhao.app/">
+<link rel="sitemap" type="application/xml" href="/sitemap.xml">
+<link rel="alternate" hreflang="zh-CN" href="https://ai-pose-gallery.anhao.app/">
+<meta property="og:type" content="website">
+<meta property="og:locale" content="zh_CN">
+<meta property="og:site_name" content="POSE Atlas">
+<meta property="og:title" content="AI 姿势参考库|288 组人体姿势 · 1439 张多角度参考图">
+<meta property="og:description" content="按体系、分类、视角筛选 288 组人体姿势,多角度对比并下载 900×1200 原图,适用于 AI 绘画、构图与动作参考。">
+<meta property="og:url" content="https://ai-pose-gallery.anhao.app/">
+<meta property="og:image" content="https://ai-pose-gallery.anhao.app/og-cover.jpg">
+<meta property="og:image:type" content="image/jpeg">
+<meta property="og:image:width" content="1200">
+<meta property="og:image:height" content="630">
+<meta property="og:image:alt" content="AI 姿势参考库页面预览:多角度姿势卡片与筛选栏">
+<meta name="twitter:card" content="summary_large_image">
+<meta name="twitter:title" content="AI 姿势参考库|288 组人体姿势 · 1439 张参考图">
+<meta name="twitter:description" content="288 组人体姿势、1439 张多角度参考图,支持筛选、对比与下载原图。">
+<meta name="twitter:image" content="https://ai-pose-gallery.anhao.app/og-cover.jpg">
+<meta name="twitter:image:alt" content="AI 姿势参考库页面预览">
+<meta name="twitter:site" content="@anhao_ai">
+<meta name="twitter:creator" content="@anhao_ai">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='8' fill='%235b5bd6'/%3E%3Ccircle cx='16' cy='9' r='3.2' fill='white'/%3E%3Cpath d='M16 13.5c-2.5 0-4 1.6-4 3.8v3.8h2v7h4v-7h2v-3.8c0-2.2-1.5-3.8-4-3.8z' fill='white'/%3E%3C/svg%3E">
+<script type="application/ld+json">
+{
+ "@context": "https://schema.org",
+ "@graph": [
+ {
+ "@type": "WebSite",
+ "@id": "https://ai-pose-gallery.anhao.app/#website",
+ "url": "https://ai-pose-gallery.anhao.app/",
+ "name": "POSE Atlas",
+ "alternateName": "AI 姿势参考库",
+ "description": "288 组人体姿势、1439 张多角度 AI 绘画姿势参考图。",
+ "inLanguage": "zh-CN"
+ },
+ {
+ "@type": "ImageGallery",
+ "@id": "https://ai-pose-gallery.anhao.app/#webpage",
+ "url": "https://ai-pose-gallery.anhao.app/",
+ "name": "AI 姿势参考库 · POSE Atlas",
+ "description": "收录 288 组人体姿势、1439 张 900×1200 多角度参考图,支持分类筛选、多角度对比与原图下载。",
+ "isPartOf": { "@id": "https://ai-pose-gallery.anhao.app/#website" },
+ "inLanguage": "zh-CN",
+ "about": { "@type": "Thing", "name": "人体姿势参考" },
+ "primaryImageOfPage": {
+ "@type": "ImageObject",
+ "url": "https://ai-pose-gallery.anhao.app/og-cover.jpg",
+ "width": 1200,
+ "height": 630
+ }
+ }
+ ]
+}
+</script>
<style>
:root{
--bg:#f5f7fb;--surface:#fff;--surface-2:#f8f9fc;--text:#171a21;--text-2:#5d6472;
@@ -42,6 +100,8 @@ svg{display:block;flex:0 0 auto}
.hero{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:34px 0 32px}
.eyebrow{margin:0 0 8px;color:var(--accent);font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.hero h1{margin:0;font-size:clamp(28px,3vw,40px);line-height:1.2;letter-spacing:-.035em;font-weight:800}
+.hero h1 .hero-tagline{display:block;margin-top:7px;color:var(--text-2);font-size:15px;font-weight:500;letter-spacing:0;line-height:1.4}
+.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hero-desc{max-width:740px;margin:12px 0 0;color:var(--text-2);font-size:14px;line-height:1.8;text-wrap:pretty}
.hero-stats{display:flex;align-items:center;flex:0 0 auto}
.stat{min-width:104px;padding:4px 26px;border-left:1px solid var(--line)}
@@ -211,6 +271,7 @@ main{padding:22px 0 54px}
.hero{display:block;padding:23px 0 21px}
.eyebrow{font-size:10px;margin-bottom:6px}
.hero h1{font-size:27px}
+ .hero h1 .hero-tagline{margin-top:5px;font-size:12px}
.hero-desc{margin-top:9px;font-size:12px;line-height:1.75}
.hero-stats{margin-top:20px;padding-top:15px;border-top:1px solid var(--line);justify-content:space-between}
.hero-stats .stat{flex:1;min-width:0!important;padding:0 14px!important;text-align:center}
@@ -302,13 +363,13 @@ main{padding:22px 0 54px}
<button class="action-btn" type="button" data-info="guide"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"><circle cx="12" cy="12" r="9"/><path d="M9.7 9a2.4 2.4 0 0 1 4.6 1c0 1.8-2.3 2-2.3 3.6M12 17h.01"/></svg><span class="action-text">使用指南</span></button>
<button class="action-btn" type="button" data-info="notice"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"><path d="M12 3 2.8 20h18.4L12 3Z"/><path d="M12 9v5m0 3h.01"/></svg><span class="action-text">注意事项</span></button>
<a class="action-btn author" href="https://github.com/anhao/ai-pose-gallery-zh" target="_blank" rel="noopener noreferrer" aria-label="访问我们的 GitHub 仓库"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M12 .8a11.3 11.3 0 0 0-3.6 22c.6.1.8-.2.8-.5v-2.2c-3.3.7-4-1.4-4-1.4-.5-1.4-1.3-1.8-1.3-1.8-1.1-.7.1-.7.1-.7 1.2.1 1.8 1.2 1.8 1.2 1.1 1.8 2.8 1.3 3.5 1 .1-.8.4-1.3.8-1.6-2.7-.3-5.5-1.3-5.5-5.9 0-1.3.5-2.4 1.2-3.2-.1-.3-.5-1.5.1-3.2 0 0 1-.3 3.2 1.2a11 11 0 0 1 5.8 0c2.2-1.5 3.2-1.2 3.2-1.2.6 1.7.2 2.9.1 3.2.8.8 1.2 1.9 1.2 3.2 0 4.6-2.8 5.6-5.5 5.9.4.4.8 1.1.8 2.2v3.3c0 .3.2.6.8.5A11.3 11.3 0 0 0 12 .8Z"/></svg><span class="action-text">GitHub</span></a>
- <a class="action-btn author" href="https://x.com/anhao" target="_blank" rel="noopener noreferrer" aria-label="访问我们的 X 主页"><svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg><span class="action-text">@anhao</span></a>
+ <a class="action-btn author" href="https://x.com/anhao_ai" target="_blank" rel="noopener noreferrer" aria-label="访问我们的 X 主页"><svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg><span class="action-text">@anhao_ai</span></a>
</nav>
</div>
<div class="shell hero">
<div>
<p class="eyebrow">AI POSE REFERENCE · 中文版图库</p>
- <h1>找到你想要的每一个姿势</h1>
+ <h1>AI 姿势参考库<span class="hero-tagline">找到你想要的每一个姿势</span></h1>
<p class="hero-desc">多角度人体素体线稿,适用于 AI 绘画、构图与动作参考。按体系、分类、视角筛选,一键下载原图。</p>
</div>
<div class="hero-stats" aria-label="图库统计">
@@ -353,6 +414,7 @@ main{padding:22px 0 54px}
</section>
<main class="shell">
+ <h2 class="sr-only">姿势图库列表</h2>
<div class="result-head">
<div class="result-summary"><strong id="resultCount">正在加载图库…</strong><span id="visibleCount"></span></div>
<div class="result-hint"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"><path d="M8 3H3v5m13-5h5v5M8 21H3v-5m13 5h5v-5"/><circle cx="12" cy="12" r="3"/></svg>悬停缩略图切换角度 · 点击查看原图</div>
@@ -375,7 +437,7 @@ main{padding:22px 0 54px}
</div>
<div class="footer-links">
<a href="https://github.com/anhao/ai-pose-gallery-zh" target="_blank" rel="noopener noreferrer">GitHub 源码<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M14 4h6v6m0-6-9 9M19 14v6H4V5h6"/></svg></a>
- <a href="https://x.com/anhao" target="_blank" rel="noopener noreferrer">X @anhao<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M14 4h6v6m0-6-9 9M19 14v6H4V5h6"/></svg></a>
+ <a href="https://x.com/anhao_ai" target="_blank" rel="noopener noreferrer">X @anhao_ai<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M14 4h6v6m0-6-9 9M19 14v6H4V5h6"/></svg></a>
</div>
</div>
</footer>
@@ -392,7 +454,7 @@ main{padding:22px 0 54px}
<aside class="viewer-side">
<div class="viewer-heading">
<div class="viewer-eyebrow"><span id="viewerNumber">POSE</span><span class="viewer-position" id="viewerPosition"></span></div>
- <h2 id="viewerTitle"></h2>
+ <h2 id="viewerTitle">姿势详情</h2>
<div class="id-row"><code class="viewer-id" id="viewerId"></code><button class="copy-btn" id="copyId" type="button">复制 ID</button></div>
</div>
<div>
@@ -410,7 +472,7 @@ main{padding:22px 0 54px}
</div>
<dialog class="info-dialog" id="infoDialog">
- <div class="info-head"><h2 id="infoTitle"></h2><button class="info-close" id="infoClose" type="button" aria-label="关闭"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"><path d="m6 6 12 12M18 6 6 18"/></svg></button></div>
+ <div class="info-head"><h2 id="infoTitle">使用指南</h2><button class="info-close" id="infoClose" type="button" aria-label="关闭"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"><path d="m6 6 12 12M18 6 6 18"/></svg></button></div>
<div class="info-content" id="infoContent"></div>
</dialog>
diff --git a/og-cover.jpg b/og-cover.jpg
new file mode 100644
index 0000000..3ed9288
Binary files /dev/null and b/og-cover.jpg differ
diff --git a/robots.txt b/robots.txt
new file mode 100644
index 0000000..b97885b
--- /dev/null
+++ b/robots.txt
@@ -0,0 +1,4 @@
+User-agent: *
+Allow: /
+
+Sitemap: https://ai-pose-gallery.anhao.app/sitemap.xml
diff --git a/scripts/build.sh b/scripts/build.sh
index 9802e26..fcbd0a9 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -9,7 +9,7 @@ cd "$(dirname "$0")/.."
rm -rf dist
mkdir -p dist
-cp -R index.html _headers data thumbs img dist/
+cp -R index.html _headers robots.txt sitemap.xml og-cover.jpg data thumbs img dist/
echo "dist ready:"
du -sh dist
diff --git a/sitemap.xml b/sitemap.xml
new file mode 100644
index 0000000..29bb800
--- /dev/null
+++ b/sitemap.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+ <url>
+ <loc>https://ai-pose-gallery.anhao.app/</loc>
+ <lastmod>2026-10-27</lastmod>
+ <changefreq>weekly</changefreq>
+ <priority>1.0</priority>
+ </url>
+</urlset>