High-performance AI-powered calorie and nutrition tracker with local LLM support.
- AI Food Analysis: Instant nutritional estimation from food images.
- Local Inference (Cactus Engine): Run Gemma 4 models locally on-device for privacy and offline capability.
- Hybrid Architecture: Seamlessly switch between Cloud APIs and Native Local Inference.
- Modern UI: Built with Jetpack Compose using a luxury glassmorphism aesthetic.
- Frontend: Kotlin, Jetpack Compose
- Native Core: C++ (Cactus Engine)
- AI Models: Gemma 4 (Local) / OpenAI-Compatible APIs (Cloud)
- Infrastructure: Android NDK, JNI, ARM64 Optimization
This project utilizes the Cactus Engine for high-performance local inference.
- Native Library:
libcactus.so(ARM64) - JNI Bridge:
libcalai_jni.soprovides a thin layer for the JVM to communicate with the C++ core.
To use the local AI engine:
- Open Settings.
- Select a local GGUF/Cactus compatible model path on your device.
- The app will automatically route analysis requests to the local engine.
Due to the complexity of the native ARM64 build, it is recommended to build the APK using Android Studio on a PC:
- Clone the repo.
- Open in Android Studio (Ladybug or newer).
- Build
$\rightarrow$ Build Bundle(s) / APK(s)$\rightarrow$ Build APK(s).