| .github/workflows | ||
| archive/2025-wrapped | ||
| public | ||
| scripts | ||
| src | ||
| tools/oxlint/anti-slop | ||
| .gitignore | ||
| .oxlintrc.json | ||
| api-1.json | ||
| babel.config.js | ||
| bun.lock | ||
| components.json | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| next.config.ts | ||
| openapi.json | ||
| package.json | ||
| portless.json | ||
| postcss.config.js | ||
| README.md | ||
| tsconfig.json | ||
| vercel.json | ||
| wrangler.jsonc | ||
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 static export:
bun run build
Lint:
bun run lint
Static menu bundle configuration:
MENU_API_URL=https://tikm.coolstuff.work
bun run build fetches menu history from MENU_API_URL, writes a static bundle into public/data/menu-bundle, and then exports the site. The client reads that bundle and chooses the current week using IST dates, so future menus can be deployed early without becoming current early.
Project Structure
src/app/— pages (home, weeks, per-week page) and API routes for week discoverysrc/components/— UI components (cards, carousel, inline selectors)src/data/weeks/— API client functions for fetching menu datasrc/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
Build with bun run build, then publish the out/ directory to a static host such as Cloudflare Pages. The site uses Next.js static export and has no production Next server.