You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6266708
Browse filesBrowse the repository at this point in the historyBrowse files
# No environment variables required for basic usage.
2
-
# Run `pnpm dev` to start the studio, `npx hyperframes render` to render video.
2
+
# Run `bun run dev` to start the studio, `npx hyperframes render` to render video.
3
3
4
4
# Optional integrations:
5
-
#ANTHROPIC_API_KEY= # For AI-assisted composition via MCP
5
+
#GEMINI_API_KEY= # AI image captioning during website capture (https://aistudio.google.com/apikey)
@@ -75,7 +75,7 @@ If you don't have the skill installed, run: \`npx skills add heygen-com/hyperfra
75
75
76
76
| File | Contents |
77
77
|------|----------|
78
-
${hasScreenshot ? "| `screenshots/full-page.png` | Full-page screenshot (very tall — hard to read details, use scroll screenshots instead) |\n| `screenshots/scroll-0.png` | Hero section at 1920x1080 — **VIEW THIS FIRST** to understand the site's look and feel |\n| `screenshots/scroll-25.png` | Page at 25% scroll — 1920x1080 readable viewport |\n| `screenshots/scroll-50.png` | Page at 50% scroll — 1920x1080 readable viewport |\n| `screenshots/scroll-75.png` | Page at 75% scroll — 1920x1080 readable viewport |\n| `screenshots/scroll-100.png` | Page bottom at 1920x1080 — footer and final sections |" : ""}
78
+
${hasScreenshot ? "| `screenshots/scroll-*.png` | Viewport screenshots covering the full page (1920x1080 each, 30% overlap). **View scroll-000.png FIRST** (hero section), then scan through the rest to understand the full page. |" : ""}
? "Anti-bot protection detected (Cloudflare challenge or similar)"
217
+
: "Page has very little text content ("+
218
+
pageContentCheck.textLength+
219
+
" chars) — may be blocked or a client-rendered SPA that needs more time";
220
+
warnings.push(reason);
221
+
progress("warn",reason);
222
+
// Write a BLOCKED.md file so the user/agent knows what happened
223
+
writeFileSync(
224
+
join(outputDir,"BLOCKED.md"),
225
+
`# Capture Warning\n\n${reason}\n\nThe page at ${url} may not have been captured correctly.\n\n## What to try\n\n- Re-run with a longer timeout: \`--timeout 60000\`\n- The site may require authentication or block headless browsers\n- Try capturing from a different URL on the same domain\n`,
226
+
"utf-8",
227
+
);
228
+
}
229
+
175
230
// Scroll through page to trigger lazy-loaded images and Lottie animations
0 commit comments