diff --git a/changes/site-sample-wall.md b/changes/site-sample-wall.md new file mode 100644 index 00000000..bbb2d6e7 --- /dev/null +++ b/changes/site-sample-wall.md @@ -0,0 +1,5 @@ +**官网:每支样片、每种风格都带一句"照这个做一支";快速开始列出四个入口** +- Why: 新来的人第一步卡在"该说什么"。官网上的样片和风格只能看,不能直接拿来开片。 +- 作品区:每张片子的左上角(播放键对面)有一个"照这个做一支 · 复制这句话":鼠标移上去或用键盘 Tab 到它时出现,触屏上一直显示。复制的是一句同类片子、换一个新题目的快出需求;发布短片那句留了一个要你填的空([在这里贴上它的链接])。页面底部说一声复制了什么,点开风格大图时这行字自己收起。点它不会播片。 +- 风格墙:点开一种风格,样片下面是一句可复制的话:用这种风格快出一版 20 秒的短片,只用画面和文字、不配旁白(避开第一次的配音下载),横屏或竖屏按这种风格支持的画幅;`bin/vh new … --style` 那行命令留在下面。`tools/readme.py check` 核对哪些风格算竖屏。 +- 快速开始第二步改成四个入口,每个入口带自己的命令,和 README 一样的顺序:Studio(`bin/vh studio`)、终端(`codex`、`claude`)、Claude Code 或 Codex 的桌面 App、别的文件夹(只装 skill:`npx skills add …`)。`tools/readme.py check` 新查一条:页面上每一条可复制的命令,同一个提交的 README 里都要有,页面就不会先于仓库给出还没有的命令。 diff --git a/docs/site/index.html b/docs/site/index.html index 02696c6e..1c0eb0d2 100644 --- a/docs/site/index.html +++ b/docs/site/index.html @@ -438,6 +438,16 @@ .film figcaption b { display: block; font-size: clamp(15px, 1.15vw, 18px); font-weight: 600; } .film figcaption q { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.25; color: var(--text-2); margin-top: 2px; letter-spacing: -.01em; } .film figcaption small { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 4px; } +.say-mini { position: absolute; top: 12px; left: 12px; right: 62px; z-index: 2; opacity: 0; pointer-events: none; transition: opacity .25s; } +.film:hover .say-mini, .film:focus-within .say-mini { opacity: 1; pointer-events: auto; } +@media (hover: none) { .say-mini { opacity: 1; pointer-events: auto; } } /* a phone: always there, over the film's top-left, opposite its play button */ +.say-mini [data-copy-text] { display: none; } +.say-mini .copy.say-btn { position: static; transform: none; white-space: nowrap; font-size: 12px; padding: 4px 10px; border-radius: 999px; color: var(--cyan); background: rgba(8,10,20,.6); } +.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 12px); max-width: min(720px, calc(100vw - 32px)); padding: 10px 16px; border-radius: 12px; background: rgba(12,14,26,.95); border: 1px solid var(--line); color: var(--text); font-size: 14px; line-height: 1.45; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 60; } +.toast.show { opacity: 1; transform: translate(-50%, 0); } +.films.sees .say-mini { display: none; } +.lb-say { flex-basis: 100%; margin-top: 2px; font-size: clamp(15px, 1.15vw, 18px); } +.lb-cap code.lb-code { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); } .film .pbtn { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; z-index: 1; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); @@ -521,6 +531,14 @@ .cmd code { font: inherit; } .cmd.say { white-space: normal; font-family: var(--display); font-weight: 500; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.35; letter-spacing: -.01em; background: var(--glass); } .start-cli { margin-top: 8px; } +.ways { list-style: none; display: grid; gap: 6px; margin: 0 0 10px; font-size: 14.5px; line-height: 1.45; color: var(--text-2); } +.steps .ways li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; } +.steps .ways li::before { content: none; } +.ways b { color: var(--text); font-weight: 600; } +.ways code { font-family: var(--mono); font-size: .92em; color: var(--cyan); } +.ways .cmd code { color: var(--text); font-size: 1em; } +.ways-cmds { grid-column: 2; display: grid; gap: 6px; margin-top: 2px; } +@media (max-width: 640px) { .steps .ways li { grid-template-columns: minmax(0, 1fr); gap: 0; } .ways-cmds { grid-column: 1; margin-top: 6px; } } .start-cli summary { color: var(--cyan); cursor: pointer; font-size: 14px; } .start-cli .cmd { margin-top: 6px; } .steps h3 + .fine, .steps .fine + .cmd { margin-bottom: 6px; } @@ -744,6 +762,7 @@ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } .js [data-r], .js .split .w > span, .js .hero h1, .js .wall, .js .sw { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; } + .say-mini, .toast { transition: none; } } @@ -853,14 +872,13 @@
curl -fsSL https://raw.githubusercontent.com/ZLHad/OpenVideoHarness/main/install.sh | bashOpen the app, choose your signed-in Claude Code or Codex in the agent column, and click Set it up if prompted. You can also launch Studio from the default install folder.打开应用,在右栏选择已登录的 Claude Code 或 Codex。看到适配器提示时点装上。也可以从默认安装目录启动 Studio。
-cd ~/OpenVideoHarness && bin/vh studiocd ~/OpenVideoHarness && codexcd ~/OpenVideoHarness && claudebin/vh studio in the install folder), choose your signed-in Claude Code or Codex in the agent column, and click Set it up if prompted.从应用程序打开 OVH Studio(或在安装目录运行 bin/vh studio),在右栏选已登录的 Claude Code 或 Codex,看到适配器提示时点装上。cd ~/OpenVideoHarness && bin/vh studiocd ~/OpenVideoHarness && codexcd ~/OpenVideoHarness && claude~/OpenVideoHarness) as the project.在 Claude Code 或 Codex 的桌面 App 里,把安装目录(~/OpenVideoHarness)当作项目打开。npx skills add https://github.com/ZLHad/OpenVideoHarness --skill open-video-harnessWhy does a low-orbit satellite's signal change pitch?为什么低轨卫星的信号会"变调"?HyperFrames · 24.8 s · 1080×1920 · Chinese voice, two-language subtitlesHyperFrames · 24.8 秒 · 1080×1920 · 中文配音,双语字幕
Why does a low-orbit satellite's signal change pitch?为什么低轨卫星的信号会"变调"?HyperFrames · 24.8 s · 1080×1920 · Chinese voice, two-language subtitlesHyperFrames · 24.8 秒 · 1080×1920 · 中文配音,双语字幕
Building a square wave from sine waves用正弦波搭出方波Manim · 25 s · English narrationManim · 25 秒 · 英文旁白
Building a square wave from sine waves用正弦波搭出方波Manim · 25 s · English narrationManim · 25 秒 · 英文旁白
Clawd tries to film a falling autumn leafClawd 想拍下一片飘落的秋叶p5.brush · 12 s · no words, score and foleyp5.brush · 12 秒 · 无台词,配乐和拟音
Clawd tries to film a falling autumn leafClawd 想拍下一片飘落的秋叶p5.brush · 12 s · no words, score and foleyp5.brush · 12 秒 · 无台词,配乐和拟音
A short launch film for OpenVideoHarness itself给 OpenVideoHarness 自己做的发布短片HyperFrames · 20 s · a sound for every moveHyperFrames · 20 秒 · 每个动作都有声音
A short launch film for OpenVideoHarness itself给 OpenVideoHarness 自己做的发布短片HyperFrames · 20 s · a sound for every moveHyperFrames · 20 秒 · 每个动作都有声音
(.*?)", html, re.S):
+ c = html_lib.unescape(re.sub(r"<[^>]+>", "", c)).strip()
+ if not any(f"`{x}`" in readmes or f"\n{x}\n" in readmes for x in (c, c.removeprefix("cd ~/OpenVideoHarness && "))):
+ bad.append(f"{SITE}: offers the command {c!r}, which no README gives (write it there first)")
+ # every command the page gives to copy is one a README gives on the same commit (whole, or after "cd ~/OpenVideoHarness
+ # && "), so the page cannot offer a command the repo does not have yet
+ readmes = "\n".join((ROOT / f).read_text(encoding="utf-8") for f in ("README.md", "README.zh-CN.md"))
+ for c in re.findall(r"(.*?)", html, re.S):
+ c = html_lib.unescape(re.sub(r"<[^>]+>", "", c)).strip()
+ if not any(f"`{x}`" in readmes or f"\n{x}\n" in readmes for x in (c, c.removeprefix("cd ~/OpenVideoHarness && "))):
+ bad.append(f"{SITE}: offers the command {c!r}, which no README gives (write it there first)")
body = html[html.find("]*\blang=\"(en|zh)\"", body)
en, zh = (sum(1 for tag, lang in tags if lang == want and tag != "small") for want in ("en", "zh"))
contact sheet联系表
-
contact sheet联系表
-
contact sheet联系表
-
contact sheet联系表
-