# user-wurun/howtocook architecture

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

- Interactive diagram: https://gitdiagram.com/user-wurun/howtocook
- Repository: https://github.com/user-wurun/howtocook

## Overview

HowToCook is a Chinese-language, community-maintained cookbook: readers browse categorized recipes and difficulty indexes, then use recipe steps and cooking-advice articles to prepare food. The README documents these content areas and local web/PDF access, but the sampled source contains no runtime application code, so the graph focuses on the documented content workflow rather than inferring server internals.

Main entry points: [`README.md`](https://github.com/user-wurun/howtocook/blob/master/README.md) (Cookbook index), [`tips/如何选择现在吃什么.md`](https://github.com/user-wurun/howtocook/blob/master/tips/%E5%A6%82%E4%BD%95%E9%80%89%E6%8B%A9%E7%8E%B0%E5%9C%A8%E5%90%83%E4%BB%80%E4%B9%88.md) (Choose a dish), [`dishes/aquatic`](https://github.com/user-wurun/howtocook/tree/master/dishes/aquatic) (Aquatic dishes), [`dishes/breakfast`](https://github.com/user-wurun/howtocook/tree/master/dishes/breakfast) (Breakfast)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Recipe discovery"]
  node_index["Cookbook index<br/>[README.md]"]
  node_difficulty["Difficulty ratings"]
  node_choose["Choose a dish<br/>[如何选择现在吃什么.md]"]
end

subgraph group_recipes["Recipe collection"]
  node_aquatic["Aquatic dishes"]
  node_breakfast["Breakfast"]
  node_condiment["Condiments"]
  node_dessert["Desserts"]
  node_drink["Drinks"]
  node_meat["Meat dishes"]
  node_semi["Semi-finished"]
  node_soup["Soups"]
  node_staple["Staple foods"]
  node_vegetable["Vegetable dishes"]
end

subgraph group_guidance["Cooking guidance"]
  node_tips["Cooking techniques"]
end

node_reader(("Home cook"))
node_meal(("Prepared meal"))

node_reader -->|"browses"| node_index
node_index -->|"links ratings"| node_difficulty
node_index -->|"links selection"| node_choose
node_index -->|"lists recipes"| node_aquatic
node_index -->|"lists recipes"| node_breakfast
node_index -->|"lists recipes"| node_condiment
node_index -->|"lists recipes"| node_dessert
node_index -->|"lists recipes"| node_drink
node_index -->|"lists recipes"| node_meat
node_index -->|"lists recipes"| node_semi
node_index -->|"lists recipes"| node_soup
node_index -->|"lists recipes"| node_staple
node_index -->|"lists recipes"| node_vegetable
node_index -->|"links guidance"| node_tips
node_reader -->|"selects dish"| node_choose
node_choose -->|"guides choice"| node_meal
node_reader -->|"browses"| node_aquatic
node_reader -->|"browses"| node_breakfast
node_reader -->|"browses"| node_condiment
node_reader -->|"browses"| node_dessert
node_reader -->|"browses"| node_drink
node_reader -->|"browses"| node_meat
node_reader -->|"browses"| node_semi
node_reader -->|"browses"| node_soup
node_reader -->|"browses"| node_staple
node_reader -->|"browses"| node_vegetable
node_reader -->|"consults"| node_tips
node_reader -->|"checks rating"| node_difficulty
node_aquatic -->|"instructs cooking"| node_meal
node_breakfast -->|"instructs cooking"| node_meal
node_condiment -->|"instructs cooking"| node_meal
node_dessert -->|"instructs cooking"| node_meal
node_drink -->|"instructs making"| node_meal
node_meat -->|"instructs cooking"| node_meal
node_semi -->|"instructs preparation"| node_meal
node_soup -->|"instructs cooking"| node_meal
node_staple -->|"instructs cooking"| node_meal
node_vegetable -->|"instructs cooking"| node_meal

click node_index "https://github.com/user-wurun/howtocook/blob/master/README.md"
click node_difficulty "https://github.com/user-wurun/howtocook/tree/master/starsystem"
click node_choose "https://github.com/user-wurun/howtocook/blob/master/tips/%E5%A6%82%E4%BD%95%E9%80%89%E6%8B%A9%E7%8E%B0%E5%9C%A8%E5%90%83%E4%BB%80%E4%B9%88.md"
click node_aquatic "https://github.com/user-wurun/howtocook/tree/master/dishes/aquatic"
click node_breakfast "https://github.com/user-wurun/howtocook/tree/master/dishes/breakfast"
click node_condiment "https://github.com/user-wurun/howtocook/tree/master/dishes/condiment"
click node_dessert "https://github.com/user-wurun/howtocook/tree/master/dishes/dessert"
click node_drink "https://github.com/user-wurun/howtocook/tree/master/dishes/drink"
click node_meat "https://github.com/user-wurun/howtocook/tree/master/dishes/meat_dish"
click node_semi "https://github.com/user-wurun/howtocook/tree/master/dishes/semi-finished"
click node_soup "https://github.com/user-wurun/howtocook/tree/master/dishes/soup"
click node_staple "https://github.com/user-wurun/howtocook/tree/master/dishes/staple"
click node_vegetable "https://github.com/user-wurun/howtocook/tree/master/dishes/vegetable_dish"
click node_tips "https://github.com/user-wurun/howtocook/tree/master/tips"

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_index,node_difficulty,node_choose toneBlue
class node_aquatic,node_breakfast,node_condiment,node_dessert,node_drink,node_meat,node_semi,node_soup,node_staple,node_vegetable toneAmber
class node_tips toneMint
class node_reader,node_meal toneIndigo
```

## Components

### Recipe discovery

- [Cookbook index](https://github.com/user-wurun/howtocook/blob/master/README.md): `README.md`
- [Difficulty ratings](https://github.com/user-wurun/howtocook/tree/master/starsystem): `starsystem`
- [Choose a dish](https://github.com/user-wurun/howtocook/blob/master/tips/%E5%A6%82%E4%BD%95%E9%80%89%E6%8B%A9%E7%8E%B0%E5%9C%A8%E5%90%83%E4%BB%80%E4%B9%88.md): `tips/如何选择现在吃什么.md`

### Recipe collection

- [Aquatic dishes](https://github.com/user-wurun/howtocook/tree/master/dishes/aquatic): `dishes/aquatic`
- [Breakfast](https://github.com/user-wurun/howtocook/tree/master/dishes/breakfast): `dishes/breakfast`
- [Condiments](https://github.com/user-wurun/howtocook/tree/master/dishes/condiment): `dishes/condiment`
- [Desserts](https://github.com/user-wurun/howtocook/tree/master/dishes/dessert): `dishes/dessert`
- [Drinks](https://github.com/user-wurun/howtocook/tree/master/dishes/drink): `dishes/drink`
- [Meat dishes](https://github.com/user-wurun/howtocook/tree/master/dishes/meat_dish): `dishes/meat_dish`
- [Semi-finished](https://github.com/user-wurun/howtocook/tree/master/dishes/semi-finished): `dishes/semi-finished`
- [Soups](https://github.com/user-wurun/howtocook/tree/master/dishes/soup): `dishes/soup`
- [Staple foods](https://github.com/user-wurun/howtocook/tree/master/dishes/staple): `dishes/staple`
- [Vegetable dishes](https://github.com/user-wurun/howtocook/tree/master/dishes/vegetable_dish): `dishes/vegetable_dish`

### Cooking guidance

- [Cooking techniques](https://github.com/user-wurun/howtocook/tree/master/tips): `tips`

### Other components

- **Home cook**
- **Prepared meal**

## Connections

- Home cook → Cookbook index: browses
- Cookbook index → Difficulty ratings: links ratings
- Cookbook index → Choose a dish: links selection
- Cookbook index → Aquatic dishes: lists recipes
- Cookbook index → Breakfast: lists recipes
- Cookbook index → Condiments: lists recipes
- Cookbook index → Desserts: lists recipes
- Cookbook index → Drinks: lists recipes
- Cookbook index → Meat dishes: lists recipes
- Cookbook index → Semi-finished: lists recipes
- Cookbook index → Soups: lists recipes
- Cookbook index → Staple foods: lists recipes
- Cookbook index → Vegetable dishes: lists recipes
- Cookbook index → Cooking techniques: links guidance
- Home cook → Choose a dish: selects dish
- Choose a dish → Prepared meal: guides choice
- Home cook → Aquatic dishes: browses
- Home cook → Breakfast: browses
- Home cook → Condiments: browses
- Home cook → Desserts: browses
- Home cook → Drinks: browses
- Home cook → Meat dishes: browses
- Home cook → Semi-finished: browses
- Home cook → Soups: browses
- Home cook → Staple foods: browses
- Home cook → Vegetable dishes: browses
- Home cook → Cooking techniques: consults
- Home cook → Difficulty ratings: checks rating
- Aquatic dishes → Prepared meal: instructs cooking
- Breakfast → Prepared meal: instructs cooking
- Condiments → Prepared meal: instructs cooking
- Desserts → Prepared meal: instructs cooking
- Drinks → Prepared meal: instructs making
- Meat dishes → Prepared meal: instructs cooking
- Semi-finished → Prepared meal: instructs preparation
- Soups → Prepared meal: instructs cooking
- Staple foods → Prepared meal: instructs cooking
- Vegetable dishes → Prepared meal: instructs cooking
