WallpaperMachine
The wallpapers you love. A new home on your Mac.
Les plats du jour évalués chaque matin
Translation pending
LifestyleTypeScript · PythonGitHub @AlphaLuppiOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Plats du Jour - Site des menus du midi
Translation pending
Taken from the repository README
Loading the full README.
Read the full README ↗Agrégateur de menus du midi pour les restaurants d'entreprise. Scrape les menus, les évalue avec des agents IA, génère des commentaires de personnages fictifs, et affiche le tout sur un site web.
Site live : agroporc.vercel.app
Scrapers Python → Agent diététicien (Claude) → Agent commentateur → POST /api/update → Vercel Postgres → Next.js SSR
personnages/) réagissent aux menus selon leur personnalité| Composant | Technos |
|---|---|
| Frontend | Next.js 15, React 19, Tailwind CSS v4, shadcn/ui |
| Backend API | Next.js API Routes (Vercel) |
| Base de données | Vercel Postgres (table unique pdj_entries, colonne JSONB) |
| Pipeline Python | Playwright, Anthropic SDK (Claude), requests |
| Déploiement | Vercel (frontend), Docker (pipeline cron) |
├── app/ # Pages et API Next.js
│ ├── page.tsx # Page principale (menus de la semaine)
│ ├── api/ # Routes API (update, commentaire, pdj, etc.)
│ ├── ia/ # Page profils IA
│ └── idees/ # Page boîte à idées
├── lib/ # Utilitaires (DB, personnages, formatage)
├── components/ui/ # Composants shadcn/ui
├── public/ # Assets statiques (avatars, favicon)
└── plats-du-jour/ # Pipeline Python
├── scrapers/ # Un module par restaurant
├── agent/ # Agents IA (diététicien, commentateur, repair)
├── personnages/ # Profils JSON des personnages fictifs
├── main.py # Point d'entrée CLI
├── publish.py # Publication vers l'API Vercel
└── Dockerfile # Image Docker pour le cron
npm install
cp .env.example .env.local
# Remplir les variables Vercel Postgres + API_SECRET_TOKEN
npm run db:migrate
npm run dev
cd plats-du-jour
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
playwright install chromium
cp .env.example .env
# Remplir les variables (token Anthropic, Giphy, credentials Facebook, etc.)
cd plats-du-jour
source .venv/bin/activate
python main.py semaine # Pipeline complet du lundi : scrape toute la semaine + commentaires
python main.py jour # Pipeline quotidien : scrape le menu du jour
python main.py commentaires <nom> # Générer les commentaires d'un personnage
python main.py sync-feedback # Synchroniser le feedback humain dans les profils
cd plats-du-jour
docker compose up -d
# Lundi 9h30 : pipeline semaine
# Mardi-vendredi 9h30 : pipeline jour
.env.local)| Variable | Description |
|---|---|
POSTGRES_URL | URL de connexion Vercel Postgres |
API_SECRET_TOKEN | Token Bearer pour protéger /api/update |
plats-du-jour/.env)| Variable | Description |
|---|---|
ANTHROPIC_API_KEY | Clé API Claude (ou OAuth via Keychain) |
VERCEL_API_URL | URL du site Vercel |
API_SECRET_TOKEN | Même token que le frontend |
GIPHY_API_KEY | Clé API Giphy pour les GIFs dans les commentaires |
FACEBOOK_EMAIL / FACEBOOK_PASSWORD | Credentials pour scraper Le Truck Muche |
MIT