Introduction
For Hacktoberfest Week 3 (Theme: Slow and Steady), I wanted to channel my inner sloth and build something that eliminates a tedious daily chore: standing in front of an open fridge wondering what groceries we actually need to buy.
Meet Lazy Chef—a local, privacy-first web application that takes a photo of your fridge and uses an open-weight vision model to generate a clean, categorized grocery shopping list automatically. You can check out the source code in my GitHub repository: lazy-chef-grocery-ai.
How It Works
- Snap or Upload: Take a picture of your fridge interior or pantry shelves.
-
Local Vision Inference: The image is processed entirely on your machine using Ollama running an open-weight vision model (
llama3.2-vision). - Instant List Generation: Streamlit instantly renders a neatly organized grocery list so you never have to guess what's missing.
Why Open-Source AI Made All the Difference
Building this with open-source tools wasn't just a choice—it was essential for several reasons:
- Absolute Privacy: Fridge and home interior photos contain personal spaces. Keeping inference 100% local means my photos never touch an external cloud server.
- Zero Cost: Running models locally via Ollama means infinite free requests with zero API pricing tiers or token limits.
- Offline First: It works seamlessly even when the internet connection drops.
Tech Stack
- AI Core: Ollama (Open-weight vision models)
- Frontend / UI: Streamlit (Python)
- Image Processing: Pillow (PIL)
Conclusion
Building Lazy Chef showed me how powerful local open-source AI can be for automating everyday micro-tasks. Grab the code, hook it up to your local models, and let your computer do the heavy lifting while you take a well-deserved sloth break! 🦥
Top comments (0)