Skip to content

Latest commit

 

History

History
97 lines (49 loc) · 2.9 KB

README.md

File metadata and controls

97 lines (49 loc) · 2.9 KB

Oh!😲Menu - Ai Food Menu Builder

Automatically build accessible food menus from pictures.

Built by OpenBrewAi - https://www.openbrewai.com

How it works

Snap a pic of a food menu and Ai will turn that into an interactive version complete with images, translations, health info and more. Even talk to the menu as if it were your waiter.

Features

Interactive Menu Chatbot

Scroll through the menu as a website and talk to it like a waiter who will answer any questions about the menu/restaurant.

Pics of Food

If no image exists, you can choose to generate one (using Ai on "localhost" dev env or using Google Search on production) based on the description. Never guess about what you are about to order. Image generation requires a paid OpenAI api key.

Translations

Switch the menu to any of several languages.

Ingredient Breakdown

Lists ingredients in each food item and any associated health risk (allergy) info.

Data Stored locally

Menu data is stored on-device in LocalStorage.

Screenshot Tool using Puppeteer

This script was previously built for other purposes. Kept here for posterity. It is not required for the app to function. This is something you would run offline as a job if you for some reason wanted to bulk screenshot all your menus (maybe a cache server?).

  • Run npm start to start the app on localhost:3000.

  • Run node puppeteer-screenshot from the src/tools dir.

  • This will go through each menu page, open a headless browser and export a screenshot to src/tools/screenshots.

Available Scripts

In the project directory, you can run:

npm start

npm test

npm run build

vercel dev

This will allow you to locally test the api backend for vercel edge functions.

Deploy to Hosting via Vercel

When pushing to /main branch Vercel will automatically deploy website.

Where to find Webpack config

You can find all webpack config inside node_modules/react-scripts/config. Webpack configuration is being handled by react-scripts.

More Info

Built with

React

Image Search via Google Custom Search JSON API

Image Generation via OpenAI DaLL-E

Text Generation via Google Gemini