Skip to content

About

Daily water intake tracker for Android — Jetpack Compose, Material 3, Room, home screen widgets and smart reminders.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

💧 HydroTrack

A daily water intake tracker for Android. A personal goal based on your weight, one-tap logging, home screen widgets and reminders that stay quiet when you're on track.

CI Release License: MIT Android Kotlin

Report a bug · Request a feature · Changelog

Note

v2 is in progress: a local-only rebuild with no accounts and no analytics, named drinks, smart pace-based reminders, weekly insights and optional Health Connect sync. This README describes v1.


Features

  • Personal daily goal, calculated from body weight (35 ml/kg), with manual override
  • Progress ring with one-tap bottle refill logging and today's intake log
  • Monthly history calendar, colour-coded by goal progress, with a 7-day average and day details
  • Home screen widgets in three sizes (2×2, 4×2, 4×3) with one-tap logging
  • Reminders via WorkManager that skip when you've logged recently, with a sleep window and notification actions (+1 Refill, Snooze)
  • Symptom check-in with 30-day CSV export
  • Light and dark themes
  • Optional sign-in with cloud backup (Firebase)

Tech stack

Language Kotlin
UI Jetpack Compose, Material 3
Storage Room (SQLite)
Background work WorkManager
Widgets Jetpack Glance
Cloud (optional) Firebase Auth, Firestore, Analytics
Min / target SDK 26 (Android 8.0) / 36 (Android 16)

Getting started

git clone https://github.com/arunkmr13/HydroTracker.git
cd HydroTracker
./gradlew assembleDebug        # APK in app/build/outputs/apk/debug/
./gradlew installDebug         # install on a connected device

Requirements: Android Studio (latest stable), JDK 17+, Android SDK 36. See DEVELOPMENT.md for tests, database migrations and the release process.

Project structure

app/src/main/java/com/arunkmr/hydrotrack/
├── data/          # Room entities, DAOs, repositories
├── domain/        # Target calculation and models
├── navigation/    # Bottom navigation graph
├── reminder/      # WorkManager scheduler, worker, notifications
├── sync/          # Firestore sync
├── auth/          # Sign-in
├── analytics/     # Event logging
├── ui/            # Screens: home, history, symptoms, settings, onboarding, account, theme
└── widget/        # Glance home screen widgets

Contributing

Issues and pull requests are welcome. Please read CONTRIBUTING.md first, and report security issues privately as described in SECURITY.md.

License

MIT © Arun Kumar

About

Daily water intake tracker for Android — Jetpack Compose, Material 3, Room, home screen widgets and smart reminders.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages