# gabriel2392/erosflashtool architecture

> Architecture diagram of the GitHub repository gabriel2392/erosflashtool, 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/gabriel2392/erosflashtool
- Repository: https://github.com/gabriel2392/erosflashtool

## Overview

This repository is a small promotional website for Eros, not the Android flasher implementation. The README describes the app’s firmware-selection, integrity-checking, flashing, and reboot capabilities, but those runtime stages are not implemented in the supplied tree. The visible site behavior is page-level interaction code plus a video-layout helper and Bootstrap components. The HTML and styling contents were not sampled, so links between the page and its assets are unverified.

Main entry points: [`js/script.js`](https://github.com/gabriel2392/erosflashtool/blob/main/js/script.js) (Page interactions), [`index.html`](https://github.com/gabriel2392/erosflashtool/blob/main/index.html) (Landing page), [`css/style.css`](https://github.com/gabriel2392/erosflashtool/blob/main/css/style.css) (Site styling), [`bootstrap/css/bootstrap.css`](https://github.com/gabriel2392/erosflashtool/blob/main/bootstrap/css/bootstrap.css) (Bootstrap styles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Promotional site"]
  node_landing["Landing page<br/>[index.html]"]
  node_site_styles["Site styling<br/>[style.css]"]
  node_framework_styles["Bootstrap styles<br/>[bootstrap.css]"]
  node_product_summary["Flasher capabilities<br/>[README.md]"]
  node_carousel_styles["Carousel styling<br/>[owl.carousel.css]"]
  node_popup_styles["Popup styling<br/>[magnific-popup.css]"]
  node_screenshots["Screenshot assets"]
end

subgraph group_ui["UI behavior"]
  node_page_interactions["Page interactions<br/>[script.js]"]
  node_video_layout["Video sizing<br/>[jquery.fitvids.js]"]
  node_bootstrap_widgets["Bootstrap widgets<br/>[bootstrap.js]"]
end

node_visitor(("Site visitor"))

node_visitor -.->|"opens"| node_landing
node_landing -.->|"uses styles"| node_site_styles
node_landing -.->|"uses styles"| node_framework_styles
node_landing -.->|"loads script"| node_page_interactions
node_page_interactions -->|"initializes videos"| node_video_layout
node_page_interactions -->|"opens gallery"| node_screenshots
node_page_interactions -.->|"configures carousel"| node_carousel_styles
node_page_interactions -.->|"configures popup"| node_popup_styles
node_page_interactions -.->|"uses widgets"| node_bootstrap_widgets
node_landing -.->|"describes product"| node_product_summary

click node_landing "https://github.com/gabriel2392/erosflashtool/blob/main/index.html"
click node_site_styles "https://github.com/gabriel2392/erosflashtool/blob/main/css/style.css"
click node_framework_styles "https://github.com/gabriel2392/erosflashtool/blob/main/bootstrap/css/bootstrap.css"
click node_product_summary "https://github.com/gabriel2392/erosflashtool/blob/main/README.md"
click node_page_interactions "https://github.com/gabriel2392/erosflashtool/blob/main/js/script.js"
click node_video_layout "https://github.com/gabriel2392/erosflashtool/blob/main/js/jquery.fitvids.js"
click node_bootstrap_widgets "https://github.com/gabriel2392/erosflashtool/blob/main/bootstrap/js/bootstrap.js"
click node_carousel_styles "https://github.com/gabriel2392/erosflashtool/blob/main/css/owl.carousel.css"
click node_popup_styles "https://github.com/gabriel2392/erosflashtool/blob/main/css/magnific-popup.css"
click node_screenshots "https://github.com/gabriel2392/erosflashtool/tree/main/img/screens"

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_landing,node_site_styles,node_framework_styles,node_product_summary,node_carousel_styles,node_popup_styles,node_screenshots toneBlue
class node_page_interactions,node_video_layout,node_bootstrap_widgets toneAmber
class node_visitor toneIndigo
```

## Components

### Promotional site

- [Landing page](https://github.com/gabriel2392/erosflashtool/blob/main/index.html): `index.html`
- [Site styling](https://github.com/gabriel2392/erosflashtool/blob/main/css/style.css): `css/style.css`
- [Bootstrap styles](https://github.com/gabriel2392/erosflashtool/blob/main/bootstrap/css/bootstrap.css): `bootstrap/css/bootstrap.css`
- [Flasher capabilities](https://github.com/gabriel2392/erosflashtool/blob/main/README.md): `README.md`
- [Carousel styling](https://github.com/gabriel2392/erosflashtool/blob/main/css/owl.carousel.css): `css/owl.carousel.css`
- [Popup styling](https://github.com/gabriel2392/erosflashtool/blob/main/css/magnific-popup.css): `css/magnific-popup.css`
- [Screenshot assets](https://github.com/gabriel2392/erosflashtool/tree/main/img/screens): `img/screens`

### UI behavior

- [Page interactions](https://github.com/gabriel2392/erosflashtool/blob/main/js/script.js): `js/script.js`
- [Video sizing](https://github.com/gabriel2392/erosflashtool/blob/main/js/jquery.fitvids.js): `js/jquery.fitvids.js`
- [Bootstrap widgets](https://github.com/gabriel2392/erosflashtool/blob/main/bootstrap/js/bootstrap.js): `bootstrap/js/bootstrap.js`

### Other components

- **Site visitor**

## Connections

- Site visitor → Landing page: opens
- Landing page → Site styling: uses styles
- Landing page → Bootstrap styles: uses styles
- Landing page → Page interactions: loads script
- Page interactions → Video sizing: initializes videos (evidence: `js/script.js`)
- Page interactions → Screenshot assets: opens gallery (evidence: `js/script.js`)
- Page interactions → Carousel styling: configures carousel
- Page interactions → Popup styling: configures popup
- Page interactions → Bootstrap widgets: uses widgets
- Landing page → Flasher capabilities: describes product
