![app screenshot](https://private-user-images.githubusercontent.com/53708813/404525633-31b11fdb-5bb3-4e45-9eb4-36a74bd438de.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NzQzMDYsIm5iZiI6MTczOTQ3NDAwNiwicGF0aCI6Ii81MzcwODgxMy80MDQ1MjU2MzMtMzFiMTFmZGItNWJiMy00ZTQ1LTllYjQtMzZhNzRiZDQzOGRlLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE5MTMyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA4MWNlMTU5NzI3YjhlYzc2N2I1ZTVmYjJlNjMwNDBmNjk2YWVlZGY3ZDQzZjRiZmZmOTJlY2ZjYzc3NmI1NzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.rYoH8W0iFRGCmH_lllwxyF8dUqCg_TF6d2GehqnM21A)
![app screenshot](https://private-user-images.githubusercontent.com/53708813/404525640-e50f6aea-4b3b-44b5-aab4-a8ef274b509a.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NzQzMDYsIm5iZiI6MTczOTQ3NDAwNiwicGF0aCI6Ii81MzcwODgxMy80MDQ1MjU2NDAtZTUwZjZhZWEtNGIzYi00NGI1LWFhYjQtYThlZjI3NGI1MDlhLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE5MTMyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBhNWNlZDU3MjIzYzk4ZDAwMzE2ZWFmYTIzYzgwNzEwMThkMjRhYmNiYWNlNGJlMDk2ZTY5N2RhNDZiYTUxMjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.tTA9a-rOqNlB3dsZFR6LadstuMeB-fr71wojN8ZMcMo)
This is a free and open source React Native application that helps you track your daily calories, macros, and meals. The design is inspired by Yazio.
- Search foods by name or barcode with OpenFoodFacts and USDA api integration
- Track calories, protein, fat, and carbohydrates in a daily diary
- Add custom entries with your own nutritional values
- Save your favorite foods for quick access
- Customize your daily targets
- Cache for USDA searches. Since the USDA databases changes very rarely, a cache for queries can be implemented without worries, with a very long invalidation time.
- Recents and frequently used foods. This could be a very handy feature for people that eat some food very ofted, like cereals, milk, eggs or this kind of food.
- Internationalization. I developed this app without multi languages support in mind, but since there is a small set of pages and components, it's not an hard to implement feature.
- Changing the day in the diary. At the moment the diary page supports only showing the current day, but having the possibility to change the day could be useful.
You can install the app from the latest GitHub release or build it yourself:
- Clone the repository:
git clone https://github.com/antomanc/simple-calorie-tracker.git cd simple-calorie-tracker
- Install dependencies with bun
bun install
- Prebuild for native platforms (Android/iOS):
bun run expo prebuild
- Build the APK:
The release APK will be located in
cd android ./gradlew assembleRelease
android/app/build/outputs/apk/release/
asapp-release.apk
.
Feel free to open issues or suggest features!