パッケージ、リポジトリ、アプリカテゴリを検索

GitHub リポジトリsbugrayy/Saglikla-App

Saglikla-App

糖尿病およびセリアック病の管理向けAI搭載ヘルスコンパニオン。OpenFoodFactsによるバーコードスキャン、Geminiを用いた視覚的な食品分析、FlutterおよびFirebaseで構築された個別化栄養トラッキング機能を備える。

Saglikla-App のプロジェクト画像
スター
3
フォーク
0
最終プッシュ(UTC)
2025/12/21
プロジェクト状態
公開中

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

🏥 Sağlıkla App

Diyabet ve Çölyak Hastaları İçin Yapay Zeka Destekli Sağlık Asistanı

Flutter Firebase Gemini AI


📱 Proje Tanıtımı

Sağlıkla, diyabet (Tip 1 & 2) ve çölyak hastalarının günlük yaşamlarını kolaylaştırmak için geliştirilmiş, yapay zeka destekli kapsamlı bir sağlık yönetim uygulamasıdır.

Bu uygulama sadece kalori saymaz; yediğiniz besinlerin sağlık durumunuza (diyabet, çölyak vb.) etkisini analiz eder. Gemini AI ve OpenFoodFacts entegrasyonu sayesinde ürünlerin barkodlarını tarayabilir veya fotoğraflarını çekerek besin değerlerini ve risk analizlerini anında görebilirsiniz.

📸 Uygulama Görüntüleri
Giriş Ekranı Kişiselleştirme Ana Panel
Kullanıcı Girişi Hastalık Seçimi & Ayarlar Günlük Özet & Kalori Takibi
Sıvı Takibi Doktor & Tahlil Sonuçları Profil (Koyu Mod)
Su & Elektrolit İzleme Tahlil Yükleme & Arşivleme Kullanıcı Profili & Ayarlar

🚀 Project Overview (English)

This application bridges the gap between raw nutritional data and actionable health insights. Unlike standard calorie trackers, HealthScan creates a correlation between what you eat and your specific health condition.

✨ Key Features
  • 🔍 Smart Barcode Scanning: Instantly detects products using OpenFoodFacts.
  • 🤖 AI-Driven Analysis:
    • Vision Fallback: If a barcode isn't found, the app uses Google Vision/Gemini to analyze the product packaging visually.
    • Safe-to-Eat Logic: Cross-references ingredients with the user's condition (e.g., flagging hidden gluten for Celiacs or high glycemic index items for Diabetics).
  • 🍎 Intelligent Meal Tracking: Estimate calories and carb counts from natural language descriptions.
  • 💧 Hydration Tracking: Monitor daily water intake and electrolyte balance.
  • 📂 Health Archives: Securely store and organize doctor results and analysis files.

🏗️ Architecture & Component Correlation

The project is built on a service-oriented architecture to ensure separation of concerns while maintaining tight integration between AI and User Data.

🔄 The "Brain" of the App: AIDecisionService

This is the central nervous system. It connects multiple entry points to the Gemini API:

  1. Scanner Interceptor: When ScannerScreen scans a product, AIDecisionService takes the ingredients list + User Profile (fetched via UserService) to generate a custom risk assessment.
  2. Vision Pipeline: In ManualEntryScreen or failed scans, it processes raw images to extract nutritional values.
  3. Chatbot Context: It feeds daily consumption logs (from NutritionService) into the chat context.
🛠️ Service Layer
  • UserService: Manages Firestore profiles. Critical for determining which rules the AI uses (Diabetes Type 1 vs 2, Insulin Ratios, etc.).
  • NutritionService: Handles the CRUD operations for meal logs.
  • ProductService: The gateway to OpenFoodFacts.

⚡ Setup & Security

This project uses Environment Variables to secure sensitive API Keys.

1. Prerequisites
  • Flutter SDK (3.9.x or higher)
  • Firebase Project setup
2. Environment Configuration (Crucial!)

The app will not run without valid API keys.

  1. Create a .env file in the root directory.
  2. Add your keys:
    GOOGLE_GEMINI_KEY=your_gemini_key_here
    GOOGLE_VISION_KEY=your_vision_key_here
    
3. Running the App
# Get dependencies
flutter pub get

# Run on emulator/device
flutter run
Buğra Yıldırım GitHub avatar
GitHub 作者

Buğra Yıldırım ↗

言語DartC++CMakeSwiftHTMLCKotlinObjective-C

カテゴリー

使用している依存関係

依存関係一覧 22 件

プロジェクトに合うリポジトリを選ぶには?

用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。

  1. 名前・作者・説明で検索し、技術トピックで絞り込みます。
  2. スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
  3. 利用前に GitHub で README、ライセンス、Issues を確認します。

情報源と管理

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗