GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - malakabdelkhalek/ar-menu-ai-waiter: Augmented-reality restaurant menu with "Jojo", an AI waiter that recommends dishes and learns from customers

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
ar.html
ar.html
 
 
config.js
config.js
 
 
index.html
index.html
 
 
jojo-chat.js
jojo-chat.js
 
 
jojo-learn.js
jojo-learn.js
 
 
menu-data.js
menu-data.js
 
 
placemat.mind
placemat.mind
 
 
placemat.png
placemat.png
 
 

Repository files navigation

๐Ÿ AR Menu + "Jojo" the AI Waiter

An augmented-reality restaurant menu built for La Storia di Jojo. Point your phone at the table placemat and the dishes appear in AR. Not sure what to order? Jojo, the AI waiter, asks you a few quick questions and recommends the 3 dishes that fit you best.

JavaScript A-Frame MindAR Supabase


Features

  • Mobile menu (index.html): phone-first menu with categories, prices and dish cards.
  • AR view (ar.html): image tracking on the placemat (placemat.png) with MindAR + A-Frame; Jojo's picks are highlighted on the table.
  • Jojo, the AI waiter (jojo-chat.js):
    • Understands requests like "something spicy under 20 DT, no meat" (tags to prefer, tags to avoid, max price).
    • Scores every dish and returns the best 3.
    • Starts the conversation with a short tap-to-answer quiz (drink or food, hot or cold, mood, budget).
    • Can call an optional LLM server; if it is slow or offline, Jojo falls back to the built-in rule-based brain, so the demo always works.
  • Learning from customers (jojo-learn.js): choices are saved to Supabase, and popular picks get ranked higher for the next customers.

How it works

Customer message โ”€โ–บ understand()  โ”€โ–บ wishes {prefer, avoid, maxPrice}
                                       โ”‚
                     recommend() โ—„โ”€โ”€โ”€โ”€โ”€โ”˜  scores menu-data.js + learned stats
                         โ”‚
                         โ–ผ
              top 3 dish cards  โ”€โ–บ highlighted in AR

Run it locally

AR needs the camera, so serve it over HTTPS or localhost:

npx serve .
# open http://localhost:3000 on your computer, or use your deployed HTTPS link on your phone

Optional settings live in config.js (AI server URL, Supabase project URL and publishable key).

Project files

File Role
index.html Mobile menu page
ar.html AR page (MindAR image target)
menu-data.js Dishes, prices, tags
jojo-chat.js Chat panel and recommendation logic
jojo-learn.js Shared learning via Supabase
placemat.png / placemat.mind AR target image and compiled tracking file

Author

Malak Abdelkhalek โ€” GitHub ยท LinkedIn

About

Augmented-reality restaurant menu with "Jojo", an AI waiter that recommends dishes and learns from customers

Topics

aframeaugmented-realitychatbotjavascriptmindarrecommendation-systemsupabase

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.