Find a file
2026-03-23 09:54:27 +05:30
archive/2025-wrapped
public caching fixes for reloads via selectedWeekId synchronization for useWeekMenu() 2026-03-21 00:09:02 +05:30
src domain migration modal 2026-03-23 09:54:27 +05:30
.gitignore
api-1.json
bun.lock upgrade to Next.js 16 and add PWA support (#5) 2026-03-16 11:47:34 +05:30
components.json
CONTRIBUTING.md AI Policy 2026-02-09 05:48:26 +05:30
eslint.config.mjs upgrade to Next.js 16 and add PWA support (#5) 2026-03-16 11:47:34 +05:30
LICENSE
next.config.ts API v2 support 2026-02-03 01:14:59 +05:30
openapi.json
package-lock.json
package.json upgrade to Next.js 16 and add PWA support (#5) 2026-03-16 11:47:34 +05:30
postcss.config.mjs
README.md
tsconfig.json upgrade to Next.js 16 and add PWA support (#5) 2026-03-16 11:47:34 +05:30
wrangler.jsonc Update wrangler config name to fc-menu (#4) 2026-03-16 11:35:18 +05:30

Food Court Menus

Fast, friendly viewer for weekly mess/food-court menus with time-aware highlighting in Indian Standard Time (IST). The app now integrates with the Food Court API to automatically fetch and display the latest menu data.

Contributions, Please

The app now uses an external API for data, so contributions focus on code improvements, UI enhancements, and feature development. Data is managed through the Food Court API at https://tikm.coolstuff.work/docs/reference.

Highlights

  • Time-aware: detects current/upcoming meal using device time converted to IST and auto-focuses it
  • Minimal “playing card” UI with tasteful icons for Breakfast/Lunch/Snacks/Dinner
  • Horizontal carousel: highlights the primary meal, dims the rest, auto-scrolls to the current one
  • Inline navigation: click Year / Week / Day in-place to switch context
  • Fully responsive for mobile, tablets, and laptops

Tech

  • Next.js (App Router), TypeScript
  • Tailwind CSS v4
  • shadcn-inspired components (Cards)
  • lucide-react icons

Getting Started

Prereqs: Node 18+ and Bun.

Development server:

bun run dev

Visit http://localhost:3000.

Production build & start:

bun run build
bun run start

Lint:

bun run lint

Project Structure

  • src/app/ — pages (home, weeks, per-week page) and API routes for week discovery
  • src/components/ — UI components (cards, carousel, inline selectors)
  • src/data/weeks/ — API client functions for fetching menu data
  • src/lib/ — types and IST/time utilities

Future Work (Scope)

  • Adding support for other messes
  • User-defined local input for their own mess with a client-side OCR pipeline

Deployment

Any Node-compatible host will work. Build with bun run build and serve with bun run start.