尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Interactive soccer play builder and animator
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗An interactive web tool to create, animate, and share tactical soccer patterns of play — an animated whiteboard for coaches. Drag players on an SVG pitch, draw passes and runs, add step-by-step narration, preview the animation at 60fps, then save and share a link.
requestAnimationFrame loop.npm install
cp .env.local.example .env.local # fill in your Supabase project values
npm run dev # http://localhost:3000
| Variable | Description |
|---|---|
NEXT_PUBLIC_SUPABASE_URL | Your Supabase project URL |
NEXT_PUBLIC_SUPABASE_ANON_KEY | Your Supabase anon (public) key |
The app works without a database — the editor runs and a banner reads "Database not configured — plays won't be saved." Saving is disabled until you configure Supabase:
supabase/migrations/001_initial.sql, then supabase/migrations/002_mvp_open_access.sql (MVP has no auth, so 002 opens read/write to the anon key; tighten it when sign-in lands)..env.local (locally) and the Vercel project's Environment Variables (then redeploy — NEXT_PUBLIC_* values are inlined at build time):
NEXT_PUBLIC_SUPABASE_URLNEXT_PUBLIC_SUPABASE_ANON_KEYAPI: GET/POST /api/plays, GET/PUT/DELETE /api/plays/:id (503 when the database isn't configured).
npm run dev # dev server
npm run build # production build
npm run typecheck # tsc --noEmit
npm run test # vitest run
npm run test:watch # vitest watch mode
npm run lint # eslint
src/
app/ # App Router pages
page.tsx # home
library/ # browse public plays
play/[id]/ # public play viewer
editor/ # play editor (auth required), editor/[id] edits existing
api/plays/ # REST API: list/create + get/update/delete
components/
editor/ # PitchEditor, StepSequencer, NarrativePanel, toolbars…
viewer/ # AnimatedPitch (animation engine), PlayControls, StepNarrative
library/ # PlayCard, PlayGrid, PlayFilters
layout/ # Header, AuthButton
ui/ # shadcn/ui components
lib/
engine/ # physics (trapezoid easing, tweens), simulator, pitch coords
store/ # Zustand stores (editorStore, playStore)
supabase/ # browser/server clients + session middleware
types/ # Play data model + editor types
api/ # typed client helpers for /api/plays
middleware.ts # Supabase auth middleware (gates /editor)
supabase/
migrations/ # SQL migrations
Pitch coordinates are in meters: x = 0..68, y = 0..105 (y=0 is our goal line). The reference half-pitch view maps x=16..68, y=22..105 onto a 580×890 SVG viewBox at 10px/m via the X() / Y() helpers in src/lib/engine/pitch.ts.