Skip to content

Turn any script into viral, multi-style animated stickman videos for Faceless YouTube Channels. Automate visuals, voiceover, captions & SFX. 100% Free & Open-Source.

docs: arrange hero previews in a three-row style grid (#44)

烤妹儿77172213516a
diff --git a/README.en.md b/README.en.md
index 8a16eee..af2a4d5 100644
--- a/README.en.md
+++ b/README.en.md
@@ -23,12 +23,6 @@ I'm testing popular stickman animation styles from across the web and sharing th
<table width="100%">
<tr>
-<td colspan="2" align="center">
-<strong>Historical Cartoon</strong><br>
-<a href="#style-5"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-5-japan-hero.gif" alt="Historical stickman animation set in Edo-period Japan" width="640"></a>
-</td>
-</tr>
-<tr>
<td width="50%" align="center">
<strong>Minimalist Monochrome</strong><br>
<a href="#style-gallery"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/dark-theme-demo.gif" alt="Minimalist stickman animation with white lines on black" width="90%"></a>
@@ -48,6 +42,15 @@ I'm testing popular stickman animation styles from across the web and sharing th
<a href="#style-gallery"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-4-cozy-cafe.gif" alt="Expressive stick characters in a colorful everyday setting" width="90%"></a>
</td>
</tr>
+<tr>
+<td width="50%" align="center">
+<strong>Historical Cartoon</strong><br>
+<a href="#style-5"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-5-japan-hero.gif" alt="Historical stickman animation set in Edo-period Japan" width="90%"></a>
+</td>
+<td width="50%" align="center">
+<strong>More styles coming soon…</strong>
+</td>
+</tr>
</table>
<div align="center">
diff --git a/README.ja.md b/README.ja.md
index dc142cc..16a8c8e 100644
--- a/README.ja.md
+++ b/README.ja.md
@@ -23,12 +23,6 @@
<table width="100%">
<tr>
-<td colspan="2" align="center">
-<strong>歴史カートゥーン</strong><br>
-<a href="#style-5"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-5-japan-hero.gif" alt="江戸時代を舞台にした歴史カートゥーンのプレビュー" width="640"></a>
-</td>
-</tr>
-<tr>
<td width="50%" align="center">
<strong>白黒ミニマル</strong><br>
<a href="#style-gallery"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/dark-theme-demo.gif" alt="黒背景に白い線で描くミニマルな棒人間アニメ" width="90%"></a>
@@ -48,6 +42,15 @@
<a href="#style-gallery"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-4-cozy-cafe.gif" alt="彩りのある日常風景と表情豊かな棒人間" width="90%"></a>
</td>
</tr>
+<tr>
+<td width="50%" align="center">
+<strong>歴史カートゥーン</strong><br>
+<a href="#style-5"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-5-japan-hero.gif" alt="江戸時代を舞台にした歴史カートゥーンのプレビュー" width="90%"></a>
+</td>
+<td width="50%" align="center">
+<strong>新しい画風を準備中…</strong>
+</td>
+</tr>
</table>
<div align="center">
diff --git a/README.ko.md b/README.ko.md
index 1e513c5..e785214 100644
--- a/README.ko.md
+++ b/README.ko.md
@@ -23,12 +23,6 @@
<table width="100%">
<tr>
-<td colspan="2" align="center">
-<strong>역사 카툰</strong><br>
-<a href="#style-5"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-5-japan-hero.gif" alt="에도 시대 일본을 배경으로 한 역사 스틱맨 애니메이션" width="640"></a>
-</td>
-</tr>
-<tr>
<td width="50%" align="center">
<strong>미니멀 흑백</strong><br>
<a href="#style-gallery"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/dark-theme-demo.gif" alt="검은 배경 위 흰 선으로 표현한 미니멀 스틱맨 애니메이션" width="90%"></a>
@@ -48,6 +42,15 @@
<a href="#style-gallery"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-4-cozy-cafe.gif" alt="다채로운 일상 배경 속 표정이 살아 있는 스틱맨" width="90%"></a>
</td>
</tr>
+<tr>
+<td width="50%" align="center">
+<strong>역사 카툰</strong><br>
+<a href="#style-5"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-5-japan-hero.gif" alt="에도 시대 일본을 배경으로 한 역사 스틱맨 애니메이션" width="90%"></a>
+</td>
+<td width="50%" align="center">
+<strong>새로운 스타일 준비 중…</strong>
+</td>
+</tr>
</table>
<div align="center">
diff --git a/README.md b/README.md
index a11f068..90aa1f4 100644
--- a/README.md
+++ b/README.md
@@ -23,12 +23,6 @@
<table width="100%">
<tr>
-<td colspan="2" align="center">
-<strong>历史卡通风</strong><br>
-<a href="#style-5"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-5-japan-hero.gif" alt="历史卡通火柴人动画:江户日本的武士故事" width="640"></a>
-</td>
-</tr>
-<tr>
<td width="50%" align="center">
<strong>黑白极简</strong><br>
<a href="#style-gallery"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/dark-theme-demo.gif" alt="黑白极简火柴人动画:黑底白线、动态科普" width="90%"></a>
@@ -48,6 +42,15 @@
<a href="#style-gallery"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-4-cozy-cafe.gif" alt="治愈故事火柴人动画:彩色场景、生活共鸣" width="90%"></a>
</td>
</tr>
+<tr>
+<td width="50%" align="center">
+<strong>历史卡通风</strong><br>
+<a href="#style-5"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-5-japan-hero.gif" alt="历史卡通火柴人动画:江户日本的武士故事" width="90%"></a>
+</td>
+<td width="50%" align="center">
+<strong>待更新…</strong>
+</td>
+</tr>
</table>
<div align="center">
diff --git a/README.pt-BR.md b/README.pt-BR.md
index be13a61..48b9968 100644
--- a/README.pt-BR.md
+++ b/README.pt-BR.md
@@ -23,12 +23,6 @@ Estou testando estilos populares de animação com bonecos de palito e compartil
<table width="100%">
<tr>
-<td colspan="2" align="center">
-<strong>Cartoon histórico</strong><br>
-<a href="#style-5"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-5-japan-hero.gif" alt="Animação histórica com bonecos de palito no Japão do período Edo" width="640"></a>
-</td>
-</tr>
-<tr>
<td width="50%" align="center">
<strong>Minimalista em preto e branco</strong><br>
<a href="#style-gallery"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/dark-theme-demo.gif" alt="Animação minimalista de boneco de palito branco sobre fundo preto" width="90%"></a>
@@ -48,6 +42,15 @@ Estou testando estilos populares de animação com bonecos de palito e compartil
<a href="#style-gallery"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-4-cozy-cafe.gif" alt="Personagens expressivos em um cenário cotidiano colorido" width="90%"></a>
</td>
</tr>
+<tr>
+<td width="50%" align="center">
+<strong>Cartoon histórico</strong><br>
+<a href="#style-5"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-5-japan-hero.gif" alt="Animação histórica com bonecos de palito no Japão do período Edo" width="90%"></a>
+</td>
+<td width="50%" align="center">
+<strong>Mais estilos em breve…</strong>
+</td>
+</tr>
</table>
<div align="center">
diff --git a/README.zh-CN.md b/README.zh-CN.md
index a11f068..90aa1f4 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -23,12 +23,6 @@
<table width="100%">
<tr>
-<td colspan="2" align="center">
-<strong>历史卡通风</strong><br>
-<a href="#style-5"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-5-japan-hero.gif" alt="历史卡通火柴人动画:江户日本的武士故事" width="640"></a>
-</td>
-</tr>
-<tr>
<td width="50%" align="center">
<strong>黑白极简</strong><br>
<a href="#style-gallery"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/dark-theme-demo.gif" alt="黑白极简火柴人动画:黑底白线、动态科普" width="90%"></a>
@@ -48,6 +42,15 @@
<a href="#style-gallery"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-4-cozy-cafe.gif" alt="治愈故事火柴人动画:彩色场景、生活共鸣" width="90%"></a>
</td>
</tr>
+<tr>
+<td width="50%" align="center">
+<strong>历史卡通风</strong><br>
+<a href="#style-5"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@2697fac5e0466f44098148a52c9648697521b3d6/assets/readme/previews/style-5-japan-hero.gif" alt="历史卡通火柴人动画:江户日本的武士故事" width="90%"></a>
+</td>
+<td width="50%" align="center">
+<strong>待更新…</strong>
+</td>
+</tr>
</table>
<div align="center">
diff --git a/tests/verify-localized-readmes.py b/tests/verify-localized-readmes.py
index bbc9ebf..2c72e59 100644
--- a/tests/verify-localized-readmes.py
+++ b/tests/verify-localized-readmes.py
@@ -11,8 +11,19 @@ preview_pattern = rf'src="{re.escape(preview_base)}(assets/readme/previews/[^" ]
expected_previews = set(re.findall(preview_pattern, source))
assert len(expected_previews) == 11
for readme in root.glob("README*.md"):
- images = re.findall(r'src="([^" ]+\.gif)"', readme.read_text())
+ text = readme.read_text()
+ images = re.findall(r'src="([^" ]+\.gif)"', text)
assert images and all(url.startswith(preview_base) for url in images), readme.name
+ hero = text.split('<table width="100%">', 1)[1].split("</table>", 1)[0]
+ rows = re.findall(r"<tr>(.*?)</tr>", hero, re.DOTALL)
+ assert len(rows) == 3, (readme.name, "Hero must use three rows")
+ assert all(row.count('<td width="50%"') == 2 for row in rows), readme.name
+ order = ("dark-theme-demo.gif", "style-2a-demo.gif", "style-3-demo.gif",
+ "style-4-cozy-cafe.gif", "style-5-japan-hero.gif")
+ assert [hero.index(asset) for asset in order] == sorted(hero.index(asset) for asset in order)
+ last_cells = re.findall(r"<td[^>]*>(.*?)</td>", rows[-1], re.DOTALL)
+ assert "style-5-japan-hero.gif" in last_cells[0]
+ assert "<strong>" in last_cells[1] and "<img" not in last_cells[1]
approved_voiceover = (
"Ten thousand years ago, one man finally solved all his problems. He shut them outside.",
"Then someone offered him food… in exchange for a small favor. Congratulations. Employment was invented.",
@@ -38,12 +49,12 @@ for locale, (label, title, style_prefix, style_four, tutorial_language) in local
assert title in text, path.name
assert f"[**{label}**]({path.name})" in text
assert set(re.findall(preview_pattern, text)) == expected_previews
- assert text.count('width="90%"') == 4
+ assert text.count('width="90%"') == 5
assert text.count('width="360"') == 10
- assert text.count('width="640"') == 1
+ assert text.count('width="640"') == 0
assert len(re.findall(rf"^{re.escape(style_prefix)} [1-5]:|^{re.escape(style_prefix)}[1-5]:", text, re.MULTILINE)) == 5
assert 'https://github.com/leksautomate' in text
- assert text.index('style-5-japan-hero.gif') < text.index('dark-theme-demo.gif')
+ assert text.index('style-4-cozy-cafe.gif') < text.index('style-5-japan-hero.gif')
assert style_four in text
assert tutorial_language in text
for link in common_links: