尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗A public site that tracks stock and price changes across FRC vendors. Every vendor is checked hourly by Vercel Cron, and only changes are stored in Postgres.
You need Docker and Node 24.
npm install
npm run db:up
POSTGRES_URL_NON_POOLING=postgres://postgres:postgres@localhost:54329/postgres npm run db:migrate
npm run dev
vercel env pull writes the production Supabase credentials to .env.local. To keep next dev on the local database, create .env.development.local, which takes priority during development:
POSTGRES_URL=postgres://postgres:postgres@localhost:54329/postgres
CRON_SECRET=dev-secret
npm run db:migrate does not read .env.development.local. It always targets the database in .env.local.
To run a check by hand:
curl -H "Authorization: Bearer dev-secret" localhost:3000/api/cron/check
| Command | What it does |
|---|---|
npm test | Runs the check tests against the vendordiff_test database in the same container |
npm run fetch-catalogs | Fetches every vendor and prints product and variant counts, without touching the database |
npm run db:generate | Creates a migration after you change src/db/schema.ts |
npm run db:migrate | Applies migrations to the database in POSTGRES_URL_NON_POOLING, or POSTGRES_URL if that is unset |
POSTGRES_URL (the transaction pooler) and POSTGRES_URL_NON_POOLING.CRON_SECRET environment variable with a long random value. Vercel Cron sends it automatically.vercel env pull .env.local, then npm run db:migrate. This creates the pg_trgm extension and the tables.vercel.ts registers 24 daily cron jobs, one per hour, because Hobby allows each job to run only once a day. Each run checks every vendor in parallel.The first successful run for each vendor is a baseline. It records every variant but stays out of the feeds.
Add an entry to src/vendors.ts. Shopify stores need only their base URL. Another platform needs a new adapter in src/adapters/ that returns CatalogVariant[].