safe_bite
用于智能食品库存管理、过期追踪和AI驱动的食谱建议,以减少食物浪费的Flutter应用。
- 星标
- 1
- 复刻
- 0
- 最近推送(UTC)
- 2026年2月20日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
📋 Overview
Safe Bite is a cutting-edge mobile application built with Flutter that transforms how you manage your kitchen. By leveraging the power of Google Generative AI, Safe Bite helps you track food expiry dates, reduce waste, and discover delicious recipes based on the ingredients you already have.
Whether you're looking to organize your pantry, monitor your food consumption habits, or simply find inspiration for your next meal, Safe Bite has you covered.
✨ Key Features
- 📸 Smart Scanning: Quickly add food items to your inventory using your camera. Integrated with ML Kit for object detection to recognize items automatically.
- ⏳ Expiration Tracking: Never let food go to waste again. detailed lists of your items sorted by expiration date, with visual indicators for expiring soon items.
- 🍳 AI-Powered Recipes: Stuck on what to cook? Safe Bite uses Google Gemini AI to suggest creative recipes based specifically on your available stock.
- 📊 Insightful Statistics: Visualize your consumption patterns and waste reduction progress with beautiful interactive charts.
- 🔐 Secure Cloud Sync: Your data is safe and accessible across devices, powered by Firebase Authentication and Cloud Firestore.
🛠️ Tech Stack
- Framework: Flutter
- State Management: Bloc / Cubit
- Backend Services: Firebase (Auth, Firestore, Storage)
- Artificial Intelligence: Google Generative AI (Gemini)
- Charts: fl_chart
- Networking: Dio
🚀 Getting Started
Follow these steps to get a local copy up and running.
Prerequisites
- Flutter SDK installed on your machine.
- A Firebase project set up for this application.
Installation
-
Clone the repository
git clone https://github.com/yourusername/safe_bite.git cd safe_bite -
Install dependencies
flutter pub get -
Environment Configuration Create a
.envfile in the root directory and add your API keys (e.g., Gemini API Key).GEMINI_API_KEY=your_api_key_here -
Run the App
flutter run
👥 Contributors
This project exists thanks to all the people who contribute.
Built with ❤️ using Flutter
分类
使用的依赖
依赖清单 26 项
- flutter
{"sdk":"flutter"} - cupertino_icons
^1.0.8 - firebase_core
^4.4.0 - flutter_bloc
^9.1.1 - flutter_dotenv
^6.0.0 - firebase_auth
^6.1.4 - google_generative_ai
^0.4.7 - equatable
^2.0.8 - image_picker
^1.2.1 - salomon_bottom_bar
^3.3.2 - camera
^0.11.3 - path_provider
^2.1.5 - path
^1.9.1 - cloud_firestore
^6.1.2 - firebase_storage
^13.0.6 - dio
^5.9.1 - cached_network_image
^3.4.1 - fl_chart
^1.1.1 - translator
^1.0.4+1 - google_fonts
^8.0.1 - google_mlkit_object_detection
^0.15.1 - image
^4.7.2 - intl
^0.20.2 - flutter_launcher_icons
^0.14.4 - flutter_test开发依赖
{"sdk":"flutter"} - flutter_lints开发依赖
^5.0.0
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗