Green Hearts is a mobile application designed for users who are struggling to lose weight. It offers a comfy environment where they can track their progress, receive helpful advice, and monitor their stats.
I initially developed this project for my girlfriend, and after achieving very positive results, I decided to make it widely available with the eventual goal of publishing it on major mobile app stores.
Users can post food or workout entries and receive a score. These scores are represented as colored "hearts," each with a unique positive or negative value. The score, along with comments, can be:
-
Generated by a fine-tuned LLM model (default option).
-
Provided by a real-life nutritionist, who can install the application and monitor multiple patients.
Additional features include menu suggestions (which can either be autogenerated or proposed by a real-life nutritionist), predicted weight trajectories, and achievement tracking.
![]() |
![]() |
![]() |
|---|---|---|
| Home Screen | Posts Screen | Adding Post Screen |
Currently, only Android is supported due to custom native modules not yet being fully implemented for iOS and Web.
This project relies on Firebase, so you'll need the Firebase CLI along with the Storage, Functions and Firestore emulators.
Tip
Remember to setup the required envirorment variables in an .env file like this one:
EXPO_PUBLIC_FIRESTORE_EMULATOR_HOST=192.168.1.100
EXPO_PUBLIC_FIRESTORE_EMULATOR_PORT=8080
EXPO_PUBLIC_STORAGE_EMULATOR_HOST=192.168.1.100
EXPO_PUBLIC_STORAGE_EMULATOR_PORT=9199
EXPO_PUBLIC_AUTH_EMULATOR_HOST=192.168.1.100
EXPO_PUBLIC_AUTH_EMULATOR_PORT=9099You have two main options for obtaining the required development build:
-
Using EAS CLI: Run the following command:
eas build -p android --profile development --local
-
Manual Build with Android Studio: Run the following command:
bunx expo prebuild --platform android
Then, open the
androidfolder in Android Studio and build the APK from there.
Once you've installed the dev build APK on your device, you can start the development servers:
bun run firebase-emulators
bunx expoContributions are welcome! If you'd like to contribute, please fork the repository, make your changes, and submit a pull request. For major changes, consider opening an issue first to discuss your ideas.
Thank you for helping improve the project!



