Wocart
Wocart runs the whole cash-on-delivery business for Algerian stores: an Arabic-first checkout, phone verification, Yalidine, ZR Express, NOEST, Guepex and 82 EcoTrack couriers, your own drivers, and M
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
projeto plates 3d
翻译准备中
正在加载完整 README。
查看完整 README ↗AR menus for restaurants. Diners scan a QR code, open the menu in their phone browser and view dishes as true-to-scale 3D models on their table.
npm install
npm run dev
The prototype uses illustrated photos and simple 3D models generated by a script. Models are in meters, sized to each dish's plateDiameterCm.
npm run demo-assets
Scan the plated dish with RealityScan ("AR guidance mode"), export .glb, measure the plate with a ruler, then:
npm run import-model -- scan.glb --plate 28 --out <restaurant>/<dish-id>
It finds which way is up, scales the plate to exactly 28 cm, sets it on the table and compresses it. Details: .claude/skills/add-dish/SKILL.md.
Every model must match the plate diameter stored for its dish (within 0.5%), sit exactly on the table and stay under 5 MB:
npm run check-models
npm run demo-assets runs this check automatically. Models are Draco-compressed; the decoder is self-hosted in public/draco.
English and Spanish. URLs never include the language (printed QR codes stay the same): proxy.ts picks the saved EN/ES choice, then the phone's language, then English, and rewrites to /en/... or /es/.... UI text lives in lib/i18n/dictionaries.ts; dish translations live in the restaurant data.
lib/ar/follow-ar.ts. The dish follows the center of the screen on the table, "Place here" pins it with an anchor, and a ruler shows the measured size in cm. If no table is found in 4 s, the dish is shown in front of the phone until the table is detected.See CLAUDE.md for product rules and conventions.