Skip to content
Arvi23Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🌟 LazyCal

A personal, AI-powered calorie and weight tracking app built to be used with your own API key. Avoid bloated paywalls and effortlessly track your nutrition your way.

✨ Features

  • Bring Your Own Key (BYOK): Completely free to use with your own personal Gemini API key, completely avoiding expensive subscriptions and ads.
  • Versatile Calorie Tracking:
    • 📸 Take a photo of your meal directly
    • 🖼️ Upload an existing photo of your meal
    • 🤳 Scan a meal's QR code
    • ✍️ Describe your meal using standard text
  • Smart Calorie Calculator: Quickly calculate your specific targeted goals (weight loss/gain, maintenance, BMI) by simply inserting your details (age, weight, height).
  • Cross-Platform Foundation: Built with React & Vite for lightning-fast web performance.
  • Native Android App: Wrapped with Capacitor, giving you a real native APK that you can install directly on your phone.

🚀 Getting Started Locally

Prerequisites

Installation

  1. Clone the repository:
    git clone https://github.com/Arvi23/LazyCal.git
  2. Navigate into the directory and install dependencies:
    cd LazyCal
    npm install
  3. Environment Variables: Create a .env.local file in the root directory and add your API keys (e.g., Gemini API key).

🛠️ Building the Android App (The Easy Way)

We have included a highly automated PowerShell script to make building the Android APK completely painless! You don't need to fight with Android Studio file locks or Path variables.

Just run this from your terminal:

.\build.ps1

What build.ps1 does automatically for you:

  1. 🔍 Auto-discovers your Java/Android Studio installation setup.
  2. 📦 Runs npm install and compiles your frontend (npm run build).
  3. 🔄 Syncs your compiled web assets to the native Android project via Capacitor.
  4. 🧠 Intelligently checks if Android Studio is open (and launches it if needed).
  5. ⚙️ Compiles your debug.apk in the background using Gradle.
  6. 📂 Opens the output folder automatically so you can immediately grab your new APK!

💻 Web Development

To run the web version locally in your browser with hot-reloading:

npm run dev

Built with ❤️ utilizing React, Vite, Capacitor, and Tailwind CSS.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages