From 2ea3fdee3008b6799db90da6e6097e7e06211db6 Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 14 May 2026 00:02:25 -0700 Subject: [PATCH] chore: add Copilot instructions (project guidance) --- .github/copilot-instructions.md | 67 +++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 .github/copilot-instructions.md diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 0000000..41167aa --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,67 @@ +The repository is a browser-only local video key-frame extractor (suggested Vite + React + TypeScript). + +Be concise and only change files relevant to this feature-area unless asked to expand the scope. + +Quick context (what this project is and why) +- Goal: let a user pick a local video file, scan for visually significant frames, and copy/download a small set (4–10) of full-resolution stills. No backend; everything runs in the browser. +- Primary design choices: use HTMLVideoElement + Canvas API for V1 sampling; avoid heavy WASM tools (ffmpeg.wasm, OpenCV.js) for initial implementation. Move analysis to a Worker/OffscreenCanvas in V2. + +Where to look (key files/dirs) +- `design-document.md` — authoritative implementation notes and algorithms (frame difference, histogram, phash), default settings, and suggested file layout. +- Suggested source layout (not yet implemented): `src/app`, `src/components`, `src/media`, `src/analysis`, `src/workers`, `src/types` — use these paths if adding code. + +High-level architecture +- File picker → createObjectURL → hidden `