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 ↗