Skip to content

💃 Free CC0 mannequin pose reference library for AI image tools (Nano Banana, ChatGPT, ComfyUI, Midjourney) — 250+ poses × 5 angles in line art, names in ja/zh/en/ko

feat(web): hide suggestive poses by default

wqugurub258c39921c4
diff --git a/AGENTS.md b/AGENTS.md
index 0cdf8e16..95385de4 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -22,7 +22,7 @@ two are rated suggestive. Plus photo renders for 23 std sets, a four-language ca
enters `images/`; photo renders likewise need a `pass` in qc.json `photos` (docs/qc/photo_prompt.md). Never mark a
view `pass` by hand to get it in.
- **Ratings.** Every pose has `rating` (`general` / `suggestive`). Everything that passed QC is public; suggestive poses
- are shown by default behind one hide switch and stay out of the marquee, pose pages, share cards and sitemap (D-06).
+ are hidden by default behind one show switch and stay out of the marquee, pose pages, share cards and sitemap (D-06).
Nipple marks, exposure, genital detail and a figure that reads as a minor are generation errors: they fail QC.
- **IDs are stable.** `P001`… never get renumbered or reused (P023 and P028 are retired). New poses take the next
free number; the source-list number goes in `orig_id`.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7aa2c564..5c2cdc5c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,12 +14,13 @@ the catalog schema.
- Line-art QC for all 1,375 views ([docs/qc/](docs/qc/README.md)): Sonnet panel review plus a pose-name check,
merged by `tools/qc_merge.py` into `data/qc.json`. 1,049 views pass; failed views leave `images/` and the catalog.
- Photo-render QC ([docs/qc/photo_prompt.md](docs/qc/photo_prompt.md)): 103 / 112 pass, results in `qc.json` `photos`.
-- Gallery: series tabs, a "sexy content" switch (shown by default, D-06), an "all 5 angles" filter, "failed QC" vs
+- Gallery: series tabs, a "sexy content" switch (hidden by default, D-06), an "all 5 angles" filter, "failed QC" vs
"not generated" placeholders, and counts computed from the data.
- Tools: `import_series.py`, `review_sheets.py`, `line_dups.py`, `qc_merge.py`, `export_csv.py`; `build_images.py`
replaces `build_images.sh` and prunes files that are no longer in the catalog.
### Changed
+- Suggestive poses (sexy, duo, upper's Sexy and Chest emphasis) are now hidden by default; the switch shows them (D-06).
- Neutral names for suggestive poses: duo categories no longer use sex-position terms (e.g. 後背位 → 前後に並ぶ,
From-behind → One behind the other), and ja names in the sexy and upper series match the plainer zh / en / ko wording.
diff --git a/README.md b/README.md
index c9160be2..784e6553 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ English · [简体中文](docs/readme/README.zh-CN.md) · [日本語](docs/readm
---
> **Content note:** the sexy and duo series are suggestive adult pose references (faceless mannequins, no
-> nudity detail). They are kept out of previews and search pages, and one switch in the gallery hides them.
+> nudity detail). They are kept out of previews and search pages, and the gallery hides them until you turn them on.
![Shisei gallery: hero with a marquee of mannequin poses on pastel category tiles](docs/screenshot.png)
@@ -36,11 +36,11 @@ All images are original to this project.
|---|---:|---:|---|
| Full body · standard (`std`, P###) | 50 of 73 | 208 / 365 | shown |
| Upper body (`upper`, U###) | 77 of 80 | 307 / 400 | shown |
-| Full body · sexy (`sexy`, S###) | 80 of 80 | 341 / 400 | shown; a toggle hides it |
-| Duo (`duo`, D###) | 49 of 55 | 193 / 275 | shown; a toggle hides it |
+| Full body · sexy (`sexy`, S###) | 80 of 80 | 341 / 400 | hidden; a switch shows it |
+| Duo (`duo`, D###) | 49 of 55 | 193 / 275 | hidden; a switch shows it |
-Poses rated `suggestive` (the sexy and duo series, upper's Sexy and Chest emphasis) are shown by default and kept off
-the marquee, pose pages, share cards and sitemap; one switch hides them.
+Poses rated `suggestive` (the sexy and duo series, upper's Sexy and Chest emphasis) are hidden by default and kept off
+the marquee, pose pages, share cards and sitemap; one switch shows them.
- **Every view is reviewed** ([docs/qc/](docs/qc/README.md)). A view that fails (nipple marks, a face or hair,
clothing, background, broken anatomy, the wrong camera angle, a figure that reads as a minor, or a drawing that is not
diff --git a/docs/DECISIONS.md b/docs/DECISIONS.md
index cd578cba..1c94cf4b 100644
--- a/docs/DECISIONS.md
+++ b/docs/DECISIONS.md
@@ -18,10 +18,11 @@ P019–P052 一段里有 23 套(P019、P020、P022、P025–P027、P029–P038
改写前的完整备份是一个 git bundle(不在仓库里)。GitHub 可能还按旧 SHA 缓存未引用的提交,转公开前如要彻底清除可请 GitHub 支持清理。
以后同样的情况:质检不通过的图在推送前就从历史里去掉,不要等到推送后。
-### D-06 质检通过的内容全部公开,只有露点算生成错误(2026-10-29,人定)
+### D-06 质检通过的内容全部公开,只有露点算生成错误;suggestive 默认隐藏(2026-10-29,人定)
人定:「应该隐藏的只是露点的,其他都应该展示」。乳头标记、外露、生殖器细节、像未成年的人物都算生成错误,质检直接不通过、
不进仓库也不上站;其余通过质检的全部公开,含全身・性感和双人系列。
-- `rating: "suggestive"`(全身・性感、双人,上半身的性感系、聚胸系)默认显示,读者可用「性感内容」开关隐藏,选择记在 localStorage。
+- `rating: "suggestive"`(全身・性感、双人,上半身的性感系、胸线强调系)默认隐藏,读者用「性感内容」开关打开,选择记在 localStorage。
+ 原先定的是默认显示;同日人改为默认隐藏:首访(从 README 或分享链接进来)只看到 general 姿势,降低被举报和工作场合打开的风险。
默认值在 `web/app.js` 顶部 `SHOW_SUGGESTIVE_DEFAULT`。
- suggestive 姿势不进首屏滚动方块、静态姿势页、分享卡和 sitemap。
- 公开站 `--public` 只发 `tools/build_site.py` 里 `PUBLIC_SERIES` 列出的系列;新系列要人点头后再加进去(AGENTS §8)。
diff --git a/docs/DESIGN.md b/docs/DESIGN.md
index 416cdb86..a81b9fc3 100644
--- a/docs/DESIGN.md
+++ b/docs/DESIGN.md
@@ -33,7 +33,7 @@
## 标签与过滤(v0.2.0)
- 系列:全部 / 全身・标准 / 上半身 / 全身・性感 / 双人,分段按钮在分类上方,带当前可见套数;没有可见姿势的系列不出按钮。
-- 分级:`general` / `suggestive`。右上「性感内容:隐藏 / 显示」开关,默认显示(D-06),记在 localStorage,不进 URL。
+- 分级:`general` / `suggestive`。右上「性感内容:隐藏 / 显示」开关,默认隐藏(D-06),记在 localStorage,不进 URL。
- 分类:选了系列才出该系列的分类(颜色按 `class_en`),另有 NEW(最新 `added_in`,全系列都新时不显示)和「五机位齐全」。
- 质检:只显示通过的机位。缺的机位按 `gaps` 区分文案:`missing` →「暂未收录」,`line` / `structure` →「质检未通过」。
一个机位都没通过的姿势整套不出现。
diff --git a/docs/readme/README.ja.md b/docs/readme/README.ja.md
index 37642c89..aa1b5f74 100644
--- a/docs/readme/README.ja.md
+++ b/docs/readme/README.ja.md
@@ -19,7 +19,7 @@
---
-> **ご注意:**全身・セクシーとふたりのシリーズは、やや性的な成人向けポーズ参考です(素体、露出の描写なし)。プレビューや検索用ページには出さず、ギャラリーのスイッチひとつで非表示にできます。
+> **ご注意:**全身・セクシーとふたりのシリーズは、やや性的な成人向けポーズ参考です(素体、露出の描写なし)。プレビューや検索用ページには出さず、ギャラリーではスイッチを入れるまで表示されません。
![Shisei ギャラリー:カテゴリ色のタイルに素体ポーズが並ぶトップ画面](../screenshot.png)
@@ -33,10 +33,10 @@ Shisei は自作のポーズ参照ライブラリです。すべてのポーズ
|---|---:|---:|---|
| 全身・標準(`std`、P###) | 50 / 73 | 208 / 365 | 表示 |
| 上半身(`upper`、U###) | 77 / 80 | 307 / 400 | 表示 |
-| 全身・セクシー(`sexy`、S###) | 80 / 80 | 341 / 400 | 表示(スイッチで非表示にできます) |
-| ふたり(`duo`、D###) | 49 / 55 | 193 / 275 | 表示(スイッチで非表示にできます) |
+| 全身・セクシー(`sexy`、S###) | 80 / 80 | 341 / 400 | 非表示(スイッチで表示できます) |
+| ふたり(`duo`、D###) | 49 / 55 | 193 / 275 | 非表示(スイッチで表示できます) |
-`suggestive` のポーズ(全身・セクシー、ふたり、上半身のセクシー系・胸元強調系)は初期状態で表示され、トップのスクロール、ポーズページ、シェアカード、sitemap には入りません。スイッチひとつでまとめて非表示にできます。
+`suggestive` のポーズ(全身・セクシー、ふたり、上半身のセクシー系・胸元強調系)は初期状態で非表示で、トップのスクロール、ポーズページ、シェアカード、sitemap には入りません。スイッチひとつでまとめて表示できます。
- **すべてのアングルを品質チェック**しています([docs/qc/](../qc/README.md))。乳首の印、顔や髪、衣服、背景、崩れた構造、違うアングル、未成年に見える人物、名前と違うポーズのものは `images/` と catalog から外し、理由を `data/qc.json` に残しています。std の 23 ポーズは名前と絵が合わないため、名前を直すまで非表示です。
- 生成できなかったアングルは、崩れた絵で埋めずに空けています。
diff --git a/docs/readme/README.ko.md b/docs/readme/README.ko.md
index 8b497427..283c32f0 100644
--- a/docs/readme/README.ko.md
+++ b/docs/readme/README.ko.md
@@ -19,7 +19,7 @@
---
-> **콘텐츠 안내:** 전신・섹시와 2인 시리즈는 다소 선정적인 성인용 포즈 참고입니다(마네킹, 노출 묘사 없음). 미리보기와 검색용 페이지에는 넣지 않으며, 갤러리의 스위치 하나로 숨길 수 있습니다.
+> **콘텐츠 안내:** 전신・섹시와 2인 시리즈는 다소 선정적인 성인용 포즈 참고입니다(마네킹, 노출 묘사 없음). 미리보기와 검색용 페이지에는 넣지 않으며, 갤러리에서는 스위치를 켜야 표시됩니다.
![Shisei 갤러리: 카테고리 색 타일 위에 마네킹 포즈가 늘어선 첫 화면](../screenshot.png)
@@ -33,10 +33,10 @@ Shisei는 직접 만든 포즈 참고 라이브러리입니다. 모든 포즈는
|---|---:|---:|---|
| 전신・표준 (`std`, P###) | 50 / 73 | 208 / 365 | 표시 |
| 상반신 (`upper`, U###) | 77 / 80 | 307 / 400 | 표시 |
-| 전신・섹시 (`sexy`, S###) | 80 / 80 | 341 / 400 | 표시 (스위치로 숨길 수 있음) |
-| 2인 (`duo`, D###) | 49 / 55 | 193 / 275 | 표시 (스위치로 숨길 수 있음) |
+| 전신・섹시 (`sexy`, S###) | 80 / 80 | 341 / 400 | 숨김 (스위치로 표시할 수 있음) |
+| 2인 (`duo`, D###) | 49 / 55 | 193 / 275 | 숨김 (스위치로 표시할 수 있음) |
-`suggestive` 등급 포즈(전신・섹시, 2인, 상반신의 섹시계·가슴 강조계)는 기본으로 표시되며, 첫 화면 스크롤, 포즈 페이지, 공유 카드, sitemap에는 들어가지 않습니다. 스위치 하나로 모두 숨길 수 있습니다.
+`suggestive` 등급 포즈(전신・섹시, 2인, 상반신의 섹시계·가슴 강조계)는 기본으로 숨겨지며, 첫 화면 스크롤, 포즈 페이지, 공유 카드, sitemap에는 들어가지 않습니다. 스위치 하나로 모두 표시할 수 있습니다.
- **모든 앵글을 품질 검사**했습니다([docs/qc/](../qc/README.md)). 유두 표시, 얼굴이나 머리카락, 옷, 배경, 망가진 구조, 잘못된 앵글, 미성년자로 보이는 인물, 이름과 다른 포즈는 `images/`와 catalog에서 뺐고, 이유는 `data/qc.json`에 남겼습니다. std의 23개 세트는 그림이 이름과 달라 이름을 고칠 때까지 숨깁니다.
- 생성하지 못한 앵글은 잘못된 그림으로 채우지 않고 비워 둡니다.
diff --git a/docs/readme/README.zh-CN.md b/docs/readme/README.zh-CN.md
index 83f5e73f..6e3eb196 100644
--- a/docs/readme/README.zh-CN.md
+++ b/docs/readme/README.zh-CN.md
@@ -19,7 +19,7 @@
---
-> **内容提示:**全身・性感和双人系列是偏性感的成人姿势参考(素体人偶,无裸露细节),不进预览和搜索页面,图库里一个开关即可隐藏。
+> **内容提示:**全身・性感和双人系列是偏性感的成人姿势参考(素体人偶,无裸露细节),不进预览和搜索页面,图库里默认隐藏,打开开关才显示。
![Shisei 画廊:首屏是一排排彩色分类色块上的素体姿势](../screenshot.png)
@@ -33,10 +33,10 @@ Shisei 是一套自己生成的姿势参考库。每个姿势都是无脸素体
|---|---:|---:|---|
| 全身・标准(`std`,P###) | 50 / 73 | 208 / 365 | 默认显示 |
| 上半身(`upper`,U###) | 77 / 80 | 307 / 400 | 默认显示 |
-| 全身・性感(`sexy`,S###) | 80 / 80 | 341 / 400 | 默认显示,开关可隐藏 |
-| 双人(`duo`,D###) | 49 / 55 | 193 / 275 | 默认显示,开关可隐藏 |
+| 全身・性感(`sexy`,S###) | 80 / 80 | 341 / 400 | 默认隐藏,开关可显示 |
+| 双人(`duo`,D###) | 49 / 55 | 193 / 275 | 默认隐藏,开关可显示 |
-标为 `suggestive` 的姿势(全身・性感、双人,上半身的性感系、胸线强调系)默认显示,不进首屏滚动方块、姿势页、分享卡和 sitemap,一个开关就能全部隐藏。
+标为 `suggestive` 的姿势(全身・性感、双人,上半身的性感系、胸线强调系)默认隐藏,不进首屏滚动方块、姿势页、分享卡和 sitemap,一个开关就能全部显示。
- **每个机位都过了质检**([docs/qc/](../qc/README.md))。有乳头标记、五官或头发、衣物、背景、结构畸形、机位不对、人物看起来像未成年,或者画的不是这个姿势的,都从 `images/` 和 catalog 里拿掉了,原因记在 `data/qc.json`。std 有 23 套画的姿势和名字对不上,重新命名之前先不显示。
- 没生成出来的机位宁可留空,也不放一张画错的。
diff --git a/tools/pack_release.sh b/tools/pack_release.sh
deleted file mode 100755
index f7a19032..00000000
--- a/tools/pack_release.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env bash
-# Pack the full-size originals (never committed) into a Release asset.
-# Usage: tools/pack_release.sh <source-dir-with-img-and-photo> <version>
-set -euo pipefail
-src=${1:?source dir}; ver=${2:?version, e.g. 0.1.0}
-out=dist/shisei-std73-full-v$ver.zip
-mkdir -p dist; rm -f "$out"
-(cd "$src" && zip -qr -X - img photo) > "$out"
-# Redistributed copies must carry the licence and notice (Apache-2.0 §4).
-zip -qj -X "$out" LICENSE NOTICE
-shasum -a 256 "$out" | tee "$out.sha256"
diff --git a/web/app.js b/web/app.js
index e0585361..aa6e8225 100644
--- a/web/app.js
+++ b/web/app.js
@@ -17,14 +17,18 @@
['Seated on top', '#DDB9C8'], ['Standing', '#AFC3E0'], ['Standing close', '#C7DCD6'], ['Side-lying', '#CBD0AC'], ['Seated', '#D3D1E6'],
['Face-to-face seated', '#BCD3C6'], ['Seated close', '#D3D1E6'], ['Lying', '#E3CBB0'], ['Close contact', '#EBC0BC']]
};
- // Suggestive poses (the sexy and duo series, upper's Sexy / Chest emphasis) show by default; the reader can hide them (DECISIONS D-06).
- const SHOW_SUGGESTIVE_DEFAULT = true;
+ // Suggestive poses (the sexy and duo series, upper's Sexy / Chest emphasis) are hidden until the reader turns them on
+ // (DECISIONS D-06), so a first visit from the README or a shared link opens on general poses only.
+ const SHOW_SUGGESTIVE_DEFAULT = false;
const TOOLS = ['ComfyUI', 'Stable Diffusion', 'Flux', 'Midjourney', 'Nano Banana', 'Qwen-Image', '即梦'];
const NAME_LABEL = { cn: 'ZH', jp: 'JA', en: 'EN', kr: 'KO' };
// Each language has its own copy of this page (zh at the root, the others under ja/ en/ ko/) so search engines and
// link previews see it in that language; BASE leads back to the site root from here.
const BASE = window.SHISEI.base || '';
const PREFIX = { zh: '', ja: 'ja/', en: 'en/', ko: 'ko/' };
+ const PACKS = window.SHISEI.packs; // null when the build found no data/packs.json
+ const mb = (b) => { const m = b / 1e6; return (m < 10 ? m.toFixed(1) : Math.round(m)) + ' MB'; };
+ const DL_ICON = '<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="M12 4v11m0 0-4-4m4 4 4-4M5 20h14"/></svg>';
// A view is in the catalog only if it passed QC; a pose with no passing view is not shown at all.
const LATEST = CATALOG.map((p) => p.added_in || '').sort().pop();
@@ -63,7 +67,6 @@
angle: intParam('angle', 0, 4, -1),
medium: params.get('src') === 'photo' && poses.some((p) => p.photo.some(Boolean)) ? 'photo' : 'line',
view: params.get('view') === 'single' ? 'single' : 'pose',
- q: params.get('q') || '',
per: {}
};
@@ -78,6 +81,9 @@
// What the reader may see at all: rating first, then the series tab.
const allowed = () => poses.filter((p) => S.adult || !p.suggestive);
const inSeries = () => allowed().filter((p) => S.series === 'all' || p.series === S.series);
+ // A series with nothing allowed (?series=duo while suggestive poses are hidden) has no tab; fall back to all.
+ const fixSeries = () => { if (S.series !== 'all' && !allowed().some((p) => p.series === S.series)) S.series = 'all'; };
+ fixSeries();
const missingText = (p, v, photo) => {
const T = t();
if (photo) return [T.missingPhoto(T.views[v]), T.missingPhotoSub];
@@ -112,7 +118,6 @@
if (S.angle >= 0) p.set('angle', S.angle);
if (S.medium === 'photo') p.set('src', 'photo');
if (S.view === 'single') p.set('view', 'single');
- if (S.q) p.set('q', S.q);
const qs = p.toString();
history.replaceState(null, '', location.pathname + (qs ? '?' + qs : '') + location.hash);
}
@@ -127,11 +132,18 @@
});
document.querySelectorAll('[data-i18n-ph]').forEach((el) => { el.placeholder = T[el.dataset.i18nPh]; });
document.querySelectorAll('[data-i18n-aria]').forEach((el) => { el.setAttribute('aria-label', T[el.dataset.i18nAria]); });
- $('lang').textContent = T.short;
- const n = allowed().length;
+ $('langName').textContent = I18N[S.lang].langName;
+ // The hero counts the whole published library, so the number does not move when suggestive poses are hidden.
+ const n = poses.length;
document.querySelector('.hero-sub').textContent = T.heroSub(n);
document.querySelector('[data-i18n="browse"]').textContent = T.browse(n);
- $('new-title').textContent = T.newTitle(allowed().filter((p) => p.isNew).length);
+ $('heroSeries').innerHTML = SERIES.map((k) => [k, poses.filter((p) => p.series === k).length]).filter((x) => x[1])
+ .map(([k, c]) => '<span><i style="background:' + CATS[k][0][1] + '"></i>' + esc(T.series[k]) + '<b>' + c + '</b></span>').join('');
+ document.querySelectorAll('[data-pack-size]').forEach((el) => {
+ const k = PACKS && PACKS.packs[el.dataset.packSize];
+ el.textContent = k ? mb(k.bytes) : '';
+ el.hidden = !k;
+ });
$('howList').innerHTML = T.how.map((s) => '<li>' + esc(s) + '</li>').join('');
$('termsList').innerHTML = T.termsItems.map((s) => '<li>' + esc(s) + '</li>').join('');
}
@@ -154,18 +166,6 @@
$('tools').innerHTML = TOOLS.map((x) => '<span>' + esc(x) + '</span>').join('');
}
- function renderFeatured() {
- const T = t();
- $('featured').innerHTML = allowed().filter((p) => p.isNew).slice(0, 24).map((p) => {
- const vi = p.line[1] ? 1 : firstView(p.line);
- const n = p.line.filter(Boolean).length;
- return '<button type="button" class="fcard" data-open="' + p.id + '" data-v="' + vi + '" aria-label="' + esc(T.open(p.id) + ' ' + nameOf(p)) + '">' +
- '<span class="ftile" style="background:' + p.tint + '"><img src="' + src('line', 'w300', p.line[vi]) + '" srcset="' + srcset('line', p.line[vi]) + '" sizes="300px" alt="" loading="lazy" decoding="async">' +
- '<span class="badge new">' + T.newBadge + '</span><span class="vlabel">' + n + '/5</span></span>' +
- '<span class="fcard-t"><span>' + esc(nameOf(p)) + '</span><span class="mono muted" style="font-size:13px">' + p.id + '</span></span></button>';
- }).join('');
- }
-
/* filters */
function renderCats() {
const T = t();
@@ -216,15 +216,11 @@
/* grid */
function pool() {
- const q = S.q.trim().toLowerCase();
return inSeries().filter((p) => {
if (S.series !== 'all' && S.cat >= 0 && p.ci !== S.cat) return false;
if (S.newOnly && !p.isNew) return false;
if (S.full && !p.full) return false;
- if (S.medium === 'photo' && !p.photo.some(Boolean)) return false;
- if (!q) return true;
- const hay = [p.id, p.orig_id || '', p.name_cn, p.name_jp, p.name_en, p.name_kr, p.class_cn, p.class_jp, p.class_en, p.class_kr].join(' ').toLowerCase();
- return hay.includes(q);
+ return !(S.medium === 'photo' && !p.photo.some(Boolean));
});
}
function curView(p) {
@@ -307,7 +303,8 @@
function renderAll() {
applyText();
- renderFeatured();
+ renderLangs();
+ renderDl();
renderCats();
renderFilters();
renderGrid();
@@ -332,7 +329,7 @@
$('adult').addEventListener('click', () => {
S.adult = !S.adult;
store.set('adult', S.adult ? '1' : '0');
- if (!S.adult && S.series === 'sexy') S.series = 'all';
+ fixSeries();
renderAll();
renderMarquee();
syncUrl();
@@ -368,26 +365,50 @@
const s = e.target.closest('.stile');
if (s) { e.preventDefault(); openLb(s.dataset.open, +s.dataset.v, S.medium === 'photo'); }
});
- $('featured').addEventListener('click', (e) => {
- const b = e.target.closest('[data-open]');
- if (b) openLb(b.dataset.open, +b.dataset.v, false);
- });
- $('viewNew').addEventListener('click', () => {
- S.newOnly = true; S.cat = -1;
- renderCats(); renderGrid(); syncUrl();
- $('all').scrollIntoView();
+ // An explicit list of the four languages: a single button that cycles them hid where the next click would land.
+ // ?lang is dropped from the targets, because on arrival it outranks the reader's pick (tools/site_pages.py).
+ function renderLangs() {
+ const qs = new URLSearchParams(location.search);
+ qs.delete('lang');
+ const tail = (qs.toString() ? '?' + qs : '') + location.hash;
+ $('langList').innerHTML = LANGS.map((l) => '<a href="' + esc(BASE + PREFIX[l] + tail) + '" lang="' + I18N[l].htmlLang + '" hreflang="' + I18N[l].htmlLang +
+ '" data-lang-link="' + l + '"' + (l === S.lang ? ' aria-current="true"' : '') + '>' + esc(I18N[l].langName) + '</a>').join('');
+ }
+ const langBtn = $('lang');
+ const setLangOpen = (open) => {
+ if (open) renderLangs(); // pick up the filters and hash the reader has set since
+ langBtn.setAttribute('aria-expanded', String(open));
+ $('langList').hidden = !open;
+ };
+ langBtn.addEventListener('click', () => setLangOpen(langBtn.getAttribute('aria-expanded') !== 'true'));
+ document.addEventListener('click', (e) => { if (!e.target.closest('.lang-menu')) setLangOpen(false); });
+ document.querySelector('.lang-menu').addEventListener('keydown', (e) => {
+ if (e.key === 'Escape' && !$('langList').hidden) { setLangOpen(false); langBtn.focus(); }
});
- const q = $('q');
- q.value = S.q;
- q.addEventListener('input', () => { S.q = q.value; renderGrid(); syncUrl(); });
- q.addEventListener('keydown', (e) => { if (e.key === 'Enter') $('all').scrollIntoView(); });
+ /* downloads: sizes come from data/packs.json, written by tools/pack_release.py with the Release assets */
+ function renderDl() {
+ const T = t();
+ $('dlLic').textContent = 'v' + (PACKS ? PACKS.version : window.SHISEI.version) + ' · ' + T.dlLicense;
+ if (!PACKS) {
+ $('dlBody').innerHTML = '<a class="dl-row main" href="' + esc(window.SHISEI.repo + '/releases/latest') + '"><span><b>' + esc(T.dlAll) + '</b></span>' + DL_ICON + '</a>';
+ return;
+ }
+ const P = PACKS.packs;
+ const url = (k) => esc(window.SHISEI.repo + '/releases/download/v' + PACKS.version + '/' + P[k].file);
+ const row = (k, cls, title, sub, dot) => '<a class="dl-row ' + cls + '" href="' + url(k) + '" download>' +
+ '<span class="dl-t">' + (dot ? '<i style="background:' + dot + '"></i>' : '') + '<span><b>' + title + '</b>' + (sub ? '<small>' + esc(sub) + '</small>' : '') + '</span></span>' +
+ '<span class="dl-s"><span class="' + (cls === 'main' ? 'size-tag' : 'mono') + '">' + mb(P[k].bytes) + '</span>' + DL_ICON + '</span></a>';
+ const series = SERIES.filter((k) => P[k]);
+ $('dlBody').innerHTML =
+ '<p class="dl-note">' + esc(T.dlNote(Math.round(P.original.bytes / P.all.bytes))) + '</p>' +
+ row('all', 'main', esc(T.dlAll) + ' <em>' + esc(T.dlRec) + '</em>', T.dlSetsAll(P.all.sets)) +
+ '<h3>' + esc(T.dlBySeries) + '</h3>' +
+ series.map((k) => row(k, '', esc(T.series[k]), T.dlSets(P[k].sets), CATS[k][0][1])).join('') +
+ '<h3 class="dl-sep">' + esc(T.dlOriginal) + '</h3>' +
+ row('original', 'orig', esc(T.dlOriginalAll), '');
+ }
- $('lang').addEventListener('click', () => {
- const next = LANGS[(LANGS.indexOf(S.lang) + 1) % LANGS.length];
- store.set('lang', next);
- location.assign(BASE + PREFIX[next] + location.search + location.hash);
- });
$('theme').addEventListener('click', () => {
const root = document.documentElement;
const dark = root.dataset.theme ? root.dataset.theme === 'dark' : matchMedia('(prefers-color-scheme: dark)').matches;
@@ -396,9 +417,9 @@
});
/* dialogs */
- const dialogs = { how: $('dlgHow'), terms: $('dlgTerms') };
+ const dialogs = { how: $('dlgHow'), terms: $('dlgTerms'), dl: $('dlgDl') };
document.addEventListener('click', (e) => {
- const o = e.target.closest('[data-open="how"], [data-open="terms"]');
+ const o = e.target.closest('[data-open="how"], [data-open="terms"], [data-open="dl"]');
if (o) dialogs[o.dataset.open].showModal();
const c = e.target.closest('[data-close]');
if (c) c.closest('dialog').close();
@@ -529,13 +550,6 @@
if (Math.abs(dx) > 50) stepAngle(dx < 0 ? 1 : -1);
});
- document.addEventListener('keydown', (e) => {
- if (e.key !== '/' || document.querySelector('dialog[open]')) return;
- if (e.target.closest('input, textarea, [contenteditable]')) return;
- e.preventDefault();
- q.focus();
- });
-
// Deep links: #P001, #P001-diag, #P001-diag-photo
function openFromHash() {
const m = location.hash.match(/^#([PSUD]\d{3})(?:-(front|diag|side|above|below))?(-photo)?$/);
diff --git a/web/i18n.js b/web/i18n.js
index b9e3e6ee..4424d0a6 100644
--- a/web/i18n.js
+++ b/web/i18n.js
@@ -2,16 +2,15 @@
// Values may be functions when they take a number or a view name.
window.I18N = {
zh: {
- htmlLang: 'zh-CN', short: '中', suffix: 'cn',
+ htmlLang: 'zh-CN', suffix: 'cn',
navHow: '使用方法',
- search: '想找什么姿势…', langLabel: '切换语言', theme: '切换深色模式',
+ langLabel: '切换语言', theme: '切换深色模式',
heroTitle: 'Shisei · 姿势有五个机位',
heroSub: (n) => n + ' 套无脸素体线稿,正面、斜侧、侧面、俯视、仰视一次给齐。拖进你的 AI 绘图工具,姿势就定住了。',
- browse: (n) => '浏览 ' + n + ' 套姿势', downloadAll: '下载全尺寸原图包', worksWith: '适用于',
- newTitle: (n) => '新增 ' + n + ' 套', newSub: 'v0.2.0 加入了上半身和全身性感两个系列,每个机位都经过质检。', viewAll: '查看全部',
+ browse: (n) => '浏览 ' + n + ' 套姿势', downloadAll: '下载图包', worksWith: '适用于',
allTitle: '全部姿势', all: '全部', angleAll: '全部机位',
series: { all: '全部系列', std: '全身・标准', sexy: '全身・性感', upper: '上半身', duo: '双人' }, seriesLabel: '系列',
- adultOn: '性感内容:显示', adultOff: '性感内容:隐藏', adultHint: '全身性感、双人系列和上半身的性感、胸线强调分类默认显示,点这里可隐藏', full: '五机位齐全',
+ adultOn: '性感内容:显示', adultOff: '性感内容:隐藏', adultHint: '全身性感、双人系列和上半身的性感、胸线强调分类默认隐藏,点这里可显示', full: '五机位齐全',
qcFail: (v) => v + ' · 质检未通过', qcFailSub: '这个机位画得有问题,已经移除,其余机位可用',
cats: ['坐姿', '站立', '跪姿', '躺姿', '侧坐', '蹲姿', '前倾', '后仰', '扭转'],
angle: '机位', medium: '素材', view: '视图',
@@ -22,7 +21,10 @@ window.I18N = {
missingLineSub: '这个机位还没画出来,其余机位可用', missingPhotoSub: '这套没有这个机位的实拍,切回线稿可看全部机位',
empty: '没有找到匹配的姿势', filters: '筛选', reset: '重置', show: (n) => '显示 ' + n + ' 套',
close: '关闭', prevAngle: '上一个机位', nextAngle: '下一个机位', open: (id) => '打开 ' + id + ' 大图',
- download: '下载这张', copyId: '复制 ID', fullZip: '全尺寸原图包',
+ download: '下载这张', copyId: '复制 ID', fullZip: '下载图包',
+ dlNote: (k) => '已为下载优化,做姿势参考画质几乎没有差别,体积约为原图的 1/' + k + '。',
+ dlRec: '推荐', dlAll: '全部系列', dlSetsAll: (n) => n + ' 套 · 五个机位', dlBySeries: '只要一个系列', dlSets: (n) => n + ' 套',
+ dlOriginal: '原图包', dlOriginalAll: '全部系列 · 原图', dlLicense: 'Apache-2.0 · 含 LICENSE 与 NOTICE',
keys: '← → 换机位 ↑ ↓ 换姿势 L 线稿/实拍 Esc 关闭',
terms: '注意事项',
howTitle: '使用方法',
@@ -31,16 +33,15 @@ window.I18N = {
termsItems: ['全部素材由 Shisei 自制,采用 Apache-2.0 许可证,可商用、可再分发,再分发时附上 LICENSE 和 NOTICE。', '线稿画的是素体;实拍图是 AI 生成的成年人物,不对应任何真人。图片元数据已清除。', '请勿用于表现真实人物或未成年人,也不要用于违反公序良俗的用途。']
},
ja: {
- htmlLang: 'ja', short: '日', suffix: 'jp',
+ htmlLang: 'ja', suffix: 'jp',
navHow: '使い方',
- search: 'ポーズを検索…', langLabel: '言語を切り替え', theme: 'ダークモード切り替え',
+ langLabel: '言語を切り替え', theme: 'ダークモード切り替え',
heroTitle: 'Shisei · 一つのポーズを五つのアングルで',
heroSub: (n) => '顔なし素体の線画 ' + n + ' ポーズ。正面・斜め・横・上から・下からをまとめて収録。AI 画像生成のポーズ参照にそのまま使えます。',
- browse: (n) => n + ' ポーズを見る', downloadAll: '原寸画像をまとめてダウンロード', worksWith: '対応ツール',
- newTitle: (n) => '新規 ' + n + ' ポーズ', newSub: 'v0.2.0 で上半身と全身セクシーの 2 シリーズを追加。すべてのアングルを品質チェック済みです。', viewAll: 'すべて見る',
+ browse: (n) => n + ' ポーズを見る', downloadAll: 'まとめてダウンロード', worksWith: '対応ツール',
allTitle: 'すべてのポーズ', all: 'すべて', angleAll: '全アングル',
series: { all: '全シリーズ', std: '全身・標準', sexy: '全身・セクシー', upper: '上半身', duo: 'ふたり' }, seriesLabel: 'シリーズ',
- adultOn: 'セクシー系:表示', adultOff: 'セクシー系:非表示', adultHint: '全身セクシー・ふたりと上半身のセクシー系・胸元強調系は初期状態で表示されます。ここで非表示にできます', full: '5 アングル揃い',
+ adultOn: 'セクシー系:表示', adultOff: 'セクシー系:非表示', adultHint: '全身セクシー・ふたりと上半身のセクシー系・胸元強調系は初期状態で非表示です。ここで表示できます', full: '5 アングル揃い',
qcFail: (v) => v + ' · 品質チェック不合格', qcFailSub: 'このアングルは描画に問題があったため外しました。他のアングルは使えます',
cats: ['座り', '立ち', '膝立ち', '寝そべり', '横座り', 'しゃがみ', '前かがみ', '反り', 'ひねり'],
angle: 'アングル', medium: '素材', view: '表示',
@@ -51,7 +52,10 @@ window.I18N = {
missingLineSub: 'このアングルはまだありません。他のアングルは使えます', missingPhotoSub: 'このアングルの実写はありません。線画に切り替えると全アングルを見られます',
empty: '該当するポーズがありません', filters: '絞り込み', reset: 'リセット', show: (n) => n + ' ポーズを表示',
close: '閉じる', prevAngle: '前のアングル', nextAngle: '次のアングル', open: (id) => id + ' を拡大表示',
- download: 'この画像をダウンロード', copyId: 'ID をコピー', fullZip: '原寸画像パック',
+ download: 'この画像をダウンロード', copyId: 'ID をコピー', fullZip: 'まとめてダウンロード',
+ dlNote: (k) => 'ダウンロード向けに最適化済み。ポーズ参照なら画質はほぼ変わらず、サイズは原寸の約 1/' + k + ' です。',
+ dlRec: 'おすすめ', dlAll: 'すべてのシリーズ', dlSetsAll: (n) => n + ' ポーズ · 5 アングル', dlBySeries: 'シリーズごと', dlSets: (n) => n + ' ポーズ',
+ dlOriginal: '原寸パック', dlOriginalAll: 'すべてのシリーズ · 原寸', dlLicense: 'Apache-2.0 · LICENSE と NOTICE 同梱',
keys: '← → アングル ↑ ↓ ポーズ L 線画/実写 Esc 閉じる',
terms: '注意点',
howTitle: '使い方',
@@ -60,16 +64,15 @@ window.I18N = {
termsItems: ['すべての素材は Shisei のオリジナルで、Apache-2.0 ライセンスです。商用・再配布可、再配布時は LICENSE と NOTICE を添えてください。', '線画は素体です。実写は AI 生成の成人で、実在の人物ではありません。メタデータは削除済みです。', '実在の人物や未成年を表す用途、公序良俗に反する用途には使わないでください。']
},
en: {
- htmlLang: 'en', short: 'EN', suffix: 'en',
+ htmlLang: 'en', suffix: 'en',
navHow: 'How to use',
- search: 'Search poses…', langLabel: 'Change language', theme: 'Toggle dark mode',
+ langLabel: 'Change language', theme: 'Toggle dark mode',
heroTitle: 'Shisei · Every pose, five angles',
heroSub: (n) => n + ' faceless mannequin poses in line art, each from the front, three-quarter, side, above and below. Drop one into your AI image tool and the pose holds.',
- browse: (n) => 'Browse ' + n + ' poses', downloadAll: 'Download full-size pack', worksWith: 'Works with',
- newTitle: (n) => n + ' new poses', newSub: 'v0.2.0 adds the upper-body and full-body sexy series; every angle passed a quality check.', viewAll: 'View all',
+ browse: (n) => 'Browse ' + n + ' poses', downloadAll: 'Download pack', worksWith: 'Works with',
allTitle: 'All poses', all: 'All', angleAll: 'All angles',
series: { all: 'All series', std: 'Full body', sexy: 'Full body · Sexy', upper: 'Upper body', duo: 'Duo' }, seriesLabel: 'Series',
- adultOn: 'Sexy poses: shown', adultOff: 'Sexy poses: hidden', adultHint: 'The full-body sexy and duo series and the sexy and chest-emphasis upper-body categories are shown by default; click to hide them', full: 'All 5 angles',
+ adultOn: 'Sexy poses: shown', adultOff: 'Sexy poses: hidden', adultHint: 'The full-body sexy and duo series and the sexy and chest-emphasis upper-body categories are hidden by default; click to show them', full: 'All 5 angles',
qcFail: (v) => v + ' · failed QC', qcFailSub: 'This angle was drawn wrong and has been removed; the others are available',
cats: ['Sitting', 'Standing', 'Kneeling', 'Lying', 'Side sit', 'Squatting', 'Leaning', 'Arching', 'Twist'],
angle: 'Angle', medium: 'Source', view: 'View',
@@ -80,7 +83,10 @@ window.I18N = {
missingLineSub: 'This angle is not drawn yet; the others are available', missingPhotoSub: 'No photo for this angle; switch to line art for every angle',
empty: 'No poses match', filters: 'Filters', reset: 'Reset', show: (n) => 'Show ' + n + ' poses',
close: 'Close', prevAngle: 'Previous angle', nextAngle: 'Next angle', open: (id) => 'Open ' + id,
- download: 'Download', copyId: 'Copy ID', fullZip: 'Full-size pack',
+ download: 'Download', copyId: 'Copy ID', fullZip: 'Download pack',
+ dlNote: (k) => 'Optimised for download: for pose reference the quality is practically the same, at about 1/' + k + ' of the original size.',
+ dlRec: 'Recommended', dlAll: 'All series', dlSetsAll: (n) => n + ' poses · 5 angles', dlBySeries: 'Just one series', dlSets: (n) => n + ' poses',
+ dlOriginal: 'Originals', dlOriginalAll: 'All series · originals', dlLicense: 'Apache-2.0 · includes LICENSE and NOTICE',
keys: '← → angle ↑ ↓ pose L line/photo Esc close',
terms: 'Terms',
howTitle: 'How to use',
@@ -89,16 +95,15 @@ window.I18N = {
termsItems: ['Every image is made by Shisei and licensed under Apache-2.0: commercial use and redistribution are fine; keep LICENSE and NOTICE with redistributed files.', 'Line art shows mannequins; photos are AI-generated adults and do not depict real people. Metadata is stripped.', 'Do not use them to depict real people or minors, or for indecent purposes.']
},
ko: {
- htmlLang: 'ko', short: '한', suffix: 'kr',
+ htmlLang: 'ko', suffix: 'kr',
navHow: '사용법',
- search: '포즈 검색…', langLabel: '언어 변경', theme: '다크 모드 전환',
+ langLabel: '언어 변경', theme: '다크 모드 전환',
heroTitle: 'Shisei · 한 포즈, 다섯 앵글',
heroSub: (n) => '얼굴 없는 마네킹 선화 ' + n + '가지 포즈. 정면·대각선·옆·위·아래를 한 번에. AI 이미지 도구에 넣으면 포즈가 고정됩니다.',
- browse: (n) => n + '가지 포즈 보기', downloadAll: '원본 크기 묶음 다운로드', worksWith: '함께 쓰는 도구',
- newTitle: (n) => '새 포즈 ' + n + '개', newSub: 'v0.2.0에서 상반신과 전신 섹시 시리즈를 추가했고, 모든 앵글을 품질 검사했습니다.', viewAll: '전체 보기',
+ browse: (n) => n + '가지 포즈 보기', downloadAll: '묶음 다운로드', worksWith: '함께 쓰는 도구',
allTitle: '전체 포즈', all: '전체', angleAll: '전체 앵글',
series: { all: '전체 시리즈', std: '전신・표준', sexy: '전신・섹시', upper: '상반신', duo: '2인' }, seriesLabel: '시리즈',
- adultOn: '섹시 포즈: 표시', adultOff: '섹시 포즈: 숨김', adultHint: '전신 섹시·2인 시리즈와 상반신의 섹시·가슴 강조 분류는 기본으로 표시됩니다. 여기서 숨길 수 있습니다', full: '5앵글 모두',
+ adultOn: '섹시 포즈: 표시', adultOff: '섹시 포즈: 숨김', adultHint: '전신 섹시·2인 시리즈와 상반신의 섹시·가슴 강조 분류는 기본으로 숨겨집니다. 여기서 표시할 수 있습니다', full: '5앵글 모두',
qcFail: (v) => v + ' · 품질 검사 불합격', qcFailSub: '이 앵글은 잘못 그려져 제외했습니다. 다른 앵글은 사용할 수 있습니다',
cats: ['앉기', '서기', '무릎 꿇기', '눕기', '옆 앉기', '쪼그려 앉기', '숙이기', '젖히기', '비틀기'],
angle: '앵글', medium: '소재', view: '보기',
@@ -109,7 +114,10 @@ window.I18N = {
missingLineSub: '이 앵글은 아직 없습니다. 다른 앵글은 사용할 수 있습니다', missingPhotoSub: '이 앵글의 실사는 없습니다. 선화로 바꾸면 모든 앵글을 볼 수 있습니다',
empty: '일치하는 포즈가 없습니다', filters: '필터', reset: '초기화', show: (n) => n + '개 포즈 보기',
close: '닫기', prevAngle: '이전 앵글', nextAngle: '다음 앵글', open: (id) => id + ' 크게 보기',
- download: '이 이미지 다운로드', copyId: 'ID 복사', fullZip: '원본 크기 묶음',
+ download: '이 이미지 다운로드', copyId: 'ID 복사', fullZip: '묶음 다운로드',
+ dlNote: (k) => '다운로드용으로 최적화했습니다. 포즈 참조라면 화질 차이는 거의 없고, 용량은 원본의 약 1/' + k + '입니다.',
+ dlRec: '추천', dlAll: '전체 시리즈', dlSetsAll: (n) => n + '가지 포즈 · 5개 앵글', dlBySeries: '시리즈별', dlSets: (n) => n + '가지 포즈',
+ dlOriginal: '원본 묶음', dlOriginalAll: '전체 시리즈 · 원본', dlLicense: 'Apache-2.0 · LICENSE와 NOTICE 포함',
keys: '← → 앵글 ↑ ↓ 포즈 L 선화/실사 Esc 닫기',
terms: '주의사항',
howTitle: '사용법',