尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Upload a photo of a vehicle (or a loose part) and get its year/make/model, visible aftermarket products, and compatible accessories with Amazon affiliate links.
Stack: Next.js (App Router) on Vercel, Supabase (Postgres, storage, Google auth), Google Gemini, GA4.
npm install
cp .env.example .env.local # fill in the values
npm run dev
All environment variables are documented in .env.example. Set the same ones in Vercel.
components/home/hero-dual-entry.tsx uploads to the vehicle_images bucket, POST /api/analyses creates a row, and lib/pipeline.ts runs in the background (waitUntil). /r/[id] polls GET /api/analyses/[id].components/home/vehicle-analyzer.tsx calls POST /api/analyze plus the Server Actions in app/actions.ts.lib/analysis-stages.ts (server-only). Each stage runs a Flash "scout" pass and escalates to the Pro "sniper" model at or below CASCADE_CONFIDENCE_THRESHOLD (lib/gemini.ts). Anything browser-callable must validate image URLs with lib/url-validation.ts first./go (app/go/route.ts), which logs to affiliate_clicks and redirects using lib/affiliate/merchants.ts. Links use target="_blank" rel="nofollow sponsored noopener".lib/amazon/creators-api.ts (server-only) wraps the Amazon Creators API. scripts/amazon-lookup.ts checks ASINs for the research Sheet: npx tsx --env-file=.env.local scripts/amazon-lookup.ts B0B72CHXH3.data/vehicles/ drives /vehicles/* and the sitemap.content/blog/, rendered by app/blog/[slug]/page.tsx.supabase/migrations/ holds the schema and RLS policies (a pg_dump of the public schema), plus the auth.users signup trigger and the vehicle_images bucket. After a schema change, refresh the dump and the generated types:
/opt/homebrew/opt/libpq/bin/pg_dump "postgresql://postgres.jktvsbtgwtzsszebzyay@aws-1-us-east-2.pooler.supabase.com:5432/postgres" --schema-only --schema=public --no-owner --no-privileges -f supabase/migrations/<timestamp>_remote_schema.sql
supabase gen types typescript --project-id jktvsbtgwtzsszebzyay --schema public > types/supabase.ts
pg_dump prompts for the database password (Supabase: Database → Settings). Delete the \restrict and \unrestrict lines it adds (they are psql commands, and supabase db push rejects them). Re-append the convenience types at the bottom of types/supabase.ts after regenerating.
visualfitment-dev (svkwgklyyqmwpcrgdjja) is a separate Supabase project with the same schema and no real data. Cloud sessions use it. To apply new migrations to it:
supabase link --project-ref svkwgklyyqmwpcrgdjja
supabase db push
Check supabase/.temp/project-ref before running db push, so you know which project it targets.
npx tsc --noEmit
npm run lint
npm test
npm run build
The latest audit is in REVIEW.md.