Coder Social home page Coder Social logo

nutrisay's Introduction

NutriSAY!

NutriSAY! is a Nutrition Tracking App that uses AI & HealthKit for watchOS. Just say what you just eat, and the AI will analyze the nutrition, very detailed, which is every nutrient available in HealthKit. You'll never again spend time finding a meal that doesn't exist in the database of other Nutrition Tracking Apps.

Nutrisay Screenshot

Features

  • Nutrition Tracker: Displays daily progress bars for calories, protein, and carbohydrates.
  • AI Nutrition Analyzer: Speak to log meals. The AI will determine the nutrients.
  • Meal History with Detailed Nutrients: View the history of consumed meals with complete nutrients.
  • HealthKit Integration: Syncs nutrition data with HealthKit.

Tech Stack

  • SwiftUI to build responsive UI
  • SwiftData for data persistence
  • WatchKit to build watchOS apps
  • HealthKit to sync nutrition into iOS and Apple account
  • GitHub as version control system
  • Dify.ai and OpenAI API to interact with AI LLMs

Build Configuration

The project includes configurations for both iOS and watchOS targets:

  • NutriSAY: The main iOS app.
  • NutriSAY Watch App: The companion watchOS app.

Dependencies

The project uses the following Swift package:

  • Yams: A library for parsing and writing YAML.

Getting Started

Prerequisites

  • Xcode 14.0 or later
  • Swift 5.0

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/NutriSAY.git
    cd NutriSAY
  2. Open the project in Xcode:

    open NutriSAY.xcodeproj
  3. Build and run the project on your preferred device or simulator.

nutrisay's People

Contributors

aryadytm avatar

Stargazers

Bagas Satria avatar  avatar

Watchers

 avatar

nutrisay's Issues

HealthKit error

Hi currently testing your apple watch app on TestFlight and I've noticed there's a couple of problems with health kit maybe?

Added a cup of tea, with 5ml of milk and 2 sugars.

Within health app on my iPhone its recording as follows:

Watch data shown on your app                                iPhone Heath App

Calories - 50 kcal                                                               50 kcal                                                          
Protein - 1.5 g                                                                     1.5 g
Carbohydrates - 10 g                                                          10 g          
Fat (Total) - 1.5 g                                                                1,5 g 
Sugar - 10 g                                                                        10g
Caffeine - 40 mg                                                                 40,000 mg - incorrect
Water - 0.2 l                                                                        0.2 l
Simulator Screenshot - Apple Watch Series 9 (45mm) - 2024-07-22 at 23 46 46
Simulator Screenshot - Apple Watch Series 9 (45mm) - 2024-07-22 at 23 46 57
Simulator Screenshot - Apple Watch Series 9 (45mm) - 2024-07-22 at 23 47 02
Simulator Screenshot - Apple Watch Series 9 (45mm) - 2024-07-22 at 23 47 06
Simulator Screenshot - Apple Watch Series 9 (45mm) - 2024-07-22 at 23 47 11
Simulator Screenshot - Apple Watch Series 9 (45mm) - 2024-07-22 at 23 47 15
Simulator Screenshot - iPhone 15 Pro - 2024-07-22 at 23 48 04
Simulator Screenshot - iPhone 15 Pro - 2024-07-22 at 23 48 08
Simulator Screenshot - iPhone 15 Pro - 2024-07-22 at 23 48 13
Simulator Screenshot - iPhone 15 Pro - 2024-07-22 at 23 48 17
Simulator Screenshot - iPhone 15 Pro - 2024-07-22 at 23 48 23
Simulator Screenshot - iPhone 15 Pro - 2024-07-22 at 23 48 28

Also attached a screen shot of another test with incorrect data posted to health app

Do this on simulator in Xcode and also in my iPhone and Apple Watch on TestFlight

Maybe a decimal point somewhere?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.