An open API service indexing awesome lists of open source software.

https://github.com/mst-mkt/chefcam

🍳 Find recipes from just a photo of the ingredients with AI.
https://github.com/mst-mkt/chefcam

cookpad hono openai

Last synced: 30 days ago
JSON representation

🍳 Find recipes from just a photo of the ingredients with AI.

Awesome Lists containing this project

README

        

ChefCam.

## Project description

Just take a picture of your refrigerator and you can instantly search for your dinner recipe.

### Features

- Take a picture of the ingredients in the refrigerator
- Upload a photo and food ingredients are automatically detected by AI
- Unwanted ingredients can be manually selected from the detected materials
- Search for recipes from cookpad based on the selected ingredients
- View the recipe and ingredients in detail

### Tech stack

#### Frontend

- React
- Vite
- Tanstack Router
- Tailwind CSS

#### Backend

- Hono
- Vercel AI SDK
- Drizzle ORM
- Auth.js
- cheerio

#### Deployment

- Cloudflare Pages
- Cloudflare Workers
- Cloudflare D1
- Cloudflare AI Gateway

## Development

### install dependencies

```bash
pnpm i
```

### create environment files

```bash
cp apps/frontend/.env.local.example apps/frontend/.env.local
cp apps/backend/.dev.vars.example apps/backend/.dev.vars
```

### run dev server

```bash
pnpm dev
```

### check format and lint

```bash
pnpm check
```

### format and lint fix

```bash
pnpm fix
```

### typecheck

```bash
pnpm typecheck
```