尚未收集儲存庫資訊。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗🛵 Nouveau : HOP! Livraison — application de livraison (clients FR/HE, patron, livreurs partenaires) dans
livraison/.
Comparateur de prix pour 9 supermarchés israéliens : Rami Levy, Osher Ad, Boom, Hatzi Hinam, Carrefour, Shufersal, Yochananof, Victory, Tiv Taam.
Hébergée sur GitHub Pages : https://bellaichewilliam-svg.github.io/Agenda-contr-le-/
prixmalin.html est un fichier HTML unique (~100 Ko) qui contient toute l'app. Téléchargez-le, ouvrez-le dans n'importe quel navigateur, ça marche sans internet.
Un workflow GitHub Actions (.github/workflows/update-prices.yml) tourne chaque jour à 06:00 UTC (= 09:00 Israël). Il :
data/live-prices.jsonprixmalin.htmlL'app charge data/live-prices.json au démarrage et superpose les prix réels sur les estimations.
| Chaîne | Source | Statut |
|---|---|---|
| Shufersal | prices.shufersal.co.il | ✅ Implémenté (public) |
| Rami Levy | publishedprices.co.il (RamiLevi) | ✅ Implémenté (login) |
| Tiv Taam | publishedprices.co.il (TivTaam) | ✅ Implémenté (login) |
| Carrefour | publishedprices.co.il (Yenotbitan) | ✅ Implémenté (login) |
| Osher Ad | publishedprices.co.il (osherad) | ✅ Implémenté (login) |
| Hatzi Hinam | publishedprices.co.il (HaziHinam) | ✅ Implémenté (login) |
| Yochananof | publishedprices.co.il (yohananof) | ✅ Implémenté (login) |
| Victory | matrixcatalog.co.il (chain 7290696200003) | ✅ Implémenté (public) |
| Boom | ❓ Source non identifiée | ⏳ Stub - à compléter |
⚠️ Les credentials publishedprices.co.il sont publics par la loi mais peuvent évoluer. Si une chaîne renvoie 0 item après un run, vérifier l'identifiant dans scripts/fetch_prices.py.
Depuis l'onglet Actions du repo GitHub :
Ou en local :
pip install requests
cd scripts
python fetch_prices.py --out ../data --verbose
.
├── index.html # Page principale (multi-fichiers)
├── styles.css
├── app.js # Logique : panier, comparaison, partage
├── prixmalin.html # Version single-file autonome
├── build.sh # Régénère prixmalin.html
├── data/
│ ├── products.js # 428 produits, prix de base estimés
│ ├── live-prices.json # Prix réels du dernier scraping (auto-généré)
│ └── raw-prices/ # Dump brut par chaîne (auto-généré)
├── scripts/
│ ├── fetch_prices.py # Orchestre le scraping
│ ├── match_products.py # Matche items hébreux → nos produits FR
│ └── chains/
│ ├── _base.py
│ ├── shufersal.py
│ ├── published_prices.py
│ └── matrix.py
└── .github/workflows/
└── update-prices.yml # Cron quotidien
Dans data/products.js :
{ id: "mon-produit", name: "Nom français", category: "Catégorie", unit: "1kg",
prices: P(9.90) },
Pour qu'il soit matché aux flux officiels, ajouter aussi dans scripts/match_products.py :
"mon-produit": ["mot1_he", "mot2_he"],
publishedprices.co.il avec un username spécifique).STORES (data/products.js) avec un id, une couleur, un tier.CHAINS (scripts/fetch_prices.py) avec la fonction de scraping appropriée.Loi de transparence des prix israélienne (חוק שקיפות מחירים, 2014) : les chaînes de plus de 5 magasins doivent publier leurs prix en XML public, mis à jour quotidiennement.