No description
  • Cooklang 90.9%
  • Python 7%
  • HTML 0.7%
  • CSS 0.6%
  • Typst 0.5%
  • Other 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Olivier Albiez 28360d4a61
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 7m49s
build-and-deploy / call (push) Successful in 0s
Add companion ADR and framing constraints to writing-rules issue
2026-10-15 19:29:53 +02:00
.ai
.claude Update cooklang skill for plats layout and unit convention 2026-10-05 06:20:02 +02:00
.forgejo/workflows
content Add Chongqing doubanjiang variant to dan dan vegan 2026-10-15 18:59:18 +02:00
docs Add companion ADR and framing constraints to writing-rules issue 2026-10-15 19:29:53 +02:00
reference/menuvegetarien
renderers Replace manual recipe lists with recipes-by-cuisine shortcode 2026-10-05 05:38:48 +02:00
scripts Add fetch-transcript.py and ignore transcripts and pyc 2026-10-05 09:35:24 +02:00
tooling Revert "Add aliases support to cookext frontmatter" 2026-07-14 15:51:46 +02:00
.gitignore Add fetch-transcript.py and ignore transcripts and pyc 2026-10-05 09:35:24 +02:00
.gitmodules
cartulary.toml Reformat issue slugs with cartu fmt 2026-10-14 23:57:57 +02:00
CLAUDE.md Document fetch-transcript.py in CLAUDE.md 2026-10-05 09:19:56 +02:00
flake.lock Update flake inputs 2026-07-17 11:23:45 +02:00
flake.nix Bump cartu to 0.7.0-alpha.1 2026-10-14 21:40:23 +02:00
Justfile Remove ignore-time from lftp mirror to fix stale deploy 2026-10-03 17:34:12 +02:00
readme.md Point CLAUDE.md and readme.md to ADRs 2026-10-05 06:06:23 +02:00

Recettes cuisines

Cookbook personnel au format Cooklang, avec génération de site statique (Hugo) et de PDFs (Typst).

Workflow rapide

just serve            # Serveur local avec hot-reload (défaut)
just convert-all      # Génère bundles Hugo + sources Typst + PDFs
just build            # convert-all + hugo (site complet)
just check            # Vérifie la qualité du cookbook (contraste, refs, méta, liens)
just test             # Tests unitaires cookext
just lint             # Lint cookext (ruff)
just typecheck        # Type check cookext (mypy)

Structure du dépôt

content/              # Sources éditables (cookbook, journal, stocks, ressources)
renderers/            # Moteurs de rendu (hugo, typst, icons)
tooling/              # Pipeline de conversion cookext (Python)
docs/                 # Documentation interne
reference/            # Références et sources
build/                # Artefacts générés (gitignored)

Organisation du cookbook

Référence opérationnelle : docs/layout.md — définition stricte de chaque dossier, catalogue des tags, taxonomies Hugo, matrice de décision, cas frontières documentés.

Décisions d'architecture

Les choix structurants sont consignés en ADR dans docs/adr/ :

  • Stack technique — Cooklang (source) + Hugo (site) + Typst (PDF) + cookext (pipeline Python)
  • Zéro JavaScript côté client — HTML/CSS pur, polices système, pas de ressource externe
  • Éco-conception — < 10 KB CSS, < 50 KB/page, zéro cookie, zéro image sur les recettes
  • RGAA / WCAG 2.1 AA — HTML sémantique, contraste ≥ 4.5:1, allergènes = icône + texte
  • Classement du cookbook par type culinaire — aligné Schema.org recipeCategory, inspiré d'Ottolenghi Simple

Remotes

  • origin → GitLab (git@gitlab.com:oalbiez/recettes-cuisine.git)
  • forgejo → Forgejo auto-hébergé (ssh://forgejo@git.albiez.family/olivier_albiez/recettes-cuisine.git)

Ressources