Bygga
Type the product name from the box. Bygga shows every assembly step in 3D, with the parts, screws and tools for each one, and reads it out loud.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證FoodForAll — an AI-powered platform for redistributing surplus food to reduce waste and support communities.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗When the city's kitchens close, FoodForAll opens. A late-night food platform that serves restaurant surplus to night-shift workers and routes every unsold meal to NGOs and shelters, before it's unsafe.
Food delivery apps stop when restaurants close, but restaurants still have surplus cooked food, and nurses, BPO teams, data-centre staff and security guards still need to eat. Meanwhile, that surplus usually ends up in a landfill.
FoodForAll closes that gap in one night-long loop:
Nothing reaches a landfill.
| For | What they get |
|---|---|
| 🍛 Kitchen managers | A 7-night outlook of expected leftovers with live weather and festivals filled in automatically, plain-English explanations ("Diwali festival over-prep: +46% leftovers"), a closing log and one-click dispatch to a dark store |
| 🏬 Dark-store managers | Live hot-cabinet and fridge temperatures, delivery check-in that turns away unsafe food, a safety countdown for every dish, "Close for the night", and an activity log |
| 🌙 Night-shift workers | A late-night menu with diet filters, popularity and "Only 2 left!" badges, instant reservation at checkout, and live order tracking |
| 🤝 NGO coordinators | An early warning of tonight's expected food before kitchens close, a nearby-hubs map, and claim → pick up → deliver tracking with people-fed logging |
| 📊 Operations lead | Access to every portal, SDG impact analytics, forecast accuracy, and safety drills |
Under the hood:
Open the live site and use the Quick sign-in list on the login page. Every account uses the password foodforall2026.
| Role | Account | Start here |
|---|---|---|
| Night-shift worker | [email protected] | Night Store |
| Kitchen manager | [email protected] | Restaurant Hub |
| Dark-store manager | [email protected] | Dark Store |
| NGO coordinator | [email protected] | NGO Portal |
| Second NGO (try claiming the same donation) | [email protected] | NGO Portal |
| Operations lead (all portals) | [email protected] | SDG Impact |
⏳ Note: the hosted version runs on serverless infrastructure. The first visit after a quiet spell can take up to a minute while it wakes up, and sample data resets periodically.
| Layer | Technology |
|---|---|
| Backend | Python, FastAPI, Pydantic v2, SQLAlchemy 2 (SQLite) |
| Machine learning | scikit-learn (Random Forest), pandas, NumPy |
| Frontend | Jinja2, Tailwind CSS, Alpine.js, Chart.js, Lucide icons |
| Security | Argon2 password hashing, JWT authentication, role-based access |
| Data | Open-Meteo weather API, holidays package (Indian calendar) |
| Hosting | Vercel |
# 1. Clone
git clone https://github.com/Ron102008/FoodForAll.git
cd FoodForAll
# 2. Install (Python 3.10+)
python3 -m venv .venv
.venv/bin/pip install -r requirements-dev.txt
# 3. Run
.venv/bin/uvicorn app.main:app --reload
Open http://localhost:8000. On first start the app creates its database, seeds a year of sample history, fetches live weather and trains the forecast model (about 20 seconds).
# Run the test suite (34 tests, including race-condition tests)
.venv/bin/python -m pytest -q
# Wipe and reseed the sample data
.venv/bin/python seed_data.py --reset
FoodForAll/
├── app/
│ ├── main.py # FastAPI app, startup, background routing
│ ├── ml/ # forecasting model, calendar, synthetic history
│ ├── services/ # weather, inventory, NGO routing, food safety, impact
│ └── routers/ # API + page routes for each role
├── templates/ # pages: landing, store, restaurant, dark store, NGO, analytics
├── static/ # JS, CSS, icons, vendored libraries
├── scripts/ # calendar + icon generators
├── seed_data.py # one year of sample history + tonight's scenario
└── tests/ # pytest suite
FoodForAll tracks food rescued (kg), CO₂e prevented, night-shift orders served, people fed through NGOs, and progress indices for:
holidays package).Built with 💚 for the night shift