SparkyFitness: Built for Families. Powered by AI. Track food, fitness, water, and health — together. https://codewithcj.github.io/SparkyFitness/
  • TypeScript 64.7%
  • JavaScript 29.4%
  • PLpgSQL 4.7%
  • Python 0.8%
  • CSS 0.2%
  • Other 0.1%
Find a file
2026-04-11 10:40:00 +05:30
.github Merge pull request #1109 from Sim-sat/main 2026-04-09 23:02:21 +05:30
.husky chore: add pre commit hook for linting, formatting and testing 2026-02-15 18:53:34 +01:00
docker Update docker-compose.prod.yml 2026-03-28 12:21:54 -04:00
docs Simplify database restart command 2026-04-09 11:01:47 +05:30
helm fix(helm): make frontend Service type/port/annotations configurable via values 2026-03-29 22:20:52 +02:00
shared Merge pull request #1083 from apedley/timezones-continued 2026-04-06 03:01:02 -04:00
SparkyFitnessFrontend Bump version from 0.16.5.6 to 0.16.5.7 2026-04-11 10:40:00 +05:30
SparkyFitnessGarmin Update SparkyFitnessGarmin/main.py 2026-03-21 12:03:52 -04:00
SparkyFitnessMCP ported MCP to http stream instead of SSE 2026-02-26 17:11:25 -05:00
SparkyFitnessMobile fix: add robust intl input parsing 2026-04-10 15:35:30 -05:00
SparkyFitnessServer Update package.json 2026-04-11 10:39:30 +05:30
.dockerignore ci, docker: integrated workspaces, pinned version 2026-03-07 08:56:04 +01:00
.gitignore Integration with PolarFlow 2026-02-15 08:45:33 -05:00
AGENTS.md fix: date shift from utc conversion 2026-04-05 22:02:08 -05:00
CLAUDE.md Add Jest testing infrastructure to enable test execution 2026-01-25 11:15:26 +00:00
CONTRIBUTING.md docs: update contribution documenation and add workflow for checkbox validation 2026-04-05 14:54:42 +02:00
DB Backup.cmd Fix for Steps showing from previous days instead of current day 2025-10-23 10:44:20 -04:00
db_backup.sh Mobile app sync for sleep sessions 2025-12-26 18:33:23 -05:00
db_schema_backup.sql feat: add open food facts fallback user preference 2026-04-06 22:34:18 -05:00
dev-start.bat dev docker files 2026-02-02 21:34:08 -05:00
LICENSE WIP Meal & Meal Plan Features 2025-07-12 13:41:35 -04:00
package.json add prettier config 2026-03-26 08:36:51 +01:00
pnpm-lock.yaml feat: workout edit sets inline 2026-03-31 14:56:56 -05:00
pnpm-workspace.yaml Merge pull request #965 from Soulplayer/fix/activity-report-cleanup 2026-03-22 20:32:46 -04:00
README.md Fix typo in Tandoor integration name 2026-03-30 16:58:50 -04:00
start_garmin_microservice.bat Updated withing to save json as mockup files. renamed few other variables used by developers 2026-02-09 18:32:39 -05:00

SparkyFitness

A self-hosted, privacy-first alternative to MyFitnessPal. Track nutrition, exercise, body metrics, and health data while keeping full control of your data.

Screenshot

SparkyFitness is a self-hosted fitness tracking platform made up of:

  • A backend server (API + data storage)
  • A web-based frontend
  • Native mobile apps for iOS and Android

It stores and manages health data on infrastructure you control, without relying on third party services.

Core Features

  • Nutrition, exercise, hydration, sleep, fasting, mood and body measurement tracking
  • Goal setting and daily check-ins
  • Interactive charts and long-term reports
  • Multiple user profiles and family access
  • Light and dark themes
  • OIDC, TOTP, Passkey, MFA etc.

Health & Device Integrations

SparkyFitness can sync data from multiple health and fitness platforms:

  • Apple Health (iOS)
  • Google Health Connect (Android)
  • Fitbit
  • Garmin Connect
  • Withings
  • Polar Flow (partially tested)
  • Hevy (not tested)
  • OpenFoodFacts
  • USDA
  • Fatsecret
  • Nutritioninx
  • Mealie
  • Tandoor
  • Strava (partially tested)

Integrations automatically sync activity data such as steps, workouts, and sleep, along with health metrics like weight and body measurements, to your SparkyFitness server.

Optional AI Features (Beta)

SparkyAI provides a conversational interface for logging data and reviewing progress.

  • Log food, exercise, body stats, and steps via chat
  • Upload food images for automatic meal logging
  • Retains conversation history for follow ups

Note: AI features are currently in beta.

Quick Start (Server)

Get a SparkyFitness server running in minutes using Docker Compose.

# 1. Create a new folder
mkdir sparkyfitness && cd sparkyfitness

# 2. Download Docker files only
curl -L -o docker-compose.yml https://github.com/CodeWithCJ/SparkyFitness/releases/latest/download/docker-compose.prod.yml
curl -L -o .env https://github.com/CodeWithCJ/SparkyFitness/releases/latest/download/default.env.example

# 3. (Optional) Edit .env to customize database credentials, ports, etc.

# 4. Start the app
docker compose pull && docker compose up -d

# Access application at http://localhost:8080

🎥 Video Tutorial

Watch the video

Quick 2-minute tutorial showing how to install SparkyFitness (self-hosted fitness tracker).

Documentation

For full installation guides, configuration options, and development docs, please visit our Documentation Site.

Need Help?

  • Post in Github issues/discussion.
  • For faster response and get help from other community memebers Join our Discord

Star History

Star History Chart

Translations

Weblate Translations

Translation status

Repository activity

Alt

Contributors

⚠️ Known Issues / Beta Features ⚠️

SparkyFitness is under active development. Breaking changes may occur between releases.

  • Auto-updating containers is not recommended
  • Always review release notes before upgrading

The following features are currently in beta and may not have been thoroughly tested. Expect potential bugs or incomplete functionality:

  • AI Chatbot
  • Family & Friends access
  • API documentation