A private, local nutrition tracker for Android, powered by Health Connect.
By default, Sustenance is read-only and beautifully displays your Health Connect data with customizable goals.
And if you supply an AI Studio API key, Sustenance can talk to Gemini to log data, too.
| Today Screen | Insights View | Food Details |
|---|---|---|
![]() |
![]() |
![]() |
- Home: view your daily progress with context-aware greetings and helpful chips.
- Summary: daily averages vs. goals you set, with progress rings and comparison to yesterday.
- Pull-to-Yesterday: pull up from the dashboard to quickly view previous days.
By adding a Google AI Studio-formatted API key, Sustenance is able to analyze photos of food items and write relevant nutritional information to Health Connect.
| Scan Item | Log Item |
|---|---|
![]() |
![]() |
- Kotlin, Jetpack Compose, Material 3 (dynamic color)
androidx.health.connect:connect-clientfor all nutrition and energy readsandroidx.camerafor scanning,androidx.glancewidgets- WorkManager for periodic refresh, Predictive Back support
- DataStore for goals
minSdk 30,targetSdk 36
Sustenance requests only Health Connect read/write permissions for Nutrition and Energy.
- By default, AI logging features are not used and must be explicitly enabled.
Special thanks to GuyOnWifi for the heartwood project, from which Sustenance was forked.
GPL-3.0-or-later © Eason Huang & draumaz





