Futbol Veritabanı
8대 리그 클럽·선수·통계—Transfermarkt 데이터
무료 판타지 프리미어리그 분석: 예상 포인트·이적 계획·경기 난이도·주장·칩 전략 제공
Free Fantasy Premier League analytics: expected points projections, transfer planning, fixture difficulty, captaincy and chip strategy for every gameweek.
스포츠·피트니스TypeScript · PLpgSQLGitHub @Dsinha97온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기FPL Decision: Fantasy Premier League analytics and decision support
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Personal Fantasy Premier League analytics and decision-support application. A static Next.js front
end on Cloudflare, with Supabase Postgres and Edge Functions behind it.
Live at fpldecision.com.README 전문 보기 ↗Personal Fantasy Premier League analytics and decision-support application. A static Next.js front end on Cloudflare, with Supabase Postgres and Edge Functions behind it.
Live at fpldecision.com.
roadmap.md, as is
docs/sources/fpl_app_phase_wise_build_plan.md, the original
architecture document phases 0–4 were built fromAn expected-points model runs in Postgres over the FPL API's data, and the front end turns it into decisions rather than dashboards:
TeamState, with a
replacement finder for any single pickTwo rules shape the numbers throughout. Where FPL zeroes a field between seasons, the term is dropped and the remaining weights renormalised, with a note in the UI next to the figure — never multiplied by zero and quietly shrunk. And a number is labelled for what it is: downgrades are called downgrades, an assumption is shown as its own term, and an empty result set says so rather than ranking five worse options.
main by Cloudflare's Git integrationnpm install
cp .env.example .env.local # fill in your Supabase project URL + publishable key
npm run dev
Open http://localhost:3000.
The browser only ever reads, and only over the publishable key — every write path is an Edge Function running with the service role, so the client bundle needs no other secret.
npx tsc --noEmit # typecheck — run before every commit
npm run lint
npm run build # static export to out/ — must pass before pushing
app/ — routes (/ /team /players /fixtures /news /builder /scenarios
/transfers /compare /status)lib/ — the model layer: team-state.ts plus the optimiser, lineup, scoring, squad-score,
transfer and transfer-optimiser engines. All pure, so they are testable without React or networkcomponents/ — UI components (shadcn/ui-style primitives in components/ui)supabase/migrations/ — versioned schema changessupabase/functions/ — Edge Functions (ingestion, predictions). Deno, and deliberately excluded
from tsconfig and eslint, or tsc --noEmit breaks on Deno globals.github/workflows/ — CI only (ci.yml). The deploy lives on Cloudflarewrangler.jsonc — Cloudflare Worker config: static assets from out/, no server scriptPushing to main triggers a Cloudflare build from the Git integration: npm run build, then
wrangler deploy serves out/ as static assets per wrangler.jsonc. Node comes from .nvmrc.
NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY must be Cloudflare Build
variables, not runtime bindings — a static export bakes them in at build time, and
lib/supabase/client.ts calls createClient at module scope, so a missing one fails the build
outright rather than degrading. The same two values are GitHub Secrets for ci.yml, which builds as
a quality gate without deploying.
Two things the Cloudflare setup wizard gets wrong for this project: it defaults the build command to
the OpenNext adapter (npx opennextjs-cloudflare build), which targets server-rendered Next and
fails on a static export, and it offers no base path — correctly, since the site is served from a
domain root. There is deliberately no basePath in next.config.ts any more.
Every schema change is a versioned SQL file in supabase/migrations/, applied to the Supabase
project and committed here. Migrations and function deploys go through the Supabase MCP OAuth
integration — the database password is never requested, stored, or accepted.
Source code is MIT; written content, branding and third-party data are excluded. See LICENSE.