50da545c726d22d78e370f45206c9e34ad24234b
- PHP: new 'expiry_history' action computes avg shelf life (expiry_date - added_at)
from inventory table for the same product_id (last 730 days, valid entries only)
- JS: _fetchExpiryHistoryAndUpdate() fires async after showAddForm() renders
and replaces the rule-based estimate with the historical average if available
- Labeled with '📊 storico' badge on the estimate line (tooltip shows sample count)
- recalculateAddExpiry() and selectPurchaseType('new') both honour window._historyExpiryDays
- Vacuum-sealed multiplier still applied on top of historical base
- Falls back silently to rule-based estimateExpiryDays when no history exists
Description
EverShelf: Your pantry's best friend. A self-hosted, open source smart pantry manager with AI expiry tracking, barcode scanning, smart shopping lists, and Android Kiosk support.
android-kioskdockerfood-wastehome-automationinventory-managementinventory-trackingiotopen-sourcepantry-managerself-hostedsmart-kitchensustainability
MIT
87 MiB
Languages
JavaScript
42.5%
PHP
33.8%
CSS
8.3%
Kotlin
8%
HTML
6.5%
Other
0.7%