# worldcomposting/world_composting architecture

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

- Interactive diagram: https://gitdiagram.com/worldcomposting/world_composting
- Repository: https://github.com/worldcomposting/world_composting

## Overview

World Composting is a static educational website about composting methods, sustainability, and related gear. Visitors browse topic guides and articles for practical instructions and troubleshooting; the site also includes a video-card renderer that loads method-filtered video data. The tree shows many distinct topic pages, but no README or page excerpts establish navigation or calls between them, so those relationships are not inferred. The graph includes the documented video-data flow and the required blog-generation module; maintenance scripts are excluded as non-runtime tooling.

Main entry points: [`scripts/generate_blog.py`](https://github.com/worldcomposting/world_composting/blob/main/scripts/generate_blog.py) (Blog Page Generator), [`src/js/video-renderer.js`](https://github.com/worldcomposting/world_composting/blob/main/src/js/video-renderer.js) (Video Renderer), [`start-here.html`](https://github.com/worldcomposting/world_composting/blob/main/start-here.html) (Getting Started), [`blog.html`](https://github.com/worldcomposting/world_composting/blob/main/blog.html) (Blog)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_guides["Composting Guides"]
  node_worm["Worm Composting"]
  node_hot["Hot Composting"]
  node_bokashi["Bokashi<br/>[bokashi.html]"]
  node_biochar["Biochar<br/>[biochar.html]"]
  node_bsf["Black Soldier Fly"]
  node_tumbler["Tumbler Composting<br/>[tumbler.html]"]
  node_lasagna["Lasagna Gardening<br/>[lasagna.html]"]
  node_precompost["Pre-composting<br/>[pre-compost.html]"]
  node_energy["Energy Efficiency"]
  node_water["Water Conservation"]
end

subgraph group_resources["Learning Resources"]
  node_start["Getting Started<br/>[start-here.html]"]
  node_science["Compost Science"]
  node_troubleshoot["Troubleshooting<br/>[troubleshoot.html]"]
  node_blog["Blog<br/>[blog.html]"]
  node_blogdata[("Blog Content Data<br/>[blog.json]")]
  node_bloggen["Blog Page Generator<br/>[generate_blog.py]"]
end

subgraph group_runtime["Site Runtime"]
  node_video_renderer["Video Renderer<br/>[video-renderer.js]"]
  node_videos[("Video Data<br/>[videos.json]")]
end

node_visitor(("Visitor"))

node_visitor -.->|"opens"| node_start
node_video_renderer -->|"loads"| node_videos
node_bloggen -->|"reads"| node_blogdata
node_bloggen -->|"generates"| node_blog

click node_worm "https://github.com/worldcomposting/world_composting/blob/main/worm-composting.html"
click node_hot "https://github.com/worldcomposting/world_composting/blob/main/hot-composting.html"
click node_bokashi "https://github.com/worldcomposting/world_composting/blob/main/bokashi.html"
click node_biochar "https://github.com/worldcomposting/world_composting/blob/main/biochar.html"
click node_bsf "https://github.com/worldcomposting/world_composting/blob/main/black_soldier_fly.html"
click node_tumbler "https://github.com/worldcomposting/world_composting/blob/main/tumbler.html"
click node_lasagna "https://github.com/worldcomposting/world_composting/blob/main/lasagna.html"
click node_precompost "https://github.com/worldcomposting/world_composting/blob/main/pre-compost.html"
click node_energy "https://github.com/worldcomposting/world_composting/blob/main/energy-efficiency.html"
click node_water "https://github.com/worldcomposting/world_composting/blob/main/water-conservation.html"
click node_start "https://github.com/worldcomposting/world_composting/blob/main/start-here.html"
click node_science "https://github.com/worldcomposting/world_composting/blob/main/science-of-compost.html"
click node_troubleshoot "https://github.com/worldcomposting/world_composting/blob/main/troubleshoot.html"
click node_blog "https://github.com/worldcomposting/world_composting/blob/main/blog.html"
click node_blogdata "https://github.com/worldcomposting/world_composting/blob/main/src/data/blog.json"
click node_bloggen "https://github.com/worldcomposting/world_composting/blob/main/scripts/generate_blog.py"
click node_video_renderer "https://github.com/worldcomposting/world_composting/blob/main/src/js/video-renderer.js"
click node_videos "https://github.com/worldcomposting/world_composting/blob/main/src/data/videos.json"

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_worm,node_hot,node_bokashi,node_biochar,node_bsf,node_tumbler,node_lasagna,node_precompost,node_energy,node_water toneBlue
class node_start,node_science,node_troubleshoot,node_blog,node_blogdata,node_bloggen toneAmber
class node_video_renderer,node_videos toneMint
class node_visitor toneIndigo
```

## Components

### Composting Guides

- [Worm Composting](https://github.com/worldcomposting/world_composting/blob/main/worm-composting.html): `worm-composting.html`
- [Hot Composting](https://github.com/worldcomposting/world_composting/blob/main/hot-composting.html): `hot-composting.html`
- [Bokashi](https://github.com/worldcomposting/world_composting/blob/main/bokashi.html): `bokashi.html`
- [Biochar](https://github.com/worldcomposting/world_composting/blob/main/biochar.html): `biochar.html`
- [Black Soldier Fly](https://github.com/worldcomposting/world_composting/blob/main/black_soldier_fly.html): `black_soldier_fly.html`
- [Tumbler Composting](https://github.com/worldcomposting/world_composting/blob/main/tumbler.html): `tumbler.html`
- [Lasagna Gardening](https://github.com/worldcomposting/world_composting/blob/main/lasagna.html): `lasagna.html`
- [Pre-composting](https://github.com/worldcomposting/world_composting/blob/main/pre-compost.html): `pre-compost.html`
- [Energy Efficiency](https://github.com/worldcomposting/world_composting/blob/main/energy-efficiency.html): `energy-efficiency.html`
- [Water Conservation](https://github.com/worldcomposting/world_composting/blob/main/water-conservation.html): `water-conservation.html`

### Learning Resources

- [Getting Started](https://github.com/worldcomposting/world_composting/blob/main/start-here.html): `start-here.html`
- [Compost Science](https://github.com/worldcomposting/world_composting/blob/main/science-of-compost.html): `science-of-compost.html`
- [Troubleshooting](https://github.com/worldcomposting/world_composting/blob/main/troubleshoot.html): `troubleshoot.html`
- [Blog](https://github.com/worldcomposting/world_composting/blob/main/blog.html): `blog.html`
- [Blog Content Data](https://github.com/worldcomposting/world_composting/blob/main/src/data/blog.json): `src/data/blog.json`
- [Blog Page Generator](https://github.com/worldcomposting/world_composting/blob/main/scripts/generate_blog.py): `scripts/generate_blog.py`

### Site Runtime

- [Video Renderer](https://github.com/worldcomposting/world_composting/blob/main/src/js/video-renderer.js): `src/js/video-renderer.js`
- [Video Data](https://github.com/worldcomposting/world_composting/blob/main/src/data/videos.json): `src/data/videos.json`

### Other components

- **Visitor**

## Connections

- Visitor → Getting Started: opens
- Video Renderer → Video Data: loads (evidence: `src/js/video-renderer.js`)
- Blog Page Generator → Blog Content Data: reads (evidence: `scripts/generate_blog.py`)
- Blog Page Generator → Blog: generates (evidence: `scripts/generate_blog.py`)
