HUB
Sign inSign up

iamnazzal/bjs-menu-nutrition

By iamnazzal

•Updated about 1 month ago

BJ's Restaurant meal nutrition totals API + page (calories, protein, sodium)

Image
0

108

iamnazzal/bjs-menu-nutrition repository overview

⁠iamnazzal/bjs-menu-nutrition

A tiny offline web app and JSON API for BJ's Restaurant meal nutrition totals. Pick dishes in the browser page, or call the API to total calories, protein, carbs, fat and sodium for a meal. Items with no published value are flagged with +, never guessed. No outbound network calls; the 183-item menu is baked into the image.

⁠Run

docker run --rm -p 8080:8080 iamnazzal/bjs-menu-nutrition
# open http://localhost:8080/

⁠API

EndpointExample
GET /api/total?item=... (repeat)/api/total?item=BJ%27s%20Wagyu%20Burger&item=2x%20Avocado%20Egg%20Rolls → "cal": "3,210 cal"
GET /api/search?q=/api/search?q=pizookie
GET /api/filter?maxCal=&minProtein=&maxSodium=&without=&role=/api/filter?maxCal=600&without=Milk&role=main
GET /api/itemsthe full menu
GET /healthzhealth check

Runs as the non-root node user on port 8080 (PORT to change). Image: node:22-alpine, about 50 MB.

⁠Build

cd packages && docker build -f docker/Dockerfile -t iamnazzal/bjs-menu-nutrition:1.0.0 .

Unofficial; not affiliated with BJ's Restaurants, Inc. MIT licence.

Tag summary

Content type

Image

Digest

sha256:06008f9cb…

Size

58.5 MB

Last updated

about 1 month ago

docker pull iamnazzal/bjs-menu-nutrition