Skip to content

itstimwhite/LogYourBody

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LogYourBody

A comprehensive body metrics tracking platform with native iOS and web applications for monitoring health and fitness progress.

Overview

LogYourBody helps users track their body composition changes over time through manual logging and automated data imports from DEXA scans, InBody analyses, and other body composition measurement devices.

AI Issue Triage

This repository uses an intelligent AI-powered issue triage system. When you create a new issue, it will automatically:

  • Analyze the content and recommend the best AI tool (Sweep, Copilot, or Claude)
  • Add appropriate labels
  • Comment with instructions

Learn more about AI triage β†’

Project Structure

This monorepo contains two main applications:

πŸ“± iOS App (/apps/ios)

Native SwiftUI application for iPhone that provides:

  • HealthKit Integration: Syncs steps data with Apple Health
  • Body Metrics Tracking: Log weight, body fat %, muscle mass, and measurements
  • Photo Progress: Capture and compare progress photos
  • Offline Support: Core Data for local storage with background sync
  • Real-time Sync: Automatic synchronization with Supabase backend

Tech Stack:

  • SwiftUI
  • HealthKit
  • Core Data
  • Supabase Swift SDK
  • Clerk for authentication

🌐 Web App (/apps/web)

Modern web application built with Next.js that offers:

  • Dashboard: Visualize trends and progress with interactive charts
  • PDF Import: Extract data from DEXA/InBody scan PDFs using AI
  • Manual Entry: Log body metrics with an intuitive interface
  • Mobile Responsive: Optimized for all devices
  • Real-time Updates: Live synchronization across devices

Tech Stack:

  • Next.js 14 (App Router)
  • TypeScript
  • Tailwind CSS
  • Supabase
  • Clerk for authentication
  • OpenAI for PDF parsing

Features

Core Features

  • βœ… Multi-platform support (iOS & Web)
  • βœ… Real-time data synchronization
  • βœ… Secure authentication with Clerk
  • βœ… Progress photo tracking
  • βœ… Historical data visualization
  • βœ… PDF scan import (DEXA, InBody)
  • βœ… Apple Health integration (iOS)

Coming Soon

  • 🚧 Android app
  • 🚧 Wearable device integrations
  • 🚧 AI-powered insights
  • 🚧 Social features & challenges

Getting Started

Prerequisites

  • Node.js 20+
  • npm or yarn
  • Xcode 15+ (for iOS development)
  • Supabase account
  • Clerk account

Installation

  1. Clone the repository:
git clone https://github.com/itstimwhite/LogYourBody.git
cd LogYourBody
  1. Install dependencies:
npm install
  1. Set up environment variables:

    • Copy .env.example to .env in /apps/web
    • Add your Supabase and Clerk credentials
  2. Run the web app:

cd apps/web
npm run dev
  1. Run the iOS app:
    • Open /apps/ios/LogYourBody.xcodeproj in Xcode
    • Configure signing & capabilities
    • Build and run on simulator or device

Database Schema

The application uses Supabase with PostgreSQL. Key tables include:

  • profiles: User profile information
  • body_metrics: Weight, body fat %, muscle mass records
  • body_measurements: Detailed body measurements
  • daily_metrics: Steps and activity data

Row Level Security (RLS) ensures users can only access their own data.

Development Scripts

  • npm run dev - Start web development server
  • npm run build - Build web app for production
  • npm run test - Run tests
  • npm run lint - Lint code
  • npm run typecheck - TypeScript type checking
  • npm run ios - Open iOS project in Xcode

Deployment

Web App

The web app is configured for deployment on Vercel:

cd apps/web
npm run build

iOS App

The iOS app can be distributed via TestFlight or the App Store.

Contributing

We welcome contributions! Please see our contributing guidelines for more details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For support, email support@logyourbody.com or open an issue on GitHub.


Built with ❀️ by the LogYourBody team

About

LogYourBody

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy