尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Everything an AI coding agent needs to build the pilot web app.
AGENTS.md and the Now section of PROGRESS.md first. CLAUDE.md only points to AGENTS.md.docs/07-build-plan.md.PROGRESS.md keeps everyone in sync.AGENTS.md — the only source of agent instructions; CLAUDE.md only points here. Sessions start with AGENTS.md + PROGRESS.md "Now".docs/01-product.md — what to build, what not to builddocs/02-design-system.md — the look, icons, the "fill" visual, plain-language words, languages, accessibilitydocs/03-screens.md — every screen in detaildocs/04-data-model.md — database (SQL)docs/05-calculations.md — every formula + test numbers (the source of truth)docs/06-integrations.md — Square, Toast CSV, bank statements, receipts, voice, AI promptsdocs/07-build-plan.md — milestones, acceptance checks, multi-tool workflowdesign/mockups/ — open these in a browser. cost-recovery.html is the signature screen.The app ships with a built-in "Demo café" — a realistic 90-day dataset (weekday/weekend patterns, a milk price increase, a couple of voided orders, a missed meal break, 6 staff, 12 drinks) — so you can run a full demo before connecting any real credentials. Every owner-facing screen works against it out of the box.
npm install
npm run dev
Open http://localhost:3000 on your phone (same Wi-Fi) or in a browser sized to ~390px wide — this
is a mobile-first app, and it looks best that way. No .env.local is required for this walkthrough;
the app automatically falls back to the demo dataset when Supabase isn't configured.
Sit next to the owner, phone in landscape-off, and walk through in this order — it mirrors how the product is meant to be understood, from the big number down to the details:
design/mockups/cost-recovery.html) —
this is the one to spend the most time on. Explain the metaphor: each cup pays for its own milk,
cup, card fee, and staff time first; what's left pays down rent, then power, then insurance, in
the order they choose (tap the arrows to reorder live). Once everything's covered, the rest is
theirs — that's the fill animation.From More → Connect your register, the onboarding wizard offers Square, Toast, Clover, or "Other
register" (a CSV upload that works with literally any POS export) — every path leads somewhere real,
none of them dead-end. Square is a live OAuth connection (once SQUARE_APPLICATION_ID/
SQUARE_APPLICATION_SECRET are set — see "Needs connecting" below); the other three work today via
CSV, no waiting on a partner integration.
Their own café and the shared Demo café never mix — More → (café switcher at the top) flips between "My café" and "Demo café" at any time, and it's obvious at a glance which one they're looking at.
No Vercel account is available in this build environment, so here are the exact steps to deploy it yourself:
git remote add origin https://github.com/<you>/cafe-profit.git
git push -u origin main
npm run build)..env.local.example under Settings →
Environment Variables (Production, and Preview if you want PR previews to also work). At
minimum for the app to do anything beyond the demo data: NEXT_PUBLIC_SUPABASE_URL,
NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY. See .env.local.example and
docs/06-integrations.md for required connections and what they unlock — the app runs and is fully
demoable with zero of them set, so it's fine to deploy first and add credentials later.SQUARE_REDIRECT_URI to your production
URL (https://<your-app>.vercel.app/api/pos/square/callback) — both in Vercel's env vars and in
the Square Developer Dashboard's own redirect URL allowlist, or the OAuth callback will fail.git push to main redeploys automatically.npm run db:reset once locally (pointed at your production SUPABASE_DB_URL via
.env.local) to apply migrations and seed the Demo café — this is a one-time setup step, not
something Vercel runs for you on every deploy.SpeechRecognition support (Chrome/Edge; not Safari/Firefox) —
test on the device you'll actually demo from beforehand.AI_PROVIDER + one API key in .env.local.example) — without one, they still save correctly,
just uncategorized.