A mobile-first web application that helps home bakers and food entrepreneurs estimate recipe costs including ingredients, packaging, and labor.
-
Multiple Input Methods:
- Take a photo of a recipe
- Upload an image of a recipe
- Type or paste recipe text
- Enter a URL to a recipe website
-
Comprehensive Cost Analysis:
- Ingredient costs with package pricing
- Packaging materials
- Labor costs based on preparation time
- Regional pricing based on zip code
-
Pricing Recommendations:
- Cost per serving
- Suggested markup
- Recommended selling price
-
Clone the repository
-
Install dependencies:
npm install
-
Create a
.envfile with your OpenAI API key:OPENAI_API_KEY=your_api_key_here PORT=3000 -
Start the server:
npm start
-
Open http://localhost:3000 in your browser
- Enter your zip code for accurate local pricing
- Choose an input method:
- Photo: Take or upload a picture of your recipe
- Type: Enter your recipe manually
- URL: Paste a link to an online recipe
- Click "Estimate Costs" to generate a detailed breakdown
- Review the cost analysis including:
- Ingredient costs with package details
- Packaging recommendations
- Labor time and costs
- Recommended pricing with markup
- Backend: Node.js, Express
- Frontend: Vanilla HTML, CSS, JavaScript
- AI: OpenAI GPT-4o for image processing and cost estimation
- Web Scraping: Cheerio for recipe extraction from URLs
POST /api/process-image- Process recipe from uploaded imagePOST /api/process-text- Process typed recipe textPOST /api/process-url- Extract and process recipe from URLGET /api/health- Health check endpoint
MIT