# charguigou/charguigou.github.io architecture

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

- Interactive diagram: https://gitdiagram.com/charguigou/charguigou.github.io
- Repository: https://github.com/charguigou/charguigou.github.io

## Overview

This repository is a Jekyll-style archive of international dubbing for animated and remake films. Visitors can browse film-and-language cast pages and explore related artist, character, and language pages. The content is maintained in page files and data tables; two sampled generators prepare artist and character data, while another builds artist-to-dubbing-page lookup data. The tree shows shared template includes and dedicated listing pages, but their wiring was not sampled, so those relationships are shown as unverified. The README identifies the archive’s purpose but does not describe its implementation.

Main entry points: [`cast`](https://github.com/charguigou/charguigou.github.io/tree/main/cast) (Film cast pages), [`_scripts/build_appearances.py`](https://github.com/charguigou/charguigou.github.io/blob/main/_scripts/build_appearances.py) (Appearance lookup builder), [`artists`](https://github.com/charguigou/charguigou.github.io/tree/main/artists) (Artist records), [`_includes`](https://github.com/charguigou/charguigou.github.io/tree/main/_includes) (Shared templates)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_archive["Archive browsing"]
  node_home["Archive home<br/>[index.html]"]
  node_cast_pages["Film cast pages"]
  node_language_pages["Language pages"]
  node_cast_language["Language cast index"]
  node_cast_movie["Movie cast index"]
  node_artist_index["Artist index<br/>[voice-artists.html]"]
  node_character_index["Character index"]
end

subgraph group_records["Archive records"]
  node_artist_records["Artist records"]
  node_character_pages["Character pages"]
  node_artist_table["Artist spreadsheet<br/>[artists.xlsx]"]
  node_character_table["Character spreadsheet<br/>[characters.xlsx]"]
  node_character_data[("Character data<br/>[characters.yml]")]
  node_image_data["Image metadata<br/>[images.yml]"]
  node_appearance_data[("Appearance lookup")]
end

subgraph group_rendering["Page rendering"]
  node_artist_layout["Artist layout<br/>[artist.html]"]
  node_shared_includes["Shared templates"]
end

subgraph group_preparation["Data preparation"]
  node_artist_generator["Artist generator"]
  node_character_generator["Character generator"]
  node_appearance_builder["Appearance lookup builder"]
end

node_visitor(("Archive visitor"))

node_visitor -.->|"browses"| node_home
node_visitor -.->|"browses"| node_cast_pages
node_visitor -.->|"browses"| node_language_pages
node_visitor -.->|"browses"| node_artist_index
node_visitor -.->|"browses"| node_character_index
node_artist_generator -->|"reads"| node_artist_table
node_artist_generator -->|"generates"| node_artist_records
node_character_generator -->|"reads"| node_character_table
node_character_generator -->|"writes"| node_character_data
node_appearance_builder -->|"scans"| node_artist_records
node_appearance_builder -->|"scans"| node_cast_pages
node_appearance_builder -->|"writes"| node_appearance_data
node_artist_layout -.->|"renders"| node_artist_records
node_shared_includes -.->|"uses"| node_character_data
node_shared_includes -.->|"uses"| node_image_data
node_cast_language -.->|"indexes"| node_cast_pages
node_cast_movie -.->|"indexes"| node_cast_pages

click node_home "https://github.com/charguigou/charguigou.github.io/blob/main/index.html"
click node_cast_pages "https://github.com/charguigou/charguigou.github.io/tree/main/cast"
click node_language_pages "https://github.com/charguigou/charguigou.github.io/tree/main/languages"
click node_cast_language "https://github.com/charguigou/charguigou.github.io/blob/main/movie_cast_language.html"
click node_cast_movie "https://github.com/charguigou/charguigou.github.io/blob/main/movie_cast_movie.html"
click node_artist_index "https://github.com/charguigou/charguigou.github.io/blob/main/voice-artists.html"
click node_character_index "https://github.com/charguigou/charguigou.github.io/blob/main/character-voices.html"
click node_artist_records "https://github.com/charguigou/charguigou.github.io/tree/main/artists"
click node_character_pages "https://github.com/charguigou/charguigou.github.io/tree/main/characters"
click node_artist_table "https://github.com/charguigou/charguigou.github.io/blob/main/_data/artists.xlsx"
click node_character_table "https://github.com/charguigou/charguigou.github.io/blob/main/_data/characters.xlsx"
click node_character_data "https://github.com/charguigou/charguigou.github.io/blob/main/_data/characters.yml"
click node_image_data "https://github.com/charguigou/charguigou.github.io/blob/main/_data/images.yml"
click node_artist_layout "https://github.com/charguigou/charguigou.github.io/blob/main/_layouts/artist.html"
click node_shared_includes "https://github.com/charguigou/charguigou.github.io/tree/main/_includes"
click node_artist_generator "https://github.com/charguigou/charguigou.github.io/blob/main/_scripts/generate_artists.py"
click node_character_generator "https://github.com/charguigou/charguigou.github.io/blob/main/_scripts/generate_characters.py"
click node_appearance_builder "https://github.com/charguigou/charguigou.github.io/blob/main/_scripts/build_appearances.py"
click node_appearance_data "https://github.com/charguigou/charguigou.github.io/tree/main/_data"

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_home,node_cast_pages,node_language_pages,node_cast_language,node_cast_movie,node_artist_index,node_character_index toneBlue
class node_artist_records,node_character_pages,node_artist_table,node_character_table,node_character_data,node_image_data,node_appearance_data toneAmber
class node_artist_layout,node_shared_includes toneMint
class node_artist_generator,node_character_generator,node_appearance_builder toneRose
class node_visitor toneIndigo
```

## Components

### Archive browsing

- [Archive home](https://github.com/charguigou/charguigou.github.io/blob/main/index.html): `index.html`
- [Film cast pages](https://github.com/charguigou/charguigou.github.io/tree/main/cast): `cast`
- [Language pages](https://github.com/charguigou/charguigou.github.io/tree/main/languages): `languages`
- [Language cast index](https://github.com/charguigou/charguigou.github.io/blob/main/movie_cast_language.html): `movie_cast_language.html`
- [Movie cast index](https://github.com/charguigou/charguigou.github.io/blob/main/movie_cast_movie.html): `movie_cast_movie.html`
- [Artist index](https://github.com/charguigou/charguigou.github.io/blob/main/voice-artists.html): `voice-artists.html`
- [Character index](https://github.com/charguigou/charguigou.github.io/blob/main/character-voices.html): `character-voices.html`

### Archive records

- [Artist records](https://github.com/charguigou/charguigou.github.io/tree/main/artists): `artists`
- [Character pages](https://github.com/charguigou/charguigou.github.io/tree/main/characters): `characters`
- [Artist spreadsheet](https://github.com/charguigou/charguigou.github.io/blob/main/_data/artists.xlsx): `_data/artists.xlsx`
- [Character spreadsheet](https://github.com/charguigou/charguigou.github.io/blob/main/_data/characters.xlsx): `_data/characters.xlsx`
- [Character data](https://github.com/charguigou/charguigou.github.io/blob/main/_data/characters.yml): `_data/characters.yml`
- [Image metadata](https://github.com/charguigou/charguigou.github.io/blob/main/_data/images.yml): `_data/images.yml`
- [Appearance lookup](https://github.com/charguigou/charguigou.github.io/tree/main/_data): `_data`

### Page rendering

- [Artist layout](https://github.com/charguigou/charguigou.github.io/blob/main/_layouts/artist.html): `_layouts/artist.html`
- [Shared templates](https://github.com/charguigou/charguigou.github.io/tree/main/_includes): `_includes`

### Data preparation

- [Artist generator](https://github.com/charguigou/charguigou.github.io/blob/main/_scripts/generate_artists.py): `_scripts/generate_artists.py`
- [Character generator](https://github.com/charguigou/charguigou.github.io/blob/main/_scripts/generate_characters.py): `_scripts/generate_characters.py`
- [Appearance lookup builder](https://github.com/charguigou/charguigou.github.io/blob/main/_scripts/build_appearances.py): `_scripts/build_appearances.py`

### Other components

- **Archive visitor**

## Connections

- Archive visitor → Archive home: browses
- Archive visitor → Film cast pages: browses
- Archive visitor → Language pages: browses
- Archive visitor → Artist index: browses
- Archive visitor → Character index: browses
- Artist generator → Artist spreadsheet: reads (evidence: `_scripts/generate_artists.py`)
- Artist generator → Artist records: generates (evidence: `_scripts/generate_artists.py`)
- Character generator → Character spreadsheet: reads (evidence: `_scripts/generate_characters.py`)
- Character generator → Character data: writes (evidence: `_scripts/generate_characters.py`)
- Appearance lookup builder → Artist records: scans (evidence: `_scripts/build_appearances.py`)
- Appearance lookup builder → Film cast pages: scans (evidence: `_scripts/build_appearances.py`)
- Appearance lookup builder → Appearance lookup: writes (evidence: `_scripts/build_appearances.py`)
- Artist layout → Artist records: renders
- Shared templates → Character data: uses
- Shared templates → Image metadata: uses
- Language cast index → Film cast pages: indexes
- Movie cast index → Film cast pages: indexes
