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.
FoodForAll rescues late-night restaurant surplus, feeds night-shift workers from dark stores and routes every unsold meal to NGOs.
LifestylePython · HTMLGitHub @Ron102008Latest connection check failedOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
FoodForAll — an AI-powered platform for redistributing surplus food to reduce waste and support communities.
Taken from the repository README
Loading the full README.
Read the full 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