MCPcopy Index your code
hub / github.com/Nutlope/picMenu

github.com/Nutlope/picMenu @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
11 symbols 34 edges 12 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

PicMenu

PicMenu

Take a picture of your restaurant menu and generate nice images for each dish.

Tech stack

Cloning & running

  1. Clone the repo: git clone https://github.com/Nutlope/picmenu
  2. Create a .env file and add your Together AI API key: TOGETHER_API_KEY=
  3. Create an S3 bucket and add the credentials to your .env file. Follow this guide to set them up. All required values are in the .env.example file.
  4. Run npm install and npm run dev to install dependencies and run locally.

Future Tasks

  • [ ] Generate additional details (ingredients, origin, calories, taste) then display them in a modal when a user clicks a menu item
  • [ ] After upload, do a nice scroll to the loading state when it's loading
  • [ ] Better account for errors if it crashes (or if menu is too big). Also warn users it can take up to 60 seconds
  • [ ] Make the "use our example" link show a lot of custom menus in different languages, maybe in a modal
  • [ ] Iterate on the image prompt to make the images more realistic
  • [ ] Try out using Flux Dev instead of Flux Schnell
  • [ ] Add some tags as well (like spicy, vegetarian, vegan, etc.) to make the UI better
  • [ ] Add filters for those tags to be able to filter by them for food restrictions

Extension points exported contracts — how you extend this code

MenuGridProps (Interface)
(no doc)
components/menu-grid.tsx
MenuItem (Interface)
(no doc)
app/page.tsx

Core symbols most depended-on inside this repo

cn
called by 1
lib/utils.ts
handleFileChange
called by 1
app/page.tsx
Footer
called by 0
components/footer.tsx
MenuGrid
called by 0
components/menu-grid.tsx
Header
called by 0
components/header.tsx
Home
called by 0
app/page.tsx
handleSampleImage
called by 0
app/page.tsx
RootLayout
called by 0
app/layout.tsx

Shape

Function 9
Interface 2

Languages

TypeScript100%

Modules by API surface

app/page.tsx4 symbols
components/menu-grid.tsx2 symbols
lib/utils.ts1 symbols
components/header.tsx1 symbols
components/footer.tsx1 symbols
app/layout.tsx1 symbols
app/api/parseMenu/route.ts1 symbols

For agents

$ claude mcp add picMenu \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact