https://github.com/andrewnjoo/foodframe
FoodFrame: An AI-powered calorie tracker using Expo and OpenAI Vision
https://github.com/andrewnjoo/foodframe
calories-tracker expo food-recognition openai react-native
Last synced: 3 months ago
JSON representation
FoodFrame: An AI-powered calorie tracker using Expo and OpenAI Vision
- Host: GitHub
- URL: https://github.com/andrewnjoo/foodframe
- Owner: andrewnjoo
- License: mit
- Created: 2025-02-27T10:38:08.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-03T05:06:28.000Z (7 months ago)
- Last Synced: 2025-06-21T17:47:14.248Z (4 months ago)
- Topics: calories-tracker, expo, food-recognition, openai, react-native
- Language: TypeScript
- Homepage:
- Size: 931 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# FoodFrame
Food-Frame is an AI-powered calorie tracker built with [Expo Router](https://expo.github.io/router/).
## 🚀 Getting Started
### 1. Install Dependencies
```bash
npm install
```### 2. Start the App
#### Development Build:
If you are using a development build, start the app with:
```bash
npx expo start -c # Clear cache and start Expo
```Then press:
- **`s`** to switch between **development build** and **Expo Go**
- **`a`** to run on an **Android emulator**
- **`i`** to run on an **iOS simulator**Alternatively, you can directly start with Expo Go:
```bash
npx expo start --go
```#### Running on Specific Platforms:
For iOS:
```bash
npm run ios
```For Android:
```bash
npm run android
```For Web:
```bash
npm run web
```## 🔧 Environment Variables
Create a `.env` file in the root of your project and add the following variables:
```env
EXPO_PUBLIC_SUPABASE_URL=https://ntlrvyityzcfctnivepr.supabase.co
EXPO_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
EXPO_PUBLIC_OPENAI_API_KEY=your_openai_api_key
```Replace `your_supabase_anon_key` and `your_openai_api_key` with your actual keys.
## 📚 Tech Stack
- **Expo Router** - Navigation for React Native apps
- **Supabase** - Backend as a service
- **OpenAI** - AI-powered food recognition## 📌 Features
- AI-based food recognition
- Calorie tracking
- User authentication (Supabase Auth)
- Real-time data sync## 🛠️ Development
- Clone the repo:
```bash
git clone https://github.com/your-repo/food-frame.git
cd food-frame
```
- Install dependencies:
```bash
npm install
```
- Start the app:
```bash
npx expo start -c
```
- If needed, switch to **Expo Go** by pressing `s`, or use:
```bash
npx expo start --go
```## 🤝 Contributing
Contributions are welcome! Feel free to submit issues or pull requests.
## 📜 License
[MIT License](./LICENSE.md)