Skip to content

词光 · Word Atlas — Illustrated IELTS vocabulary with 7,298 words, UK/US audio and FSRS review. Open-source app + CC BY 4.0 dataset.

Show an autoplay highlight of the launch film at the top of the README

designfuchenb44d5448ec72
diff --git a/PUBLIC_MANIFEST.json b/PUBLIC_MANIFEST.json
index 16438c06..41b2e929 100644
--- a/PUBLIC_MANIFEST.json
+++ b/PUBLIC_MANIFEST.json
@@ -1,6 +1,6 @@
{
-"files": 37724,
-"bytes": 710231089,
+"files": 37725,
+"bytes": 712177744,
"items": [
{
"path": ".github/workflows/check.yml",
@@ -34,13 +34,13 @@
},
{
"path": "README.en.md",
-"bytes": 4348,
-"sha256": "496a31413673c27707647346ac165c38443b163fc7f69edf3bb54262d7d20125"
+"bytes": 4436,
+"sha256": "1ab82133f602eeda1a3d916ff81e214881987cb6f66255239be736dcf8632e77"
},
{
"path": "README.md",
-"bytes": 9300,
-"sha256": "2993cd29df536455e452fd7408fe6a081bad1732f7a7d98832c16dcaed47ece6"
+"bytes": 9336,
+"sha256": "7b829936c0874d6a3fd6ca402b3a7b7d71a69f9f94cdfcca2ac75c34add3d7e5"
},
{
"path": "SECURITY.md",
@@ -93,6 +93,11 @@
"sha256": "515f63db82ac563bb0e86052b8a885fd08f6e8f2e491a43962a86faa71bbd8fe"
},
{
+"path": "docs/assets/launch-preview.webp",
+"bytes": 1946522,
+"sha256": "ed02ece1511082d1d602144313aa7733b7aaab187212ce6ca82a9058a1e51dfe"
+},
+{
"path": "docs/assets/launch.mp4",
"bytes": 7763099,
"sha256": "4f0908300c67c17c73d5ad5f6338e8fd21c83ab6cc5139bfb1647ce0b6bba14d"
@@ -188374,8 +188379,8 @@
},
{
"path": "scripts/package_public.py",
-"bytes": 5837,
-"sha256": "c904b05ac0f59d57054dac1355e2bf280fbc56ca823ea544ce042ee91a294727"
+"bytes": 5846,
+"sha256": "23190deee96362f8e3531d7efce872698b06f29ce3e4255a42c4ba98ebc76101"
},
{
"path": "scripts/record-demo.mjs",
diff --git a/README.en.md b/README.en.md
index 1ec09c92..efda10a5 100644
--- a/README.en.md
+++ b/README.en.md
@@ -9,7 +9,9 @@
[**Open the app →**](https://0xlei.tech/words/)  ·  [▶ Launch film](docs/assets/launch.mp4)  ·  [Download the dataset](data/)  ·  [中文](README.md)
-<a href="docs/assets/launch.mp4"><img src="docs/assets/launch-poster.jpg" alt="Word Atlas launch film" width="100%"></a>
+<a href="docs/assets/launch.mp4"><img src="docs/assets/launch-preview.webp" alt="Word Atlas launch film highlights" width="100%"></a>
+
+<sub>▶ Click to watch the full 48-second launch film (with sound)</sub>
</div>
diff --git a/README.md b/README.md
index 1bb55798..f94662c5 100644
--- a/README.md
+++ b/README.md
@@ -13,9 +13,9 @@
![MIT](https://img.shields.io/badge/code-MIT-1E2640) ![CC BY 4.0](https://img.shields.io/badge/content-CC%20BY%204.0-C4573A) ![words](https://img.shields.io/badge/words-7%2C298-7F9B77) ![FSRS](https://img.shields.io/badge/scheduler-FSRS%206-D9A03A) ![no login](https://img.shields.io/badge/login-not%20required-6F93AE) ![GitHub stars](https://img.shields.io/github/stars/designfuchen/word-atlas?style=flat&color=E8B65A)
-<a href="docs/assets/launch.mp4"><img src="docs/assets/launch-poster.jpg" alt="词光宣传片:每本单词书都从 abandon 开始" width="100%"></a>
+<a href="docs/assets/launch.mp4"><img src="docs/assets/launch-preview.webp" alt="词光宣传片精华:每本单词书都从 abandon 开始" width="100%"></a>
-<sub>每本单词书都从 abandon 开始,也停在 abandon。点开看 48 秒宣传片。</sub>
+<sub>每本单词书都从 abandon 开始,也停在 abandon。▶ 点击画面看 48 秒完整宣传片(有声音)</sub>
</div>
diff --git a/docs/assets/launch-preview.webp b/docs/assets/launch-preview.webp
new file mode 100644
index 00000000..1cb54ac1
Binary files /dev/null and b/docs/assets/launch-preview.webp differ
diff --git a/scripts/package_public.py b/scripts/package_public.py
index b23c1cdb..e6c6eab3 100644
--- a/scripts/package_public.py
+++ b/scripts/package_public.py
@@ -48,7 +48,7 @@ def allowed(rel: Path) -> bool:
if p[0] == "scripts":
return (len(p) == 2 and p[1] in SCRIPTS) or (len(p) == 3 and p[1] == "atlas" and p[2] in ATLAS_SCRIPTS)
if p[0] == "docs":
- return (len(p) == 2 and rel.suffix == ".md") or (len(p) == 3 and p[1] == "assets" and rel.suffix in {".jpg", ".png", ".gif", ".mp4"})
+ return (len(p) == 2 and rel.suffix == ".md") or (len(p) == 3 and p[1] == "assets" and rel.suffix in {".jpg", ".png", ".gif", ".webp", ".mp4"})
if p[0] == "data":
return len(p) == 2 and p[1] in {"word-atlas.json", "word-atlas.csv", "README.md"}
if name in {".github/workflows/check.yml", ".github/workflows/pages.yml"}: