尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
ClaimMatch — find class-action settlements & lawsuits you're eligible for. React/Next.js + Supabase rebuild (WordPress removed).
翻译准备中
正在加载完整 README。
查看完整 README ↗ClaimMatch is a free claim assistant for class-action settlements. People find settlements that are open for claims, check whether they qualify on the official notice, file on the official administrator's site themselves, and keep track of their claims in ClaimMatch.
See docs/ROADMAP.md for what comes next. Production apply order for the trust-reset migrations is in docs/PRODUCTION-RUNBOOK.md.
tailwind.config.ts and src/app/globals.css.npm install
cp .env.example .env.local # fill in Supabase + Resend values
npm run dev # http://localhost:3000
npm run test:run # vitest
Auth, the catalog and email need Supabase and Resend keys.
supabase/migrations/* in order (supabase db push, or paste each file
into the SQL editor). scripts/db-test.sh applies them all to a throwaway
local Postgres.CLAIMMATCH_ENV=local npm run seed loads sample settlements the local site
shows, and supabase/seed.dev.sql (opt-in, see its header) recreates the 16
made-up rows production once showed. npm run seed and npm run scrape
refuse to run unless CLAIMMATCH_ENV is local or staging, and always
refuse the production project..env.local.[email protected], or run
update public.profiles set is_admin = true where email = '[email protected]';
after you sign up.See .env.example. Summary:
| Var | Purpose |
|---|---|
NEXT_PUBLIC_SUPABASE_URL / NEXT_PUBLIC_SUPABASE_ANON_KEY | Client and server Supabase access |
SUPABASE_SERVICE_ROLE_KEY | Server-only jobs and writes, including every claim update and unsubscribe. Never exposed to the browser |
NEXT_PUBLIC_SITE_URL | Canonical URL for metadata, emails and referral links |
RESEND_API_KEY / RESEND_FROM | |
ANTHROPIC_API_KEY | Not used in Phase 0 (the ingest makes no model calls) |
ADMIN_EMAILS | Comma-separated allowlist that bootstraps admin access |
CRON_SECRET | Protects /api/cron/* (Vercel Cron sends it automatically) |
NEXT_PUBLIC_POSTHOG_KEY / NEXT_PUBLIC_POSTHOG_HOST | Product analytics |
NEXT_PUBLIC_CONTACT_EMAIL | Inbox for privacy and data requests, shown on Privacy, Terms, the footer and Settings. Set it only to an address that receives mail. Required in Production: a production build (VERCEL_ENV=production) stops without a working address |
NEXT_PUBLIC_LEGAL_ENTITY | Legal name of the business that runs ClaimMatch |
NEXT_PUBLIC_POSTAL_ADDRESS | Mailing address for the legal pages and footer (\n for line breaks) |
MATCH_EMAILS_ENABLED / DIGEST_ENABLED / ADMIN_RECOVERIES_ENABLED / ENABLE_SAMPLE_SOURCE / ASSISTED_FILING_ENABLED / DIRECT_FILING_ENABLED / MATCH_METRICS_ENABLED / ELIGIBILITY_DRAFTS_ENABLED / INGEST_ALERT_EMAILS_ENABLED / LINK_CHECK_ENABLED / PAYOUT_REPORT_ENABLED / FEE_DISCLOSURE_ENABLED / INGEST_MISSING_CLOSE_QUEUE_ENABLED / LAWSUITS_PAGINATION_ENABLED / ADMIN_HELD_CLOSURES_ENABLED / HELD_CLOSURE_TRIAGE_ENABLED / HELD_AUTO_CLOSE_PAST_DEADLINE / DEADLINE_REMINDERS_ENABLED / ONBOARDING_DRIP_ENABLED / / / / / / / / / / / / / / / / / / / / / |
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗
PROFILE_COMPLETENESS_ENABLEDSOFT_INVITE_LANDING_ENABLEDINGEST_HELD_IS_WARNINGHOME_WEDGE_ENTRIES_ENABLEDHOME_ACCOUNT_FIRST_CTA_ENABLEDMATCH_PREVIEW_ENABLEDSIGNUP_CONTEXT_ENABLEDSETTLEMENT_PAGE_CTA_ENABLEDRELATED_SETTLEMENTS_ENABLEDINDEXNOW_ENABLEDLLMS_TXT_ENABLEDAI_REFERRER_ATTRIBUTION_ENABLEDPROFILE_V2_ENABLEDMATCH_STORE_ENABLEDPANEL_TRUST_COPY_ENABLEDCATALOG_VALUE_RANK_ENABLEDSETTLEMENT_QUIZ_ENABLEDBETA_INVITE_CODES_ENABLEDBETA_FEEDBACK_ENABLEDCATALOG_HIDE_UNKNOWNS_ENABLEDMATCH_ALERT_EMAILS_ENABLEDSwitches in src/lib/flags.ts; each is on only when set to exactly 1. Keep them off in production. Live values: /admin/flags |
INTERNAL_EMAILS | Comma-separated tester emails tagged internal and excluded from traction |
INGEST_MAX_CLOSE_SHARE | Share of open settlements one ingest run may close before closures are held for review (default 0.2). A run that holds closures fails the cron (500) unless INGEST_HELD_IS_WARNING=1; /admin/held-closures reviews them when ADMIN_HELD_CLOSURES_ENABLED=1 |
CLAIMMATCH_ENV | local or staging; required by npm run seed and npm run scrape |