# subbareddygowru/m-site architecture

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

- Interactive diagram: https://gitdiagram.com/subbareddygowru/m-site
- Repository: https://github.com/subbareddygowru/m-site

## Overview

PlaylistVerse is a static music-playlist discovery site. Visitors browse playlists organized by language and themes such as artists, singers, genres, moods, and eras; shared navigation and search help them find specific collections. The sampled client code also provides card filtering and offline access through a service worker. The README is empty, and most HTML pages were not sampled, so links between catalog sections are not asserted; edges below reflect only relationships visible in the excerpts.

Main entry points: [`js/include.js`](https://github.com/subbareddygowru/m-site/blob/main/js/include.js) (Page enhancements), [`service-worker.js`](https://github.com/subbareddygowru/m-site/blob/main/service-worker.js) (Offline cache), [`index.html`](https://github.com/subbareddygowru/m-site/blob/main/index.html) (Site home), [`includes/header.html`](https://github.com/subbareddygowru/m-site/blob/main/includes/header.html) (Shared navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalog["Playlist catalog"]
  node_home["Site home<br/>[index.html]"]
  node_english["English catalog"]
  node_hindi["Hindi catalog"]
  node_tamil["Tamil catalog"]
  node_telugu["Telugu catalog"]
  node_playlist_pages["Playlist pages"]
  node_filtering["Card filtering<br/>[script.js]"]
end

subgraph group_navigation["Navigation and search"]
  node_shared_nav["Shared navigation<br/>[header.html]"]
  node_shared_footer["Shared footer<br/>[footer.html]"]
  node_telugu_explore["Telugu exploration"]
  node_include_loader["Page enhancements<br/>[include.js]"]
  node_search_ui["Site search<br/>[include.js]"]
  node_search_data["Search catalog<br/>[search-index.json]"]
end

subgraph group_offline["Offline support"]
  node_pwa_manifest["PWA manifest<br/>[manifest.json]"]
  node_service_worker["Offline cache<br/>[service-worker.js]"]
  node_browser_cache[("Browser cache")]
end

node_visitor(("Music listener"))
node_site_resources["Site resources"]

node_visitor -->|"browses"| node_home
node_include_loader -->|"fetches"| node_shared_nav
node_include_loader -->|"fetches"| node_shared_footer
node_include_loader -->|"fetches"| node_telugu_explore
node_search_ui -->|"loads"| node_search_data
node_service_worker -->|"reads and writes"| node_browser_cache
node_service_worker -->|"fetches and caches"| node_site_resources
node_service_worker -->|"precaches"| node_pwa_manifest

click node_home "https://github.com/subbareddygowru/m-site/blob/main/index.html"
click node_english "https://github.com/subbareddygowru/m-site/tree/main/english"
click node_hindi "https://github.com/subbareddygowru/m-site/tree/main/hindi"
click node_tamil "https://github.com/subbareddygowru/m-site/tree/main/tamil"
click node_telugu "https://github.com/subbareddygowru/m-site/tree/main/telugu"
click node_playlist_pages "https://github.com/subbareddygowru/m-site/tree/main/telugu"
click node_filtering "https://github.com/subbareddygowru/m-site/blob/main/script.js"
click node_shared_nav "https://github.com/subbareddygowru/m-site/blob/main/includes/header.html"
click node_shared_footer "https://github.com/subbareddygowru/m-site/blob/main/includes/footer.html"
click node_telugu_explore "https://github.com/subbareddygowru/m-site/blob/main/includes/explore-telugu.html"
click node_include_loader "https://github.com/subbareddygowru/m-site/blob/main/js/include.js"
click node_search_ui "https://github.com/subbareddygowru/m-site/blob/main/js/include.js"
click node_search_data "https://github.com/subbareddygowru/m-site/blob/main/search-index.json"
click node_pwa_manifest "https://github.com/subbareddygowru/m-site/blob/main/manifest.json"
click node_service_worker "https://github.com/subbareddygowru/m-site/blob/main/service-worker.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_home,node_english,node_hindi,node_tamil,node_telugu,node_playlist_pages,node_filtering toneBlue
class node_shared_nav,node_shared_footer,node_telugu_explore,node_include_loader,node_search_ui,node_search_data toneAmber
class node_pwa_manifest,node_service_worker,node_browser_cache toneMint
class node_visitor,node_site_resources toneIndigo
```

## Components

### Playlist catalog

- [Site home](https://github.com/subbareddygowru/m-site/blob/main/index.html): `index.html`
- [English catalog](https://github.com/subbareddygowru/m-site/tree/main/english): `english`
- [Hindi catalog](https://github.com/subbareddygowru/m-site/tree/main/hindi): `hindi`
- [Tamil catalog](https://github.com/subbareddygowru/m-site/tree/main/tamil): `tamil`
- [Telugu catalog](https://github.com/subbareddygowru/m-site/tree/main/telugu): `telugu`
- [Playlist pages](https://github.com/subbareddygowru/m-site/tree/main/telugu): `telugu`
- [Card filtering](https://github.com/subbareddygowru/m-site/blob/main/script.js): `script.js`

### Navigation and search

- [Shared navigation](https://github.com/subbareddygowru/m-site/blob/main/includes/header.html): `includes/header.html`
- [Shared footer](https://github.com/subbareddygowru/m-site/blob/main/includes/footer.html): `includes/footer.html`
- [Telugu exploration](https://github.com/subbareddygowru/m-site/blob/main/includes/explore-telugu.html): `includes/explore-telugu.html`
- [Page enhancements](https://github.com/subbareddygowru/m-site/blob/main/js/include.js): `js/include.js`
- [Site search](https://github.com/subbareddygowru/m-site/blob/main/js/include.js): `js/include.js`
- [Search catalog](https://github.com/subbareddygowru/m-site/blob/main/search-index.json): `search-index.json`

### Offline support

- [PWA manifest](https://github.com/subbareddygowru/m-site/blob/main/manifest.json): `manifest.json`
- [Offline cache](https://github.com/subbareddygowru/m-site/blob/main/service-worker.js): `service-worker.js`
- **Browser cache**

### Other components

- **Music listener**
- **Site resources**

## Connections

- Music listener → Site home: browses
- Page enhancements → Shared navigation: fetches (evidence: `js/include.js`)
- Page enhancements → Shared footer: fetches (evidence: `js/include.js`)
- Page enhancements → Telugu exploration: fetches (evidence: `js/include.js`)
- Site search → Search catalog: loads (evidence: `js/include.js`)
- Offline cache → Browser cache: reads and writes (evidence: `service-worker.js`)
- Offline cache → Site resources: fetches and caches (evidence: `service-worker.js`)
- Offline cache → PWA manifest: precaches (evidence: `service-worker.js`)
