尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證LossLens: automated profit troubleshooter for e-commerce & Shopify stores. Finds the root cause of a losing week (RTO, ad spend, COGS, cancels) with a ₹ action plan. Next.js + Claude.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Live: https://ecom-ai-troubleshooter.vercel.app · Built by S Surya Narayan
When an online store has a losing week, LossLens finds out why. Answer four quick questions, then paste the store's weekly PnL and any supporting data you have (ad campaigns, gender, age, platform, state, product, fulfilment, catalogue changelog). LossLens runs a strict 8-step troubleshooting method and returns:
The troubleshooting framework is in
prompts/l3-diagnostic.md. I built it from 12+ live seller case studies.
Browser (Next.js page) ──POST /api/analyze──▶ Serverless function (Vercel)
paste data / sample ├─ system prompt = prompts/*.md
charts (Recharts) ◀── JSON ─────────────────── ├─ Gemini (free tier, JSON validated by zod)
markdown report └─ rate limit + input caps
lib/schema.ts.Stack: Next.js 15 · TypeScript · Tailwind CSS v4 · Recharts · Google Gemini (free tier) · Zod
GEMINI_API_KEY = your free keyhttps://<name>.vercel.app link.Every later commit to GitHub, including edits made in GitHub's web editor, redeploys automatically.
Two add-on features can be turned off or back on without changing any code. Set the variable in Vercel → Settings → Environment Variables, then Redeploy.
| Variable | off means | Default |
|---|---|---|
NEXT_PUBLIC_FEATURE_STUDIO | Section Studio page, API, nav link and home promo are removed (/studio returns 404) | on |
NEXT_PUBLIC_FEATURE_TOKENS | Set to on to bring back the demo token wallet, pricing page and per-use costs | off |
To turn a feature back on, delete the variable (or set it to on) and redeploy. Balances and saved sections live in visitors' browsers, so they come back too.
Studio code is self-contained, so you can also remove it from the repo entirely if you want:
app/studio/, app/api/studio/, components/studio/, lib/theme.ts.
| Variable | Used by |
|---|---|
GEMINI_API_KEY | Everything: troubleshooter, Section Studio, Ask Lens (free tier, aistudio.google.com/apikey) |
WALLET_SECRET | Optional: a long random string used to sign token balances |
ANALYZE_MODEL / THEME_FREE_MODEL / THEME_PRO_MODEL / CHAT_MODEL | Optional model overrides (default: free Gemini models) |
| What | Where |
|---|---|
| Your name and links in the header | lib/site.ts |
| The diagnostic framework | prompts/l3-diagnostic.md |
| Web-app output rules | prompts/web-app-addendum.md |
| Demo dataset (fictional) | lib/sampleData.ts |
| Dashboard fields | lib/schema.ts + components/Dashboard.tsx |
npm install
cp .env.example .env.local # add your key
npm run dev