# vdifiore/recetario architecture

> Architecture diagram of the GitHub repository vdifiore/recetario, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-05-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vdifiore/recetario
- Repository: https://github.com/vdifiore/recetario

## Overview

1. This repository is a **content-only recipe knowledge base**, not an application with business logic. The primary assets are Markdown files that describe recipes, grouped by cuisine or meal type.

2. The **top-level directories are the main domain boundaries**:
   - `Cervezas`, `Criolla`, `Tartas`, `Tortas`, `Panes`, `Jugos`, `Indian style`, `DeMar`, `vegana`, `tipo-arabe`, `Guisos`, `Postres`, etc.
   - Each folder represents a recipe category; the files inside are individual recipes.

3. The **README.md is the navigation layer**. It acts as the entry point and category index, linking to the major sections of the collection. That makes the repo easy to browse on GitHub or render into a site.

4. There are also **dated posts under `posts/`**, which look like publication-oriented copies or blog entries for some recipes. This suggests two content views:
   - category-oriented source folders
   - post-oriented published entries with date-based filenames

5. The repository includes a **`conf.py`**, which strongly suggests a documentation/static-site generation workflow. That file is the main build/config boundary for turning the Markdown collection into a rendered site or docs output.

6. The **`languajes/` directory contains translation artifacts** (`README.en.po`, `README.en.mo`, `README.pot`). This indicates internationalization support for at least the README content, with gettext-style source and compiled translation files.

7. `.doit.db.*` files indicate the repo has used **DoIt task automation** or a similar task runner. Those files are build-state metadata, not source content, and they likely support regeneration or publishing tasks.

8. There are a few **empty marker files** like `Indian style/.empty` and `Vegetariana/.empty`. These are usually used to preserve empty directories in Git and imply category scaffolding that may be populated later.

9. The content itself is **loosely organized and human-maintained** rather than generated from a schema. File names are descriptive, sometimes in Spanish, and include punctuation/spacing variations. That is important for diagramming: the repo is curated documentation, not normalized data.

10. The main data flow is straightforward:
    **Markdown recipes and category folders** → optionally **task/build tooling (`conf.py`, DoIt metadata, translations)** → **rendered documentation/site or GitHub browsing experience**.
    There is no evidence of a backend service, database, or runtime API beyond the static content pipeline.

11. In architecture terms, the key boundary is between:
    - **authoring content**: recipe Markdown, translations, README index
    - **build/publish layer**: configuration and automation metadata
    - **consumption layer**: readers browsing the repository or a generated static view

12. If you diagram the repository, the safest representation is a **static content repository with multilingual documentation support**, organized by culinary category, with lightweight build/config assets rather than application components.

Main entry points: [`README.md`](https://github.com/vdifiore/recetario/blob/master/README.md) (README), [`posts`](https://github.com/vdifiore/recetario/tree/master/posts) (Posts), [`languajes`](https://github.com/vdifiore/recetario/tree/master/languajes) (README i18n), [`conf.py`](https://github.com/vdifiore/recetario/blob/master/conf.py) (conf.py)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Content"]
  node_readme["README<br/>index<br/>[README.md]"]
  node_cervezas["Cervezas<br/>category"]
  node_criolla["Criolla<br/>category"]
  node_tartas["Tartas<br/>category"]
  node_tortas["Tortas<br/>category"]
  node_panes["Panes<br/>category"]
  node_jugos["Jugos<br/>category"]
  node_indian["Indian style<br/>category"]
  node_demar["DeMar<br/>category"]
  node_guisos["Guisos<br/>category"]
  node_postres["Postres<br/>category"]
  node_vegana["Vegana<br/>category"]
  node_arabe["Tipo árabe<br/>category"]
end

subgraph group_publishing["Publishing"]
  node_posts["Posts<br/>publish"]
  node_conf["conf.py<br/>site config<br/>[conf.py]"]
  node_doit[("DoIt DB<br/>task state<br/>[.doit.db.dat]")]
end

subgraph group_localization["Localization"]
  node_translations["README i18n<br/>gettext"]
  node_readme_en_po["README.en.po<br/>translation src<br/>[README.en.po]"]
  node_readme_en_mo["README.en.mo<br/>translation bin<br/>[README.en.mo]"]
  node_readme_pot["README.pot<br/>template<br/>[README.pot]"]
end

node_readme -->|"indexes"| node_cervezas
node_readme -->|"indexes"| node_criolla
node_readme -->|"indexes"| node_tartas
node_readme -->|"indexes"| node_tortas
node_readme -->|"indexes"| node_panes
node_readme -->|"indexes"| node_jugos
node_readme -->|"indexes"| node_indian
node_readme -->|"indexes"| node_demar
node_readme -->|"indexes"| node_guisos
node_readme -->|"indexes"| node_postres
node_readme -->|"indexes"| node_vegana
node_readme -->|"indexes"| node_arabe
node_conf -->|"builds"| node_readme
node_conf -->|"builds"| node_posts
node_conf -->|"localizes"| node_translations
node_posts -->|"publishes"| node_demar
node_posts -->|"publishes"| node_guisos
node_posts -->|"publishes"| node_jugos
node_posts -->|"publishes"| node_panes
node_translations -->|"contains"| node_readme_en_po
node_translations -->|"contains"| node_readme_en_mo
node_translations -->|"contains"| node_readme_pot
node_doit -->|"supports"| node_conf
node_doit -->|"supports"| node_posts

click node_readme "https://github.com/vdifiore/recetario/blob/master/README.md"
click node_cervezas "https://github.com/vdifiore/recetario/tree/master/Cervezas"
click node_criolla "https://github.com/vdifiore/recetario/tree/master/Criolla"
click node_tartas "https://github.com/vdifiore/recetario/tree/master/Tartas"
click node_tortas "https://github.com/vdifiore/recetario/tree/master/Tortas"
click node_panes "https://github.com/vdifiore/recetario/tree/master/panes"
click node_jugos "https://github.com/vdifiore/recetario/tree/master/jugos"
click node_indian "https://github.com/vdifiore/recetario/tree/master/Indian style"
click node_demar "https://github.com/vdifiore/recetario/tree/master/DeMar"
click node_guisos "https://github.com/vdifiore/recetario/tree/master/Guisos"
click node_postres "https://github.com/vdifiore/recetario/tree/master/Postres"
click node_vegana "https://github.com/vdifiore/recetario/tree/master/vegana"
click node_arabe "https://github.com/vdifiore/recetario/tree/master/tipo-arabe"
click node_posts "https://github.com/vdifiore/recetario/tree/master/posts"
click node_conf "https://github.com/vdifiore/recetario/blob/master/conf.py"
click node_doit "https://github.com/vdifiore/recetario/blob/master/.doit.db.dat"
click node_translations "https://github.com/vdifiore/recetario/tree/master/languajes"
click node_readme_en_po "https://github.com/vdifiore/recetario/blob/master/languajes/README.en.po"
click node_readme_en_mo "https://github.com/vdifiore/recetario/blob/master/languajes/README.en.mo"
click node_readme_pot "https://github.com/vdifiore/recetario/blob/master/languajes/README.pot"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_readme,node_cervezas,node_criolla,node_tartas,node_tortas,node_panes,node_jugos,node_indian,node_demar,node_guisos,node_postres,node_vegana,node_arabe toneBlue
class node_posts,node_conf,node_doit toneAmber
class node_translations,node_readme_en_po,node_readme_en_mo,node_readme_pot toneMint
```

## Components

### Content

Recipe categories and recipe pages

- [README](https://github.com/vdifiore/recetario/blob/master/README.md): index · Primary navigation and category index · `README.md`
- [Cervezas](https://github.com/vdifiore/recetario/tree/master/Cervezas): category · Beer recipes · `Cervezas`
- [Criolla](https://github.com/vdifiore/recetario/tree/master/Criolla): category · Creole-style recipes · `Criolla`
- [Tartas](https://github.com/vdifiore/recetario/tree/master/Tartas): category · Savory tart recipes · `Tartas`
- [Tortas](https://github.com/vdifiore/recetario/tree/master/Tortas): category · Cake recipes · `Tortas`
- [Panes](https://github.com/vdifiore/recetario/tree/master/panes): category · Bread recipes · `panes`
- [Jugos](https://github.com/vdifiore/recetario/tree/master/jugos): category · Juice recipes · `jugos`
- [Indian style](https://github.com/vdifiore/recetario/tree/HEAD/Indian%20style): category · Indian-style recipes · `Indian style`
- [DeMar](https://github.com/vdifiore/recetario/tree/master/DeMar): category · Seafood recipes · `DeMar`
- [Guisos](https://github.com/vdifiore/recetario/tree/master/Guisos): category · Stew recipes · `Guisos`
- [Postres](https://github.com/vdifiore/recetario/tree/master/Postres): category · Dessert hierarchy · `Postres`
- [Vegana](https://github.com/vdifiore/recetario/tree/master/vegana): category · Vegan recipes · `vegana`
- [Tipo árabe](https://github.com/vdifiore/recetario/tree/master/tipo-arabe): category · Arabic-style recipes · `tipo-arabe`

### Publishing

Static-site and task automation boundary

- [Posts](https://github.com/vdifiore/recetario/tree/master/posts): publish · Date-based published recipe entries · `posts`
- [conf.py](https://github.com/vdifiore/recetario/blob/master/conf.py): site config · Documentation or site generation config · `conf.py`
- [DoIt DB](https://github.com/vdifiore/recetario/blob/master/.doit.db.dat): task state · Automation state metadata · `.doit.db.dat`

### Localization

Translated README assets

- [README i18n](https://github.com/vdifiore/recetario/tree/master/languajes): gettext · Translation artifacts for README content · `languajes`
- [README.en.po](https://github.com/vdifiore/recetario/blob/master/languajes/README.en.po): translation src · Translatable README source · `languajes/README.en.po`
- [README.en.mo](https://github.com/vdifiore/recetario/blob/master/languajes/README.en.mo): translation bin · Compiled translation output · `languajes/README.en.mo`
- [README.pot](https://github.com/vdifiore/recetario/blob/master/languajes/README.pot): template · Translation template · `languajes/README.pot`

## Connections

- README → Cervezas: indexes · README links major category sections
- README → Criolla: indexes · README links major category sections
- README → Tartas: indexes · README links major category sections
- README → Tortas: indexes · README links major category sections
- README → Panes: indexes · README links major category sections
- README → Jugos: indexes · README links major category sections
- README → Indian style: indexes · README links major category sections
- README → DeMar: indexes · README links major category sections
- README → Guisos: indexes · README links major category sections
- README → Postres: indexes · README links major category sections
- README → Vegana: indexes · README links major category sections
- README → Tipo árabe: indexes · README links major category sections
- conf.py → README: builds · Configuration drives rendered documentation from the index
- conf.py → Posts: builds · Configuration can include published post entries
- conf.py → README i18n: localizes · Build uses translated README assets
- Posts → DeMar: publishes · Published post mirrors recipe content
- Posts → Guisos: publishes · Published post mirrors recipe content
- Posts → Jugos: publishes · Published post mirrors recipe content
- Posts → Panes: publishes · Published post mirrors recipe content
- README i18n → README.en.po: contains · Translation source files
- README i18n → README.en.mo: contains · Compiled translation files
- README i18n → README.pot: contains · Translation template file
- DoIt DB → conf.py: supports · Task metadata supports build automation
- DoIt DB → Posts: supports · Task metadata supports publishing workflow
