CodeWithCJ/SparkyFitness

▲ 54 stars today★ 6,629⑂ 451

SparkyFitness: Built for Families. Powered by AI. Track food, fitness, water, and health — together.

About CodeWithCJ/SparkyFitness

CodeWithCJ/SparkyFitness is an open-source project on GitHub, mainly written in TypeScript. SparkyFitness: Built for Families. Powered by AI. Track food, fitness, water, and health — together. It currently holds 6,629 stars and 451 forks with 208 open issues, and was last pushed on 2026-10-31 (repository created 2025-06-21).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #41 with 54 new stars today.

GitHub Repository Details

Repository CodeWithCJ/SparkyFitness · default branch main · size 152810 KB · watchers 19 · source: GitHub REST API and repository README

README

English · 简体中文 · 繁體中文 · 日本語 · 한국어 · हिन्दी · ไทย · Français · Deutsch · Español · Italiano · Русский · Português (Brasil) · Nederlands · Polski · العربية · فارسی · Türkçe · Tiếng Việt · Bahasa Indonesia

SparkyFitness

A self-hosted, privacy-first alternative to MyFitnessPal, Flo, Hevy, Shotsy & more. Track nutrition, exercise, body metrics, and health data while keeping full control of your data. https://github.com/CodeWithCJ/SparkyFitness/blob/HEAD/image

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

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

Core Features

How SparkyFitness Compares

SparkyFitness is source-available, not open source — the license is non-commercial and requires permission for commercial use.

Most apps do one thing. One good nutrition app runs $40–$100 a year; covering everything SparkyFitness covers means three or four subscriptions, per person, and still no single report across them. SparkyFitness does it in one app, free, for the whole household.

US list prices, 14 Aug 2026. Full cost breakdown →

| | SparkyFitness | wger | MyFitnessPal | Cronometer | Hevy | Zero | Flo | Garmin Connect | Google Health | | --- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | | Self-hosted, your data stays yours | ⭐ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | | No subscription, no ads | ✅ | ✅ | ❌ | 🟡 | 🟡 | ❌ | ❌ | ✅ | 🟡 | | Nutrition, strength, sleep, fasting, cycle & meds in one place\* | ⭐ | 🟡 | 🟡 | 🟡 | ❌ | ❌ | ❌ | 🟡 | 🟡 | | Full history & custom date-range reports | ✅ free | 🟡 | 💰 | 💰 | 💰 | 💰 | 💰 | ✅ | 💰 | | Wearable & health-platform sync | ✅ 8+ services | ❌ | ✅ | ⭐ | ✅ | 🟡 | 🟡 | 🟡 | ✅ | | Family sharing with granular permissions | ⭐ 7 permissions | ❌ | ❌ | 🟡 | ❌ | ❌ | ❌ | 🟡 | 🟡 | | CSV import & free data export | ✅ | 🟡 | 💰 | ✅ | ✅ | 🟡 | 🟡 | 🟡 | ❌ | | MCP server + bring your own LLM | ⭐ | 🟡 | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |

⭐ standout  •  ✅ supported  •  🟡 partial  •  💰 paid tier only  •  ❌ not supported

\* Sleep stages, HRV and blood glucose are imported from your watch, phone or meter. SparkyFitness stores, analyses and charts them rather than measuring them itself.

This table is written by the project being compared, so read it that way. Checked 14 Aug 2026 against official docs, repos and store listings; some of it is already out of date. If a cell is wrong or unfair to another project, open an issue — corrections that make SparkyFitness look worse are just as welcome.

See the full comparison → — 17 apps across self-hosted, nutrition, specialist and device-ecosystem categories, plus where each of them beats us.

Health & Device Integrations

SparkyFitness can sync data from multiple health and fitness platforms:

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.

Note: AI features are currently in beta.

Installation

Choose one of the two ways to run SparkyFitness:

1. Self-Hosted

Get a SparkyFitness server running in minutes using Docker Compose:

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

2. Download docker-compose.yml

curl -L -o docker-compose.yml https://raw.githubusercontent.com/CodeWithCJ/SparkyFitness/main/docker/docker-compose.prod.yml

3. Set up your .env configuration (Choose one option):

Option A (Recommended): Generate custom .env with 1-click secure keys in browser:

👉 https://codewithcj.github.io/SparkyFitness/install/env-generator

Option B: Minimal template — 5 values, everything else uses the defaults

docker-compose already applies. Fine for most self-hosted installs.

curl -L -o .env https://raw.githubusercontent.com/CodeWithCJ/SparkyFitness/main/docker/.env.simple.example

Option C: Full reference — every supported variable, commented out with its

default. Start here for SSO, SMTP, an external database or a reverse proxy.

curl -L -o .env https://raw.githubusercontent.com/CodeWithCJ/SparkyFitness/main/docker/.env.example

4. Replace the placeholders (skip if you used Option A — the generator

already filled these in). The server refuses to start while they are left

as-is, and the database would otherwise initialize with a published password.

SPARKY_FITNESS_DB_PASSWORD any strong password

SPARKY_FITNESS_API_ENCRYPTION_KEY openssl rand -hex 32 (64 hex chars)

BETTER_AUTH_SECRET openssl rand -base64 32 (44 chars)

SPARKY_FITNESS_FRONTEND_URL the URL you will open the app at

5. Start the app

docker compose pull && docker compose up -d

Access application at http://localhost:3004

_Note: For complete configuration options, reverse proxies, and alternative install methods, visit the Documentation Site._

2. Cloud (for non-technical users)

If you are not a technical user and prefer not to run SparkyFitness on your own server, you can deploy a hosted instance in the cloud using one of the following providers.

https://github.com/CodeWithCJ/SparkyFitness/blob/HEAD/Run on PikaPods
https://github.com/CodeWithCJ/SparkyFitness/blob/HEAD/Deploy with Zenith

Note: These are independent third-party services. We encourage you to explore features provided by each provider to determine the one that best fits your needs.

🎥 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.

Quick Links

Need Help?

Star History

https://github.com/CodeWithCJ/SparkyFitness/blob/HEAD/Star History Chart

Translations

Weblate Translations

https://github.com/CodeWithCJ/SparkyFitness/blob/HEAD/Translation status

https://github.com/CodeWithCJ/SparkyFitness/blob/HEAD/Translation status

Repository activity

![Alt](https://repobeats.axiom.co/api/embed/828203d3070ff56c8873c727b6873b684c4ed399.svg "Repobeats analytics image")

Contributors

https://github.com/CodeWithCJ/SparkyFitness/blob/HEAD/SparkyFitness contributors

⚠️ Known Issues / Beta Features ⚠️

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

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

GitHub Stars & Activity

6,629Stars
451Forks
208Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars6,629
Forks451
Open issues208
Primary languageTypeScript
LicenseNOASSERTION
Stars gained today54
Created2025-06-21
Last pushed2026-10-31

Trending History

Daily boardrank #41 · ▲ 54 stars

Related AI Projects

1

stablyai / orca

TypeScript★ 111,636⑂ 7,055▲ 792 stars
→
2

paperclipai / paperclip

TypeScript★ 109,379⑂ 18,115▲ 311 stars
→
3

thedotmack / claude-mem

TypeScript★ 107,595⑂ 9,451▲ 1,723 stars
→
4

tashfeenahmed / freellmapi

TypeScript★ 45,125⑂ 6,148▲ 641 stars
→
5

THU-MAIC / OpenMAIC

TypeScript★ 42,128⑂ 6,511▲ 115 stars
→
6

Crosstalk-Solutions / project-nomad

TypeScript★ 41,459⑂ 4,211▲ 98 stars
→
7

Yeachan-Heo / oh-my-claudecode

TypeScript★ 40,458⑂ 3,619▲ 29 stars
→
8

CopilotKit / OpenBot

TypeScript★ 9,111⑂ 1,140▲ 610 stars
→

More AI Rankings