CoolFace
Apppublic

pkAImkp/Grocerieslist

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes
App README

ListEase ๐Ÿ›’

A modern, AI-powered grocery list management app built with Next.js and Firebase. ListEase helps you organize your shopping with smart features like barcode scanning, AI-powered item recognition, and multi-shop categorization.

Features

๐Ÿช Multi-Shop Organization

  • โ€”Organize your grocery lists by different shops
  • โ€”Categorize shops into: Market, Local, Bio, and Terroir
  • โ€”Smart grouping displays items by shop category

๐Ÿ“ฑ Smart Item Management

  • โ€”Add items manually or through intelligent scanning
  • โ€”Edit items inline with a clean, intuitive interface
  • โ€”Mark items as purchased with a simple checkbox
  • โ€”Upload images for visual item identification

๐Ÿค– AI-Powered Shopping

  • โ€”AI Scan: Take a photo of any item and get intelligent name suggestions
  • โ€”Barcode Scanner: Scan product barcodes for instant item addition
  • โ€”Smart product catalog that learns from your shopping history

๐Ÿ”— Barcode Linking System

  • โ€”Link barcodes to products for future quick additions
  • โ€”Override existing barcode links when needed
  • โ€”Comprehensive product catalog with barcode management

๐Ÿ’พ Real-time Sync

  • โ€”Firebase backend ensures your lists sync across devices
  • โ€”Automatic local storage fallback for offline usage
  • โ€”Real-time updates across all your devices

Tech Stack

  • โ€”Frontend: Next.js 15.3.3, React 18, TypeScript
  • โ€”UI Components: Radix UI, Tailwind CSS, Lucide React
  • โ€”AI Integration: Google Genkit for intelligent suggestions
  • โ€”Scanning: ZXing library for barcode scanning
  • โ€”Styling: TailwindCSS with custom color scheme
  • โ€”Backend: Next.js API routes with Firebase integration

Quick Start

  1. 1.Clone the repository
bash
   git clone https://github.com/Mkp-dev-portefolio/ListEase.git
   cd ListEase
  1. 1.Install dependencies
bash
   npm install
  1. 1.Set up environment variables Create a .env.local file with your Firebase configuration:
env
   # Add your Firebase config here
   NEXT_PUBLIC_FIREBASE_API_KEY=your_api_key
   NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_auth_domain
   # ... other Firebase config
  1. 1.Start the development server
bash
   npm run dev
  1. 1.Visit the app Open http://localhost:3000 to start using ListEase

Available Scripts

  • โ€”npm run dev - Start development server with Turbopack
  • โ€”npm run build - Build the application for production
  • โ€”npm start - Start production server
  • โ€”npm run lint - Run ESLint
  • โ€”npm run typecheck - Run TypeScript type checking
  • โ€”npm run genkit:dev - Start Genkit AI development server
  • โ€”npm run genkit:watch - Start Genkit with file watching

Usage Guide

Adding Items

  1. 1.Manual Entry: Type item name and select a shop
  2. 2.AI Scan: Use camera to identify items automatically
  3. 3.Barcode Scan: Scan product barcodes for instant recognition

Managing Shops

  • โ€”Add new shops with categories (Market, Local, Bio, Terroir)
  • โ€”Edit existing shop names and categories
  • โ€”Delete shops (removes all associated items)

Product Catalog

  • โ€”View all known products at /catalog
  • โ€”Edit product names
  • โ€”Link/relink barcodes to products
  • โ€”See shopping history for each product

Smart Features

  • โ€”Duplicate Detection: Prevents adding duplicate items
  • โ€”Smart Suggestions: AI suggests item names from photos
  • โ€”Barcode Learning: System learns your shopping patterns
  • โ€”Cross-Device Sync: Lists sync automatically across devices

Project Structure

src/
โ”œโ”€โ”€ ai/                 # AI integration and flows
โ”œโ”€โ”€ app/                # Next.js app directory
โ”‚   โ”œโ”€โ”€ api/           # API routes for data management
โ”‚   โ”œโ”€โ”€ catalog/       # Product catalog page
โ”‚   โ””โ”€โ”€ globals.css    # Global styles
โ”œโ”€โ”€ components/         # React components
โ”‚   โ”œโ”€โ”€ ui/            # Reusable UI components
โ”‚   โ”œโ”€โ”€ BarcodeScanner.tsx
โ”‚   โ””โ”€โ”€ GroceryList.tsx
โ”œโ”€โ”€ data/              # JSON data files
โ”œโ”€โ”€ hooks/             # Custom React hooks
โ””โ”€โ”€ lib/               # Utilities and type definitions

Design Philosophy

ListEase follows a clean, approachable design with:

  • โ€”Primary Color: Moderate aquamarine (#74C69D) for freshness
  • โ€”Background: Very light aquamarine (#E1F5EC) for calm backdrop
  • โ€”Accent Color: Soft blue-green (#82D9C5) for interactive elements
  • โ€”Typography: Clear, readable fonts with proper hierarchy
  • โ€”Icons: Simple, outlined icons for intuitive navigation

Contributing

  1. 1.Fork the repository
  2. 2.Create your feature branch (git checkout -b feature/amazing-feature)
  3. 3.Commit your changes (git commit -m 'Add some amazing feature')
  4. 4.Push to the branch (git push origin feature/amazing-feature)
  5. 5.Open a Pull Request

License

This project is open source and available under the MIT License.

Acknowledgments

  • โ€”Built with Firebase Studio
  • โ€”UI components powered by Radix UI
  • โ€”Icons from Lucide React
  • โ€”AI capabilities through Google Genkit
  • โ€”Barcode scanning via ZXing library

Made with โค๏ธ for smarter shopping experiences