# shorteditor/doraemon-movies architecture

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

- Interactive diagram: https://gitdiagram.com/shorteditor/doraemon-movies
- Repository: https://github.com/shorteditor/doraemon-movies

## Overview

This is a small browser-based Doraemon movie catalog. Visitors can browse movie cards, search by title, watch a selected movie in a modal player, or download it. The sampled script implements the catalog data, rendering, search, and player controls; it also constructs poster and Google Drive URLs. The HTML and CSS are present in the tree but were not sampled, so their detailed structure and wiring are not represented.

Main entry points: [`script.js`](https://github.com/shorteditor/doraemon-movies/blob/main/script.js) (Movie catalog and UI logic), [`index.html`](https://github.com/shorteditor/doraemon-movies/blob/main/index.html) (Catalog page), [`posters`](https://github.com/shorteditor/doraemon-movies/tree/main/posters) (Movie posters)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Catalog site"]
  node_page["Catalog page<br/>[index.html]"]
  node_styles["Page styling<br/>[style.css]"]
  node_catalog["Movie catalog and UI logic<br/>[script.js]"]
  node_posters["Movie posters"]
end

subgraph group_playback["Playback and downloads"]
  node_player["Modal player controls<br/>[script.js]"]
end

node_visitor(("Visitor"))
node_drive["Google Drive"]

node_visitor -.->|"opens"| node_page
node_catalog -->|"references"| node_posters
node_catalog -->|"links downloads"| node_drive
node_catalog -->|"opens selected movie"| node_player
node_player -->|"loads preview"| node_drive

click node_page "https://github.com/shorteditor/doraemon-movies/blob/main/index.html"
click node_styles "https://github.com/shorteditor/doraemon-movies/blob/main/style.css"
click node_catalog "https://github.com/shorteditor/doraemon-movies/blob/main/script.js"
click node_posters "https://github.com/shorteditor/doraemon-movies/tree/main/posters"
click node_player "https://github.com/shorteditor/doraemon-movies/blob/main/script.js"

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_page,node_styles,node_catalog,node_posters toneBlue
class node_player toneAmber
class node_visitor,node_drive toneIndigo
```

## Components

### Catalog site

- [Catalog page](https://github.com/shorteditor/doraemon-movies/blob/main/index.html): `index.html`
- [Page styling](https://github.com/shorteditor/doraemon-movies/blob/main/style.css): `style.css`
- [Movie catalog and UI logic](https://github.com/shorteditor/doraemon-movies/blob/main/script.js): `script.js`
- [Movie posters](https://github.com/shorteditor/doraemon-movies/tree/main/posters): `posters`

### Playback and downloads

- [Modal player controls](https://github.com/shorteditor/doraemon-movies/blob/main/script.js): `script.js`

### Other components

- **Visitor**
- **Google Drive**

## Connections

- Visitor → Catalog page: opens
- Movie catalog and UI logic → Movie posters: references (evidence: `script.js`)
- Movie catalog and UI logic → Google Drive: links downloads (evidence: `script.js`)
- Movie catalog and UI logic → Modal player controls: opens selected movie (evidence: `script.js`)
- Modal player controls → Google Drive: loads preview (evidence: `script.js`)
