What it does. Trash Forecast is a shopping list that shows you the waste first. Type what you're about to buy; the app predicts the packaging it will become - film, rigid plastic, paper, metal, glass, composite - as live bars with a total count, flags the hotspot material, and suggests one-tap swaps (one party-size bag instead of five snack bags; a 500g yogurt tub instead of four cups; an instant-coffee jar instead of ten little capsules). Applying a swap drops the forecast instantly: 24 units -> 20 from a single decision.
Why it fits Rethinking Waste. Household packaging waste is decided upstream - at the checkout screen - but every existing tool acts downstream, at the bin, after the waste already exists. Recycling tools help you sort; Trash Forecast helps you not create the packaging in the first place, which is the only 100%-effective form of recycling. It targets the "packaging blind spot": shoppers never see how many packaging units a basket will produce, so they can't act on it even when they care.
How we'd measure whether it worked. Three signals ship with the project: (1) per-order packaging count - the forecast number itself (demo: 24 -> 20 after one applied swap = 17% cut from one decision); (2) swap acceptance rate per week - behavior change, not intent; (3) forecast-vs-actual weekend reconciliation - the gap calibrates the map and keeps the forecast honest. A 10-20 household one-week manual pilot would put real before/after numbers next to these in-app metrics.
How it's built. Vanilla single-page app - no framework, no backend, no ML. The core asset is data/packaging-map.json: a hand-built map of ~120 common grocery items to packaging units, each entry a judgment call (film vs rigid, cup vs tub), with bulk-alternative swap rules and minimum quantities. The map is open for contribution; it is honest about being hand-built.
How AI was used (disclosure). An AI coding assistant scaffolded the page layout and helped wire the forecast rendering; the packaging map is hand-built (every line is a judgment call - e.g., coffee pods are lumped into composite since they mix plastic and foil, though Nespresso takes pure-aluminum ones back by mail). I used AI to proofread this write-up.
Challenges. Category boundaries aren't clean - a tetra juice box is paper or composite? We chose composite and say so in the UI, because mixed-material packaging is exactly what recycling systems struggle with. Making a number feel like a forecast: the weather framing ("a storm warning for your bin") did more for the demo than any feature.
What we learned. Prevention beats sorting: every applied swap is packaging that never needs recycling, never gets contaminated, never ships to a sorting plant. Hand-built data is defensible - 120 judgment calls by a human beat generic guesses in this domain.
What's next. Weekend reconciliation (forecast vs actually-threw-out) with a weekly reduction score; receipt-photo reconciliation behind the manual path; the one-week household pilot feeding measured numbers into the impact page.
Team: Hao Tan (solo).
Built With
- css
- html
- javascript
- offline-first
- sustainability
- web