尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Full-stack Web Application For EdTheStatMan.com – A Next.js-based sports betting analytics website showcasing betting systems, trends, results, and blog content.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
A sports betting membership site: tier-gated access to a predictive model's systems library, weekly curated research, and graded picks. Next.js 14 App Router, Supabase, Stripe, deployed on Vercel.
Full technical reference: docs/ARCHITECTURE.md — routes, schema, entitlement model, Stripe flow, env vars, operations, and known gaps. Start there.
npm run build, npm run start and npm run lint are the only other scripts.查看完整 README ↗Live site → edthestatman.com
A sports betting membership site: tier-gated access to a predictive model's systems library, weekly curated research, and graded picks. Next.js 14 App Router, Supabase, Stripe, deployed on Vercel.
Full technical reference: docs/ARCHITECTURE.md — routes, schema, entitlement model, Stripe flow, env vars, operations, and known gaps. Start there.
npm install
npm run dev # → http://localhost:3000
npm run build, npm run start and npm run lint are the only other scripts.
[!WARNING]
.env.localholds live production credentials — the real Supabase project, a live Stripe key, and the real Resend key. There is no sandbox. Anything run locally writes to the production database and sends real email to real members. Treat every local script run as a production change.
There is no .env.example. The complete, annotated list of every required variable is in docs/ARCHITECTURE.md. At minimum you need the three Supabase keys, NEXT_PUBLIC_SITE_URL, the Stripe secret and webhook secret, and the Stripe price IDs.
Never mark a NEXT_PUBLIC_* variable as "Sensitive" in Vercel — it is then not exposed at build time and Next silently inlines undefined.
There is no migration runner. Files in supabase/ are applied by hand in the Supabase SQL editor, in the order each file's header specifies. Read the header before pasting: betting_tables.sql drops its tables first, and add_elite_tier.sql must run alone.
app/ routes: pages + API handlers (App Router)
components/ ~49 React components
lib/ shared logic: access, offer, stripe, gate, teaser, nfl,
analytics, notify/, supabase/
hooks/ useCounter, useScrollAnimation
supabase/ schema.sql, betting_tables.sql, migrations/
scripts/ one-off .mjs jobs, all service-role, run with node directly
docs/ ARCHITECTURE.md
Custom CSS, not Tailwind. The project started as a static site with an established visual identity. The CSS custom properties system in globals.css gives the same global tokens for color, spacing and typography with zero build overhead, without redesigning the entire component tree.
No client-side fetching for gated rows. Content is fetched server-side on every request (force-dynamic) so access control is always enforced on the server. Locked rows are dropped or redacted before render — there is no window in which a free user could inspect a pending API call and extract members-only data.
Three separate Supabase clients. Using the service role key in the browser bypasses RLS entirely. Three explicitly typed clients force a decision about which one to reach for, making accidental privilege escalation obvious at the import line.
Inline admin editing. Admin forms render directly below the clicked row and save with router.refresh(), which re-fetches server component data without resetting scroll position or React state.
scripts/import-wp-users.mjs migrates ~197 legacy WordPress users to Supabase:
$wp$2y$... (WordPress 6.8+ bcrypt) — strips the prefix and imports the hash via auth.admin.createUser({ password_hash }). Users log in with their existing password and notice nothing.$P$... (phpass, MD5-based) — Supabase cannot verify these. Users are imported with email_confirm: true and sent a reset email.