-
Notifications
You must be signed in to change notification settings - Fork 0
Quickstart for judges
You have five minutes. Here's the demo.
git clone https://github.com/lukataylo/Foley.git
cd Foley
pnpm bootstrappnpm bootstrap checks pnpm/uv/ffmpeg are on PATH, installs Node + Python deps, fetches the Playwright Chromium binary, and copies .env.example → .env.
Open .env and paste two keys (free tiers are fine):
ANTHROPIC_API_KEY=…ELEVENLABS_API_KEY=…
pnpm devOpen http://localhost:3000. The home page is the folder grid of every walkthrough on disk. The seeded Loop walkthrough is fully baked and plays end-to-end with smooth voice across step boundaries.
Click + New walkthrough in the home grid. The wizard takes a GitHub repo (mock examples shown if no GITHUB_PAT is set) and a Dev URL where the product is running locally — http://localhost:3001 is fine for the demo.
What happens, in ~30 seconds:
-
/api/onboard/bootstrapwrites awalkthroughs/<slug>/scaffold. -
/api/onboard/propose-stepscalls Claude Sonnet 4.6 (adaptive thinking, forced tool call) with the dev URL's landing-page HTML. Claude proposes 4–7 grounded Playwright steps with text-locator selectors. - You land in
/walkthroughs/<slug>/editwith the step list ready to render.
Click Render video. Playwright captures each step against your dev server, ElevenLabs narrates, ffmpeg concatenates. ~60–90 s end-to-end.
Once a walkthrough has a master take, /docs/<id> is the public page. Try the seeded one: http://localhost:3000/docs/v1.
Notable surfaces:
-
Open in Claude / ChatGPT / Perplexity / Cursor dropdown (top right) — one-click hand-off with the walkthrough's
.mdURL pre-filled. - Ask this walkthrough widget (bottom right) — Claude with the step transcript as context, citations are click-to-jump.
- Transcript panel below the master video — every step is a click-to-scrub row.
- Captions — toggle CC on the player; lazily generated WebVTT from ElevenLabs alignment.
- Feedback — thumbs in the footer, logs to a JSONL.
Plain-Markdown export at /docs/<id>.md, AI discovery at /llms.txt and /skill.md, MCP-style manifest at /api/mcp. Drop any of those into your favourite LLM tool and it'll Just Work.
If you have gh authenticated and a watched product repo with a real PR:
pnpm director review <PR_NUMBER>Foley diffs the PR via Sonnet 4.6, classifies every step (UNCHANGED / CHANGED / ADDED / REMOVED), Playwright-recaptures only the affected steps, ElevenLabs re-narrates only the changed lines, and posts a comment back to the PR with a per-step diff table and an embedded preview GIF.
That's it. The README has a 24-second auto-tour rendered by Foley of Foley itself — every artefact in this repo went through the pipeline judges will use.