Karat
Karat est la plateforme SaaS qui permet aux commerçants de Mauritanie et du Sénégal de créer une boutique en ligne premium en quelques minutes. Essai gratuit de 3 jours.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證TR CoffeeDB is a Next.js and Supabase app for discovering specialty coffees from Turkish roasters.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗KahveDrop runs on Cloudflare Workers/D1 through vinext, with a Three.js coffee studio and a Turkish coffee discovery catalog. The public name is set in src/lib/brand.ts and is provisional; the repository and some infrastructure names still use the earlier project name. The original Next/Supabase (v1) paths remain only for rollback and export. The product goal is simple: help buyers compare beans across roasters without opening a dozen separate storefronts.
src/app: Next.js App Router pages (catalog, coffee detail, roasters, quiz, guide, compare) and the /go outbound-link route.src/components: UI; the live catalog UI is in components/v2.src/lib: brand config, D1 catalog access, and legacy Supabase query helpers (still used by /compare).shared/v2: catalog, qualification, ingestion and profile logic shared by the web app, crawler and scripts.scrapers: source adapters and parsers (its own package.json).workers, wrangler*.jsonc: the web Worker and the crawler Worker (Cloudflare cron is currently off).migrations: D1 schema. supabase/migrations: legacy Postgres schema, kept for rollback and export.scripts: refresh, digest, export and audit scripts.wrangler (installed as a dev dependency); the local D1 database is created by npm run db:migrate:local.CLOUDFLARE_D1_API_TOKEN for refresh and migrations) and a Kit API key for the newsletter; see .env.example. Supabase credentials are needed only for the legacy rollback paths below.Use the checked-in .nvmrc to align local and CI Node versions.
npm ci
npm --prefix scrapers ci
npm run db:migrate:local
npm run dev
Open http://localhost:3001. npm run dev uses the Workers runtime so the D1 catalog binding is present. Schema migration alone does not import data; use the migration runbook. This workspace already has a repaired local catalog. npm run dev:next is retained for legacy compatibility and does not supply D1.
Three.js loads only on the home page after hydration. It pauses when offscreen/hidden and supports reduced motion and WebGL fallback.
Maintenance: npx tsx scripts/v2-repair-local-catalog.ts --local-db <existing-project-.wrangler-database.sqlite> (dry-run; add --apply after reviewing the report) checks saved qualified captures; internal repair reports live under .local/v2. Do not expose these reports in public routes.
Install dependencies:
npm ci
npm --prefix scrapers ci
Create local env files:
cp .env.example .env.local
cp scrapers/.env.example scrapers/.env
Fill in the required variables:
App runtime:
NEXT_PUBLIC_SUPABASE_URLNEXT_PUBLIC_SUPABASE_ANON_KEYScrapers and migrations:
SUPABASE_URLSUPABASE_SERVICE_ROLE_KEYDB_PASSWORDSUPABASE_DB_SSL_CA_FILE pointing to the Server root certificate from
Supabase Database Settings when running migrations over the poolerRun database migrations:
npm run scrapers:migrate
Start the app:
npm run dev:next
Open http://localhost:3000.
npm run dev
npm run lint
npm run typecheck
npm run build
npm run check
npm run scrapers:migrate
npm run scrapers:scrape -- --roaster <slug>
Run npm test && npm run check before opening or updating a PR. The first command runs the automated tests; npm run check runs linting, TypeScript checks, the production build, and the scraper typecheck.
npm run scrapers:migrate to apply the SQL files in supabase/migrations.SUPABASE_DB_SSL_CA_FILE to its absolute path.npm run scrapers:scrape to run all configured scrapers.npm run scrapers:scrape -- --roaster <slug> when you only want one roaster.The contributor rules live in CONTRIBUTING.md. The short version:
main protected and deployable..github/workflows/ci.yml runs the smoke checks we want required on pull requests:
The database job replays the legacy Supabase migrations against PostgreSQL and is retained with them for rollback. The web job also builds the Cloudflare web Worker and validates the crawler Worker bundle.
The daily D1 refresh (scrape.yml running scripts/v2-refresh.mts) crawls every active qualified source once. There is no retry and no success-rate gate: the run exits non-zero if any requested source does not finish as success, and the refresh report is uploaded as an artifact. Dispatching with specific slugs refreshes only those sources.
The retry (SCRAPE_MAX_ATTEMPTS) and success-rate (MIN_SCRAPE_SUCCESS_RATE) policy in scrapers/src/run-policy.ts belongs to the legacy Supabase scraper (npm run scrapers:scrape) and is not used by the scheduled refresh.
The approved implementation plan is preserved in PLAN.md. Current deferred work and priorities live in TODOS.md, and shipped releases are recorded in CHANGELOG.md. See CONTRIBUTING.md for the branch and pull-request workflow.
The daily catalog refresh runs on GitHub Actions at 03:00 Istanbul using the scoped CLOUDFLARE_D1_API_TOKEN secret. Cloudflare cron is disabled. See the data pipeline runbook for source coverage, quota recovery and verification.