# juodylive/juodylive-download architecture

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

- Interactive diagram: https://gitdiagram.com/juodylive/juodylive-download
- Repository: https://github.com/juodylive/juodylive-download

## Overview

This repository is a small static website for a live-streaming and voice-room app. Its user-facing surface consists of a landing page and separate agent, recharge, feedback, contact, and privacy pages. The sampled JavaScript implements Arabic/English language switching, including saved preference handling and updates to document text and direction. The tree identifies shared CSS and assets, but their use by individual pages is not shown; the README is empty, and HTML excerpts were not provided, so page links and script loading cannot be verified.

Main entry points: [`js/main.js`](https://github.com/juodylive/juodylive-download/blob/main/js/main.js) (Language switching), [`index.html`](https://github.com/juodylive/juodylive-download/blob/main/index.html) (Landing page), [`agents.html`](https://github.com/juodylive/juodylive-download/blob/main/agents.html) (Agent information), [`recharge.html`](https://github.com/juodylive/juodylive-download/blob/main/recharge.html) (Recharge page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_public["Public site"]
  node_home["Landing page<br/>[index.html]"]
  node_agents["Agent information<br/>[agents.html]"]
  node_styles["Shared stylesheet<br/>[style.css]"]
  node_assets["Site assets"]
end

subgraph group_support["Service pages"]
  node_recharge["Recharge page<br/>[recharge.html]"]
  node_feedback["Feedback page<br/>[feedback.html]"]
  node_contact["Contact page<br/>[contact.html]"]
  node_privacy["Privacy policy"]
end

subgraph group_runtime["Browser behavior"]
  node_language["Language switching<br/>[main.js]"]
end

node_visitor(("Visitor"))
node_document["Browser document"]
node_storage[("Local storage")]

node_visitor -.->|"opens"| node_home
node_visitor -.->|"opens"| node_agents
node_visitor -.->|"opens"| node_recharge
node_visitor -.->|"opens"| node_feedback
node_visitor -.->|"opens"| node_contact
node_visitor -.->|"opens"| node_privacy
node_language -->|"updates"| node_document
node_language -->|"reads and writes"| node_storage

click node_home "https://github.com/juodylive/juodylive-download/blob/main/index.html"
click node_agents "https://github.com/juodylive/juodylive-download/blob/main/agents.html"
click node_recharge "https://github.com/juodylive/juodylive-download/blob/main/recharge.html"
click node_feedback "https://github.com/juodylive/juodylive-download/blob/main/feedback.html"
click node_contact "https://github.com/juodylive/juodylive-download/blob/main/contact.html"
click node_privacy "https://github.com/juodylive/juodylive-download/blob/main/privacy-policy.html"
click node_language "https://github.com/juodylive/juodylive-download/blob/main/js/main.js"
click node_styles "https://github.com/juodylive/juodylive-download/blob/main/css/style.css"
click node_assets "https://github.com/juodylive/juodylive-download/tree/main/assets"

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_agents,node_styles,node_assets,node_document toneBlue
class node_recharge,node_feedback,node_contact,node_privacy,node_storage toneAmber
class node_language toneMint
class node_visitor toneIndigo
```

## Components

### Public site

- [Landing page](https://github.com/juodylive/juodylive-download/blob/main/index.html): `index.html`
- [Agent information](https://github.com/juodylive/juodylive-download/blob/main/agents.html): `agents.html`
- [Shared stylesheet](https://github.com/juodylive/juodylive-download/blob/main/css/style.css): `css/style.css`
- [Site assets](https://github.com/juodylive/juodylive-download/tree/main/assets): `assets`

### Service pages

- [Recharge page](https://github.com/juodylive/juodylive-download/blob/main/recharge.html): `recharge.html`
- [Feedback page](https://github.com/juodylive/juodylive-download/blob/main/feedback.html): `feedback.html`
- [Contact page](https://github.com/juodylive/juodylive-download/blob/main/contact.html): `contact.html`
- [Privacy policy](https://github.com/juodylive/juodylive-download/blob/main/privacy-policy.html): `privacy-policy.html`

### Browser behavior

- [Language switching](https://github.com/juodylive/juodylive-download/blob/main/js/main.js): `js/main.js`

### Other components

- **Visitor**
- **Browser document**
- **Local storage**

## Connections

- Visitor → Landing page: opens
- Visitor → Agent information: opens
- Visitor → Recharge page: opens
- Visitor → Feedback page: opens
- Visitor → Contact page: opens
- Visitor → Privacy policy: opens
- Language switching → Browser document: updates (evidence: `js/main.js`)
- Language switching → Local storage: reads and writes (evidence: `js/main.js`)
