DEV Community

Cover image for EverShelf: An Open-Source, Self-Hosted Smart Pantry Manager with AI to Stop Food Waste
EverShelf Project
EverShelf Project

Posted on

EverShelf: An Open-Source, Self-Hosted Smart Pantry Manager with AI to Stop Food Waste

Hi DEV community! πŸ‘‹

I wanted to introduce EverShelf, a self-hosted, MIT-licensed smart pantry manager I’ve been building to tackle food waste at home.

We recently crossed 147+ stars and 14 forks on GitHub, and I'd love to share the tech behind it, gather feedback from fellow developers, and invite new contributors!


πŸ’‘ The Problem

We’ve all experienced it: buying groceries, tucking them away in cupboards, and forgetting about them until they expire and end up in the trash.

Most consumer pantry apps are closed-source, full of subscription paywalls, or rely on proprietary cloud platforms. I wanted something modern, self-hosted, offline-capable, and privacy-respecting.


πŸ› οΈ Tech Stack & Architecture

  • Core: PHP 8+ backend, modular architecture with SQLite (WAL mode).
  • Frontend: Clean, responsive Single Page Application (PWA) with offline-queue support.
  • Deployment: Simple docker-compose setup and an official versioned Unraid template.
  • AI Engine: Pluggable AI integration supporting Google Gemini, OpenAI, or locally hosted Llama instances.
  • Integrations: Native Home Assistant support, ntfy/JSON push webhooks, and ICS/WebCal calendar feeds.

✨ Key Features

  • πŸ“· Barcode Scanning & Receipt OCR: Fast mobile camera scanning and instant item identification.
  • πŸ€– Zero-Waste AI Recipes: Suggests meals using only ingredients currently available in your pantry, keeping expiries in mind.
  • πŸ›’ Smart Shopping Lists: Calculates anti-waste quantities, deducts existing stock automatically, with optional sync to Bring!.
  • πŸ“… Calendar Feed: Subscribe to your pantry’s expiry dates directly inside Google or Apple Calendar.
  • πŸ“± Android Kiosk Mode: A dedicated kiosk APK with scale support for wall-mounted kitchen tablets.

πŸ”— Try It & Explore


πŸ† Community Contest!

We are currently running an official community contest on GitHub! You can read all the instructions, participate, and help shape the project here:
πŸ‘‰ EverShelf Discussion #299

We are actively looking for feedback, bug reports, and contributors (code, translations, UX). If you like the project, a star on GitHub is always deeply appreciated! 🌟

Top comments (1)

Collapse
 
evershelf_project profile image
EverShelf Project •

Happy to answer any questions about the tech stack, SQLite performance, or Docker setup! What does your current pantry management workflow look like?