# jimmylv/awesome-nano-banana architecture

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

- Interactive diagram: https://gitdiagram.com/jimmylv/awesome-nano-banana
- Repository: https://github.com/jimmylv/awesome-nano-banana

## Overview

This repository is a curated gallery of Nano Banana image-generation and editing examples, with prompts, attribution, and a bilingual README generator. The main workflow is to collect case records, render them into case entries and a README in the selected language, and write the generated document. The README also presents model comparisons, prompting guidance, and tools information. Generator behavior is grounded in the sampled entry point; collection and model capabilities are documented in the README. The cases and templates are represented at their tree paths.

Main entry points: [`gen-tool/src/index.js`](https://github.com/jimmylv/awesome-nano-banana/blob/main/gen-tool/src/index.js) (README Generator), [`README.md`](https://github.com/jimmylv/awesome-nano-banana/blob/main/README.md) (Generated READMEs), [`cases`](https://github.com/jimmylv/awesome-nano-banana/tree/main/cases) (Case Records), [`gen-tool/src/i18n/lang.js`](https://github.com/jimmylv/awesome-nano-banana/blob/main/gen-tool/src/i18n/lang.js) (Language Labels)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_collection["Case Collection"]
  node_cases["Case Records"]
  node_attribution["Attribution Records"]
end

subgraph group_generation["README Generation"]
  node_generator["README Generator<br/>[index.js]"]
  node_language["Language Labels<br/>[lang.js]"]
  node_case_template["Case Template<br/>[case.md]"]
  node_readme_template["README Template<br/>[README.md.md]"]
  node_localized_content["Localized Sections"]
  node_readmes["Generated READMEs<br/>[README.md]"]
end

subgraph group_guidance["Model Guidance"]
  node_nano_banana["Nano Banana<br/>[README.md]"]
  node_gpt4o["GPT-4o<br/>[README.md]"]
  node_prompting["Prompting Tips"]
  node_tools["Tool Recommendations"]
end

node_reader(("Readers"))
node_contributors(("Contributors"))

node_contributors -->|"contribute examples"| node_cases
node_generator -->|"reads records"| node_cases
node_generator -->|"reads attribution"| node_attribution
node_generator -->|"loads labels"| node_language
node_generator -->|"renders entries"| node_case_template
node_generator -->|"renders document"| node_readme_template
node_generator -->|"loads sections"| node_localized_content
node_generator -->|"writes output"| node_readmes
node_reader -->|"reads collection"| node_readmes
node_readmes -->|"describes capabilities"| node_nano_banana
node_readmes -->|"compares model"| node_gpt4o
node_readmes -->|"presents guidance"| node_prompting
node_readmes -->|"presents recommendations"| node_tools

click node_cases "https://github.com/jimmylv/awesome-nano-banana/tree/main/cases"
click node_attribution "https://github.com/jimmylv/awesome-nano-banana/tree/main/cases"
click node_generator "https://github.com/jimmylv/awesome-nano-banana/blob/main/gen-tool/src/index.js"
click node_language "https://github.com/jimmylv/awesome-nano-banana/blob/main/gen-tool/src/i18n/lang.js"
click node_case_template "https://github.com/jimmylv/awesome-nano-banana/blob/main/gen-tool/templates/case.md"
click node_readme_template "https://github.com/jimmylv/awesome-nano-banana/blob/main/gen-tool/templates/README.md.md"
click node_localized_content "https://github.com/jimmylv/awesome-nano-banana/tree/main/gen-tool/templates"
click node_readmes "https://github.com/jimmylv/awesome-nano-banana/blob/main/README.md"
click node_nano_banana "https://github.com/jimmylv/awesome-nano-banana/blob/main/README.md"
click node_gpt4o "https://github.com/jimmylv/awesome-nano-banana/blob/main/README.md"
click node_prompting "https://github.com/jimmylv/awesome-nano-banana/tree/main/gen-tool/templates"
click node_tools "https://github.com/jimmylv/awesome-nano-banana/tree/main/gen-tool/templates"

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_cases,node_attribution toneBlue
class node_generator,node_language,node_case_template,node_readme_template,node_localized_content,node_readmes toneAmber
class node_nano_banana,node_gpt4o,node_prompting,node_tools toneMint
class node_reader,node_contributors toneIndigo
```

## Components

### Case Collection

- [Case Records](https://github.com/jimmylv/awesome-nano-banana/tree/main/cases): `cases`
- [Attribution Records](https://github.com/jimmylv/awesome-nano-banana/tree/main/cases): `cases`

### README Generation

- [README Generator](https://github.com/jimmylv/awesome-nano-banana/blob/main/gen-tool/src/index.js): `gen-tool/src/index.js`
- [Language Labels](https://github.com/jimmylv/awesome-nano-banana/blob/main/gen-tool/src/i18n/lang.js): `gen-tool/src/i18n/lang.js`
- [Case Template](https://github.com/jimmylv/awesome-nano-banana/blob/main/gen-tool/templates/case.md): `gen-tool/templates/case.md`
- [README Template](https://github.com/jimmylv/awesome-nano-banana/blob/main/gen-tool/templates/README.md.md): `gen-tool/templates/README.md.md`
- [Localized Sections](https://github.com/jimmylv/awesome-nano-banana/tree/main/gen-tool/templates): `gen-tool/templates`
- [Generated READMEs](https://github.com/jimmylv/awesome-nano-banana/blob/main/README.md): `README.md`

### Model Guidance

- [Nano Banana](https://github.com/jimmylv/awesome-nano-banana/blob/main/README.md): `README.md`
- [GPT-4o](https://github.com/jimmylv/awesome-nano-banana/blob/main/README.md): `README.md`
- [Prompting Tips](https://github.com/jimmylv/awesome-nano-banana/tree/main/gen-tool/templates): `gen-tool/templates`
- [Tool Recommendations](https://github.com/jimmylv/awesome-nano-banana/tree/main/gen-tool/templates): `gen-tool/templates`

### Other components

- **Readers**
- **Contributors**

## Connections

- Contributors → Case Records: contribute examples (evidence: `README.md`)
- README Generator → Case Records: reads records (evidence: `gen-tool/src/index.js`)
- README Generator → Attribution Records: reads attribution (evidence: `gen-tool/src/index.js`)
- README Generator → Language Labels: loads labels (evidence: `gen-tool/src/index.js`)
- README Generator → Case Template: renders entries (evidence: `gen-tool/src/index.js`)
- README Generator → README Template: renders document (evidence: `gen-tool/src/index.js`)
- README Generator → Localized Sections: loads sections (evidence: `gen-tool/src/index.js`)
- README Generator → Generated READMEs: writes output (evidence: `gen-tool/src/index.js`)
- Readers → Generated READMEs: reads collection (evidence: `README.md`)
- Generated READMEs → Nano Banana: describes capabilities (evidence: `README.md`)
- Generated READMEs → GPT-4o: compares model (evidence: `README.md`)
- Generated READMEs → Prompting Tips: presents guidance (evidence: `README.md`)
- Generated READMEs → Tool Recommendations: presents recommendations (evidence: `README.md`)
