● Zion Boggan zionboggan.com ↗

Drop machine-local node_modules symlink and scratch scripts from tracking

2cb584a   Zion Boggan committed on Jun 25, 2026 (1 month ago)
promo/.gitignore +3 -0
@@ -7,3 +7,6 @@ build/
*.mp4
voiceover/kvenv/
__pycache__/
+
+node_modules
+recap*.mjs
promo/node_modules +0 -1
@@ -1 +0,0 @@
-/root/.npm/_npx/361ceb562f3b3235/node_modules
promo/recap.mjs +0 -18
@@ -1,18 +0,0 @@
-import { chromium } from "playwright-core";
-import { readFileSync } from "fs";
-const EXE="/root/.npm/_npx/361ceb562f3b3235/node_modules/playwright-core/.local-browsers/chromium-1228/chrome-linux64/chrome";
-const SCR="/tmp/claude-0/-shared-projects/26d7af11-61c4-4183-85c3-70d9aac72ef6/scratchpad";
-const EV=readFileSync(`${SCR}/.evid`,"utf8").trim();
-const b=await chromium.launch({executablePath:EXE,args:["--no-sandbox","--disable-dev-shm-usage"]});
-const f=await b.newPage({viewport:{width:1920,height:1080},deviceScaleFactor:1});
-const full=async(path,name,sel)=>{
- await f.goto(`http://REDACTED-IP:3000${path}`,{waitUntil:"load"});
- await f.waitForSelector(sel,{timeout:8000}).catch(()=>{});
- await f.waitForFunction(()=>document.body.scrollHeight>1300,{timeout:8000}).catch(()=>{});
- await f.waitForTimeout(1200);
- await f.screenshot({path:`/shared/projects/SteppingApp/promo/shots/${name}.png`,fullPage:true});
- console.log(name, await f.evaluate(()=>document.body.scrollHeight));
-};
-await full("/city/atlanta","city","text=The Line-Up");
-await full(`/city/atlanta/event/${EV}`,"event","text=The Crowd");
-await b.close();
promo/recap2.mjs +0 -18
@@ -1,18 +0,0 @@
-import { chromium } from "playwright-core";
-import { readFileSync } from "fs";
-const EXE="/root/.npm/_npx/361ceb562f3b3235/node_modules/playwright-core/.local-browsers/chromium-1228/chrome-linux64/chrome";
-const SCR="/tmp/claude-0/-shared-projects/26d7af11-61c4-4183-85c3-70d9aac72ef6/scratchpad";
-const EV=readFileSync(`${SCR}/.evid`,"utf8").trim();
-const b=await chromium.launch({executablePath:EXE,args:["--no-sandbox","--disable-dev-shm-usage"]});
-const ctx=await b.newContext({viewport:{width:1920,height:1080},deviceScaleFactor:1,reducedMotion:"reduce"});
-const f=await ctx.newPage();
-const full=async(path,name,sel)=>{
- await f.goto(`http://REDACTED-IP:3000${path}`,{waitUntil:"networkidle"});
- await f.waitForSelector(sel,{timeout:8000}).catch(()=>{});
- await f.waitForTimeout(1000);
- await f.screenshot({path:`/shared/projects/SteppingApp/promo/shots/${name}.png`,fullPage:true});
- console.log(name, await f.evaluate(()=>document.documentElement.scrollHeight));
-};
-await full("/city/atlanta","city","text=The Line-Up");
-await full(`/city/atlanta/event/${EV}`,"event","text=The Crowd");
-await b.close();