Recalo is an Android application that uses OpenAI's Vision capabilities to analyze photos of your meals and automatically extract nutritional information (Calories, Protein, Fat, Carbohydrates) and syncs it with Google Health Connect.
Note: This app is currently in its initial release phase. It is primarily intended for developers and early adopters who can build the project themselves.
AI analyzes your meal and syncs to Health Connect in seconds. (Processing time is sped up for the demo)
- AI-Powered Nutrition Analysis: Take a photo or select an image from your gallery, and the app uses OpenAI (gpt-5.4 / gpt-5.4-mini / gpt-5.4-nano) to estimate the nutritional breakdown and identify specific food items in the picture.
- Health Connect Integration: Seamlessly writes your daily meal records directly to Google Health Connect, allowing you to centralize your nutrition data alongside other fitness metrics.
- Local First Storage: All meal histories and images are stored securely on your device using Room database.
- Bring Your Own Key (BYOK): To use the AI features, you simply input your own OpenAI API key.
- Automatic Fallback: If gpt-5.4 models are not accessible, the app automatically falls back to gpt-4o-mini.
- Android Studio (Koala or newer recommended)
- An Android device or emulator running Android 14+ (API 34+) for Health Connect compatibility.
- An OpenAI API Key. Create one here
- Model Access: To use gpt-5.4 series models, you need to add them to your project's allowed models. Configure here
-
Clone the repository:
git clone https://github.com/laiso/recalo.git cd recalo -
Open the apps/android directory in Android Studio.
-
Sync the Gradle project.
-
Run the app (./gradlew assembleDebug or click the Run button in Android Studio).
- Launch the app on your device.
- Tap the Settings (Gear icon) in the top right corner.
- Paste your OpenAI API Key.
- (Optional) Adjust the AI Model quality:
- Low (gpt-5.4-nano): Fastest and cheapest, good for simple meals
- Medium (gpt-5.4-mini): Balanced performance and cost, 2x faster than gpt-5 mini
- High (gpt-5.4): Best accuracy for complex meals
- (Optional) Adjust the start time for your daily summaries.
- Tap Connect on the home screen to grant the app write permissions to Google Health Connect.
Note: If you see a notice about model access, visit OpenAI Project Limits to add gpt-5.4 series models to your allowed models. The app will automatically fall back to gpt-4o-mini if the selected model is not accessible.
- Language: Kotlin
- UI Toolkit: Jetpack Compose (Material Design 3)
- Architecture: Clean Architecture (Presentation, Domain, Data) with MVVM
- Local Database: Room
- Health Integration: Health Connect API
- Network: Retrofit / OkHttp (for OpenAI API)
- Image Loading: Coil
- Asynchronous Programming: Kotlin Coroutines & Flow
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project.
- Create your feature branch (git checkout -b feature/AmazingFeature).
- Commit your changes (git commit -m 'Add some AmazingFeature').
- Push to the branch (git push origin feature/AmazingFeature).
- Open a Pull Request.
This project is licensed under the GNU General Public License v3.0 (GPLv3).
You are free to use, modify, and distribute this software, but any derived works must also be open-source and distributed under the same GPLv3 license. See the LICENSE file for more details.
