Inspiration

Living as a student in a fast-paced metro city like Pune and eating daily at a hostel mess, I witness a frustrating reality every single night. Hostel kitchens cook in massive batches assuming 100% attendance, even though dozens of students skip meals due to late classes, exams, weekend trips, or eating out. Watching trays of freshly cooked, untouched rice, dal, and rotis get thrown into the trash while knowing that shelters and food-rescue volunteers just a few kilometers away are actively looking for meals felt deeply wrong.

Most food-sharing apps fail in institutional settings because they only react after food is already wasted. I wanted to build RePlate to attack the problem from both ends: predicting real headcount before the kitchen lights the stove, and instantly routing unavoidable surplus to local NGOs before the food spoils.

What it does

RePlate is an end-to-end food waste prevention and surplus redistribution platform designed for college hostels and institutional canteens:

Pre-Meal Demand Forecaster (Prevention): Students tap a quick check-in/skip toggle before meal service. RePlate combines live opt-outs with historical day-of-week attendance trends to calculate the exact batch size the kitchen needs to cook.

Kitchen Surplus & Food Safety Logger (Triage): If untouched food remains after dinner, mess staff log the item, category (dairy, grains, dry), and weight in two taps. The system automatically assigns a dynamic food-safety countdown timer based on perishability and locks expired batches so unsafe food is never donated.

Automated NGO Dispatch (Redistribution): Logging surplus immediately triggers real-time webhook alerts to nearby hunger-relief organizations. The first NGO to claim the batch receives pickup coordinates and a 4-digit handover OTP to verify rescue.

Live Theme Impact Dashboard: Tracks pre-production raw food saved, surplus recovery rate, and total meals diverted in real time.

How we built it

We designed RePlate for zero-friction deployment in real hostel kitchens without requiring expensive hardware:Backend & Database: Built using Python (Flask) and SQLite to handle REST API endpoints, batch claim locks, and persistent 7-day baseline waste metrics.Demand & Impact Engine: Modeled kitchen batch sizing and waste reduction metrics directly

Challenges we ran into

Preventing Double-Claims by Volunteers: When broadcasting surplus to multiple NGOs simultaneously, two groups could attempt to claim the same batch at once. We solved this by implementing atomic state transitions in the backend API alongside a 4-digit handover OTP.Balancing Food Safety with Speed: Cooked food—especially dairy-based dishes like paneer or curries—spoils quickly in warm climates. Designing dynamic expiration windows that automatically lock expired listings ensured that speed never compromises food safety.Designing for Busy Kitchen Staff: Mess workers do not have time to navigate complex forms during rush hours. Stripping the kitchen logging flow down to preset food categories, simple weight inputs, and one-tap dispatch was critical to making the tool practical.

Accomplishments that we're proud of

Building a True Closed-Loop Waste Engine: Instead of treating food waste as an afterthought, we combined pre-meal demand forecasting with post-meal NGO dispatch in a single unified workflow—tackling both over-production before cooking and rapid rescue after service.

Enforcing Automated Food-Safety Guardrails: We built real-time perishability countdown timers (MM:SS) into every surplus listing based on food category (dairy vs. grains/dry goods), automatically locking expired batches so unsafe food can never be claimed or distributed.

What we learned

Prevention beats redistribution: Saving $15\text{ kg}$ of raw grains before cooking is even more impactful than scrambling to transport $15\text{ kg}$ of cooked food at 10:30 PM. Combining forecasting with rescue creates a true closed-loop system.Metrics drive accountability: Translating abstract "food saved" into concrete numbers—percentage reduction against a 7-day baseline and exact meals diverted—turns sustainability from a vague goal into an actionable daily habit for hostel administrators.

What's next for Smart Campus Mess Surplus Router

WhatsApp & Campus ID Integration: Connecting student meal check-ins directly to automated WhatsApp quick-reply polls and college mess QR scanners so attendance prediction requires zero extra app downloads.

Multi-Hostel Route Optimization: Aggregating surplus across multiple nearby college hostels on the same street so a single NGO pickup vehicle can collect batches along an optimized route.

Built With

Share this project:

Updates

Submission history