Dugout Value
Baseball research on pitching, hitting, and projections, plus tools for comparing players, contracts, and trade value.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Informal cricket scoring Next.js Supabase
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Small Next.js app: create a match, score on the secret write URL, share the public read-only URL (/m/{public_id}). After you mark the match complete, further edits require the scorer PIN again (stored as hash; unlock uses an HttpOnly cookie).
The Sparta club website (events, RSVPs, marketing, admin) lives in a separate project: C:\Roop\Code\hobby\sparta-club-portal.檢視完整 README ↗Small Next.js app: create a match, score on the secret write URL, share the public read-only URL (/m/{public_id}). After you mark the match complete, further edits require the scorer PIN again (stored as hash; unlock uses an HttpOnly cookie).
The Sparta club website (events, RSVPs, marketing, admin) lives in a separate project: C:\Roop\Code\hobby\sparta-club-portal.
.env.local.NEXT_PUBLIC_SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY (server-only, never expose to the browser bundle in client components).MATCH_UNLOCK_SECRET to a long random string (e.g. openssl rand -hex 32).NEXT_PUBLIC_SITE_URL — used for nicer absolute links locally and in production (Vercel deploy URL).Project: cric-score · ref lojomuhczvxyouudassi (must match NEXT_PUBLIC_SUPABASE_URL).
Full setup steps (MCP, SQL Editor, verify): supabase/README.md
First-time migration (reusable, idempotent): run
supabase/migrations/001_cricket_scorer_initial.sql
in the Supabase SQL Editor, or via Supabase MCP apply_migration with name cricket_scorer_initial.
After the project is active and migration is applied:
npm run db:verify
Static design previews — open in a browser (no build step):
mockups/index.html — overview + side-by-side previewsmockups/live-scorer.html — scoring pad + hero scoremockups/create-match.html — setup formmockups/public-scorecard.html — read-only viewInspired by common live-score patterns (big score first, card layout, ball chips, thumb-friendly pad). Not wired to the app yet.
npm install
npm run dev
npm run build
Production (Vercel): https://cricket-scorer-azure.vercel.app
Project name: cricket-scorer · team: roop-yekollus-projects
| Variable | Notes |
|---|---|
NEXT_PUBLIC_SUPABASE_URL | Supabase project URL |
SUPABASE_SERVICE_ROLE_KEY | Server-only |
MATCH_UNLOCK_SECRET | PIN unlock signing |
NEXT_PUBLIC_SITE_URL | https://cricket-scorer-azure.vercel.app |
Optional: NEXT_PUBLIC_SUPABASE_ANON_KEY if you add client-side Supabase later.
Redeploy after env changes: npx vercel deploy --prod
Repo: yrk1436/cricket-scorer (public) · branch main
If the repo is not created yet, either:
repo scope or fine-grained Administration write).Then push from this folder:
git remote set-url origin https://github.com/yrk1436/cricket-scorer.git
git push -u origin main
npx vercel git connect
Or run .\scripts\publish-github.ps1 after gh auth login.
Vercel pairs well with Next.js. Remember the Supabase free tier may pause idle projects.