World Vibe Web
The distributed app store for vibe-coded projects. Browse, discover, and install open-source apps from across GitHub.
翻譯準備中
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
Controlled, negotiation-driven agricultural trading platform with strict, non-negotiable rules.
This repository is the canonical source of truth for the application. All system behavior must be reflected in files here.
• Frontend: Next.js 14 (App Router)
• Backend: Convex (serverless backend)
• Language: TypeScript everywhere
• Deployment: Vercel-compatible檢視完整 README ↗Controlled, negotiation-driven agricultural trading platform with strict, non-negotiable rules.
This repository is the canonical source of truth for the application. All system behavior must be reflected in files here.
dormant/supabase/dormant/supabase/DO_NOT_USE.md for detailed explanationfarm2market/
├── app/ # Next.js App Router
│ ├── layout.tsx # Root layout
│ ├── page.tsx # Home page
│ └── globals.css # Global styles
├── convex/ # Convex backend
│ ├── schema.ts # Database schema (schema-first design)
│ ├── auth.ts # Authentication & authorization
│ ├── wallet.ts # Wallet system (closed loop)
│ ├── listings.ts # Farmer listings & inventory
│ ├── payments.ts # Pay-to-lock system (atomic)
│ ├── admin.ts # Admin authority & actions
│ ├── utils.ts # Utility functions (UTID, exposure calc)
│ ├── constants.ts # System constants
│ └── _generated/ # Auto-generated Convex files
├── docs/ # Documentation
│ ├── architecture.md # System architecture & governance
│ ├── day66_pre_activation.md
│ └── day67_production_activation.md
├── dormant/ # Dormant/unused code (DO NOT USE)
│ └── supabase/ # ⚠️ FORBIDDEN - Supabase code (see DO_NOT_USE.md)
├── package.json
├── tsconfig.json
├── next.config.js
├── convex.json # Convex configuration
└── README.md
This application supports two separate deployment modes with separate URLs:
Both deployments run simultaneously with completely separate:
See deployment_modes_setup for complete setup instructions.
NEXT_PUBLIC_CONVEX_URL (pilot Convex URL), NEXT_PUBLIC_DEPLOYMENT_MODE=pilotNEXT_PUBLIC_CONVEX_URL (dev Convex URL), NEXT_PUBLIC_DEPLOYMENT_MODE=devInstall dependencies:
npm install
Set up Convex:
npx convex dev
This will:
.env.local with NEXT_PUBLIC_CONVEX_URLOr manually set the Convex URL:
.env.local with: NEXT_PUBLIC_CONVEX_URL=https://greedy-tortoise-911.convex.cloudStart Next.js dev server:
npm run dev
All business logic lives in convex/:
convex/schema.ts - defines all tables and indexesconvex/auth.ts - user creation, role verificationconvex/wallet.ts - closed loop wallet systemconvex/listings.ts - farmer listings, auto-split into 10kg unitsconvex/payments.ts - atomic pay-to-lock systemconvex/admin.ts - admin actions, purchase windowsfarmer: Lists produce, receives paymentstrader: Buys from farmers, sells to buyersbuyer: Purchases from traders (no price visibility)admin: Final authority, controls purchase windowsYYYYMMDD-HHMMSS-ROLE-RANDOMcapital ledger (locked by default)profit ledger (always withdrawable)This project uses Cursor rules to guide AI-assisted development and ensure system integrity.
.cursorrules - Active rules file that Cursor reads automaticallyKey Principles:
Admin Hierarchy:
adminLevel === "junior"): Confirms delivery for assigned storage locations onlyadminLevel === "super" or undefined): Full governance and oversight powersSee CURSOR_RULES for complete rules and guidelines.
dormant/supabase/DO_NOT_USE.md)Complete documentation index organized by topic:
Supabase is NOT used in this project and MUST NOT be used.
dormant/supabase/ and is permanently dormantdormant/supabase/DO_NOT_USE.md for detailed explanationPrivate - Farm2Market Uganda