WallpaperMachine
The wallpapers you love. A new home on your Mac.
Family meal planning with Common Origin Design System
Translation pending
LifestyleGitHub @common-originOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Repository information has not been collected yet.
No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Production URL: https://meal-agent.vercel.app
An AI-powered multi-user meal planning application that helps households plan weekly dinners with authentication, persistent storage, and intelligent recipe recommendations.
apps/web/src/lib/ai/models.ts
corepack enable && corepack prepare pnpm@latest --activate)Create .env.local in apps/web/:
# Supabase
NEXT_PUBLIC_SUPABASE_URL=https://migfbyyftwgidbkwwyst.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key
# Google Gemini AI
GEMINI_API_KEY=your_gemini_api_key
# Optional: GitHub Integration
GITHUB_TOKEN=your_github_token
Clone the repository
git clone https://github.com/common-origin/meal-agent.git
cd meal-agent
Install dependencies
pnpm install
Run database migrations
Open Supabase SQL Editor and execute:
supabase/migrations/001_initial_schema.sqlsupabase/migrations/002_rls_policies.sqlsupabase/migrations/003_alter_recipes_id_to_text.sqlsupabase/migrations/004_add_full_settings_jsonb.sqlsupabase/migrations/005_add_nutrition_column.sqlsupabase/migrations/006_add_ics_token.sqlsupabase/migrations/007_add_recipe_history.sqlGenerate database types
supabase gen types typescript --project-id migfbyyftwgidbkwwyst > apps/web/src/lib/supabase/database.types.ts
Start development server
pnpm -F web dev
Open your browser
http://localhost:3000
# Development
pnpm -F web dev # Start dev server with hot reload
pnpm -F web build # Build for production
pnpm -F web start # Start production server
# Quality Assurance
pnpm -F web lint # Run ESLint
pnpm -F web typecheck # TypeScript type checking
pnpm test # Run Vitest unit tests
# Database
supabase gen types typescript --project-id migfbyyftwgidbkwwyst > apps/web/src/lib/supabase/database.types.ts
meal-agent/
├── apps/
│ └── web/ # Next.js application
│ ├── src/
│ │ ├── app/ # App Router pages & API routes
│ │ │ ├── (auth) # Auth pages (login, signup)
│ │ │ ├── plan/ # Meal planning pages
│ │ │ ├── recipes/ # Recipe library
│ │ │ ├── settings/ # Settings pages
│ │ │ └── api/ # AI API endpoints
│ │ ├── components/ # React components
│ │ └── lib/ # Core logic & utilities
│ │ ├── supabase/ # Database clients & types
│ │ ├── supabaseStorage.ts # PostgreSQL CRUD
│ │ ├── hybridStorage.ts # Storage router
│ │ ├── compose.ts # Meal planning algorithm
│ │ ├── scoring.ts # Recipe scoring
│ │ └── colesMapping.ts # Price mappings
├── supabase/
│ ├── migrations/ # Database migrations
│ └── README.md # Database setup guide
└── .github/
├── workflows/ # CI/CD pipelines
└── *.md # Documentation
Built with Common Origin Design System v1.14.0
All components are WCAG 2.1 AA accessible with full keyboard navigation and screen reader support.
apps/webpnpm buildpnpm installhttps://your-domain.vercel.app/auth/callbackhttp://localhost:3000/auth/callback# Build for production
pnpm -F web build
# Start production server
pnpm -F web start
Tracked as GitHub Issues, not a static checklist here — a roadmap written into a doc goes stale exactly like the one this replaced had (it listed the storage architecture as a completed achievement; see #2 for why that's not accurate, and #36 for the Coles checkout/pricing work it called "Phase 5+").
git checkout -b feat/new-featuregit commit -m 'feat: add new feature'git push origin feat/new-featurePlease ensure:
Built with ❤️ by Common Origin