跳到正文
DEV Community· EverShelf Project·· 4 小時前AI 評分41

EverShelf:開源、自行託管的 AI 智能食品儲藏管理工具,助減少食物浪費

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

AI 導讀

EverShelf 是一款採用 MIT 授權、可自行託管的智能食品儲藏管理工具,結合 AI 功能協助減少家居食物浪費。它支援 Google Gemini、OpenAI 或本機託管的 Llama,並提供條碼掃描、收據 OCR、按現有食材推薦食譜及離線佇列功能。項目在 GitHub 已累積 147+ 顆星及 14 個 fork。

正文

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

EverShelf Project

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! 🌟

來源:DEV Community · dev.to