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