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