Staying consistently hydrated is one of the simplest and highest-impact healthy habits — yet it’s also one of the easiest to overlook. SparkyFitness gives you a lightweight, low-friction hydration tracker that fits naturally into your daily routine. Define containers that match the actual vessels you drink from, log each drink with a single tap, and watch your progress bar fill up as you move toward your daily water target. All hydration data lives on your private server alongside the rest of your health information.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CodeWithCJ/SparkyFitness/llms.txt
Use this file to discover all available pages before exploring further.
Logging Water
The diary’s water section shows your current intake for the day and a row of your saved containers. Logging a drink is a single interaction: tap the container to add one serving’s worth of water.Open the Diary
Navigate to the Diary page for today and scroll to the Water section. Your daily progress — current intake vs. goal — is displayed as a progress indicator.
Tap a Container
Tap or click the container icon corresponding to what you just drank. One tap adds the container’s full volume to today’s total. The progress bar updates immediately.
Log a Partial or Custom Amount
If you drank less than a full container or want to enter a precise millilitre amount, use the Manual Entry option to type in an exact value.
change_drinks: -1 to remove a serving from the total. The service calculates the actual volume from the container’s configured size.
Custom Containers
Water containers are the building blocks of hydration logging. Each container has a name, volume, unit, and an optional designation as your primary container — the one shown most prominently in the diary.Open Container Settings
Go to Settings → Water Containers (or tap Manage Containers from the diary’s water section).
Create a Container
Click Add Container and fill in the details:
- Name: A descriptive label (e.g., “Morning Glass”, “Gym Bottle”, “Office Mug”)
- Volume: The capacity in your preferred unit
- Unit:
mloroz
- 250ml Glass
- 500ml Bottle
- 1L Gym Bottle
- 8oz Cup
Container definitions are per-user. Each family member on your SparkyFitness instance can configure their own set of containers independently.
Hydration Goals
Your daily water target is set as part of your goals configuration. Navigate to Settings → Goals and enter a water intake goal in millilitres. The diary’s water progress bar fills relative to this target and turns green when you reach 100%.Set a Daily Target
A common starting point is 2,000–2,500 ml per day for adults, but your optimal intake depends on body weight, climate, and activity level. SparkyFitness lets you set any value you like.
Track Streaks
The Reports page shows how many consecutive days you have hit your hydration goal — a simple streak metric that helps build the daily habit.
API Integration
The health data endpoint accepts water intake records from external sources such as Apple Health (via the iOS Shortcut), the Android companion app, or any custom integration you build. This makes it possible to import data from a smart water bottle, a wearable, or a health platform automatically.iOS Shortcut / Apple Health
Water consumed in Apple Health can be forwarded to SparkyFitness using a personal automation or the official SparkyFitness iOS Shortcut. The shortcut calls the/api/health-data endpoint with your API key:
type: "water" is processed and added to that day’s water intake total.
Custom Integration Example
Any HTTP client can push water data to SparkyFitness. Here is a minimal example usingcurl:
200 with a body describing which records were processed, any errors, and any records that were intentionally skipped: