SparkyFitness

Take control of your health data with a self-hosted fitness tracker. Log meals with AI, track workouts, and monitor your progress with complete privacy.

Regain control over your personal health information with this self-hosted fitness tracking application. It provides a comprehensive, private alternative to mainstream services, allowing you to monitor your nutrition, exercise, and body measurements without sharing your data. The standout feature is an AI-powered nutrition coach that simplifies meal logging through chat and image recognition.

This open-source tool offers a complete suite of features to help you achieve your goals:

  • 🍎 Nutrition & Exercise Logging: Keep a detailed diary of your meals and workouts, create custom foods, and browse an extensive exercise database.
  • 📏 Progress Monitoring: Track your weight and body measurements over time and visualize your progress with comprehensive reports.
  • 🤖 AI-Assisted Logging: Use the chat-based AI coach to log food quickly, even by uploading a picture of your meal.
  • 🎯 Goal Management: Set specific fitness and nutrition goals and monitor your journey towards achieving them.
  • 🔒 Absolute Data Privacy: Because you host the application yourself, you have 100% ownership and control over your sensitive fitness data.

Directory Structure

sparkyfitness
postgres-data
.env
docker-compose.yml

docker-compose.yml

services:
  db:
    image: postgres:15-alpine
    container_name: sparkyfitness-db
    environment:
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_DB: sparkyfitness
    volumes:
      - ./postgres-data:/var/lib/postgresql/data
    ports:
      - "5432:5432"
    restart: unless-stopped

  app:
    image: ghcr.io/codewithcj/sparkyfitness:latest
    container_name: sparkyfitness-app
    depends_on:
      - db
    environment:
      DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/sparkyfitness
      NODE_ENV: production
      PORT: 3000
    ports:
      - "3000:3000"
    restart: unless-stopped

.env

POSTGRES_USER=sparky_admin
POSTGRES_PASSWORD=your_super_secret_password
Categories:

Share:

Ad
Favicon

 

  
 

Similar to SparkyFitness

Favicon

 

  
  
Favicon

 

  
  
Favicon