Skip to content

Latest commit

 

History

54 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get it on Google Play

<<<<<<< Updated upstream

📸 NutriTrack - Tactical Nutrition & Athletic Performance Dashboard

A comprehensive diagnostic suite for tactical athletes, combining high-precision macro/stimulant tracking with doctrinal performance fueling strategies. Powered by computer vision analysis and baseline metabolic modeling. =======

GHBanner

Run and deploy your AI Studio app

Stashed changes

This contains everything you need to run your app locally.

View your app in AI Studio: https://ai.studio/apps/1ece2d33-d80b-4de8-8a3d-b7996914ac2b

<<<<<<< Updated upstream

✨ Full Feature Architecture

🛡️ Diagnostic Core

  • Snap Meal Analyzer: Computer vision integration (Gemini-powered) for rapid composition decryption from photographs.
  • Mifflin-St Jeor Metabolic Engine: "Gold standard" BMR and TDEE calculation for precise caloric baseline determination.
  • US Navy Body Fat % Estimator: Circumference-based adiposity assessment for tracking body composition changes.
  • Concentric Daily Summary Rings: Real-time visual telemetry of Fat, Carb, and Protein saturation relative to performance targets.

⚡ Performance & Stimulant Tracking

  • Dual Stimulant Matrix: Dedicated tracking for Caffeine (mg) and Nicotine (mg) to monitor cognitive load and autonomic nervous system stress.
  • Macro Tweak Calculator: Real-time calorie synchronization based on 9/4/4 cal/gram thermodynamic constants.
  • Daily Journal & Diary: Comprehensive log history with meal categorization (Breakfast, Lunch, Dinner, Snacks).

📅 Tactical Scheduling & Export

  • Fueling Schedule & Weekly Sync: Managed event-based fueling (Weightlifting, Biking, Running) with specific Pre-Load and Post-Load nutrient instructions.
  • 12/8 and 5/2 Intermittant Fasting and Monthly Food Calendar: Monthly food calendar and fasting schedule for either option.
  • Diagnostics Compiler: Export formatted Markdown Reports or CSV Logs directly to local storage or shared platforms.
  • Calendar Synchronization: Integration settings for Google, iCloud, and Outlook calendars with Carb Load note export.

🏗️ Technical Specifications

  • Automatic Midnight Reset: Force-reset of daily totals at 00:00 local time to ensure "Foundational (Proactive)" nutrition discipline.
  • Client-Side Security: All diagnostics run strictly on-device to prevent unauthorized server leaks of biometric or nutritional records.
  • Native Waydroid Support: Optimized for high-performance execution on Fedora and other Linux environments via Waydroid.

📖 Scientific Foundations & Sources

NutriTrack is architected upon the latest doctrinal standards for tactical athlete readiness and metabolic science.

📚 Primary Source Quotations

NSCA - National Strength & Conditioning Association

Source: Essentials of Tactical Strength and Conditioning (TSAC)

"Tactical athletes cannot be lumped into a single group... each tactical athlete’s demands are based on incredibly different job functions. Therefore, it is important to treat each athlete as an individual when it comes to thinking through nutrition needs."

"Employing optimal nutritional strategies in conjunction with good sleep hygiene can mitigate the deleterious effects of deployment and shift work on performance."

U.S. Army Manual FM 7-22

Source: Holistic Health and Fitness (H2F), Chapter 8: Nutritional Readiness

"Nutritional readiness is the ability to recognize, select, and consume the requisite food and drink to meet the physical and nonphysical demands of any duty or combat position, accomplish the mission and come home healthy."

"Proactive nutrition provides the foundation for baseline health and homeostasis... the proactive prevention of nutrition deficiency, chronic disease, and immune system compromise."


🚀 Installation & Setup

Native Android / Waydroid

# Install Waydroid (Fedora)
sudo dnf install waydroid
sudo waydroid init
sudo systemctl start waydroid-container

# Install APK
waydroid app install android/app/build/outputs/apk/debug/app-debug.apk

Development Environment

npm install
npm run dev   # Local Web View
npm run build # Production Compilation
npx cap sync  # Sync Native Assets

🧮 Thermodynamic Constants

  • Fat: 9 kcal/g
  • Carbohydrates: 4 kcal/g
  • Protein: 4 kcal/g

🔐 Privacy & Sovereignty

  • Local Persistence: Data is stored exclusively in Browser LocalStorage/Capacitor Filesystem.
  • No Cloud Leakage: Zero external telemetry; biometric data remains under user control.

"Accomplish the mission and come home healthy." — FM 7-22

======= ## Run Locally

Prerequisites: Node.js

  1. Install dependencies: npm install
  2. Set the GEMINI_API_KEY in .env.local to your Gemini API key
  3. Run the app: npm run dev

Stashed changes

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages