尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗News, scores, stats, fantasy analytics, sportsbook odds, and an AI assistant that can answer questions and generate custom views on demand — all in one place.
LLMProvider interface — Anthropic / OpenAI implementations stubbed for one-line swapSee docs/RUNBOOK.md for full setup.
# Install Postgres (one-time)
brew install postgresql@16
brew services start postgresql@16
createdb nflapp
# Backend
cd backend
python -m venv .venv && source .venv/bin/activate
pip install -e .
cp ../.env.example ../.env # fill in GROK_API_KEY at minimum
alembic upgrade head
uvicorn app.main:app --reload --port 8000
# Frontend (in a new terminal)
cd frontend
npm install
npm run dev # http://localhost:3000
nfl-app/
├── backend/ FastAPI service, data adapters, AI layer, scheduler
├── frontend/ Next.js app, widget renderer, theming
├── docs/ ARCHITECTURE, DATA_SOURCES, AI_DESIGN, RUNBOOK
└── .env.example
Vercel (frontend, frontend/) + Railway (backend + Postgres, backend/). Use two Railway services: APP_ROLE=web (public API) and APP_ROLE=worker (scheduler). Full checklist: docs/DEPLOY.md.
Browsing teams, scores, news, and odds works without signing in. Accounts are optional and used for saved widgets, AI chat history, and per-user data when multi-user mode is on.
| Variable | Default | Purpose |
|---|---|---|
MULTI_USER_MODE | false | false: all API routes use the seeded system@local user (single-tenant). true: JWT required on protected routes (/widgets, /ai, etc.). |
SECRET_KEY | (required in prod) | Signs JWT access tokens |
JWT_EXPIRE_MINUTES | 10080 (7 days) | Token lifetime |
Enable multi-user locally: set MULTI_USER_MODE=true in repo-root .env, restart the backend, register at /register, then use the app signed in. Public pages still work anonymously; widget/AI endpoints need a Bearer token (stored in localStorage by the frontend).
API: POST /auth/register, POST /auth/login, GET/PATCH /auth/me, POST /auth/change-password — Bearer token on protected calls.
OAuth (Google / Apple): not implemented in this MVP. See docs/OAUTH.md for what would be needed.