# saurabhkaperwan/csx architecture

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

- Interactive diagram: https://gitdiagram.com/saurabhkaperwan/csx
- Repository: https://github.com/saurabhkaperwan/csx

## Overview

1. This repository is a multi-module Kotlin/Android plugin collection, not a single app. Each top-level folder is its own Gradle module with an `AndroidManifest.xml` and a small set of Kotlin classes, which strongly suggests independent CloudStream-style extensions/providers.

2. The root build files (`build.gradle.kts`, `settings.gradle.kts`, Gradle wrapper, GitHub Actions workflow) provide shared build orchestration. The actual runtime logic lives inside each module; there is no central application backend in the repo.

3. The dominant architectural pattern is: a module entrypoint plugin class plus one or more provider classes. Examples include `Bollyflix.kt` + `BollyflixProvider.kt`, `MoviesDrive.kt` + `MoviesDriveProvider.kt`, `VegaMovies.kt` + `VegaMoviesProvider.kt`, and `NetflixMirrorPlugin.kt` + platform-specific providers. The entrypoint appears to register the extension with the host app.

4. Most modules are source scrapers / stream resolvers. Files like `Extractors.kt`, `CineStreamExtractors.kt`, `Utils.kt`, and `CineStreamParser.kt` indicate a pipeline that fetches remote pages/APIs, parses site-specific payloads, and turns them into playable sources.

5. Several modules are thin wrappers around a single content site:
   - `Bollyflix`, `MoviesDrive`, `Moviesmod`, `VegaMovies`, and `OnlineMoviesHinditProvider`
   - each keeps its logic localized to site-specific provider and extractor classes
   - some modules expose multiple provider variants, which suggests support for multiple mirrors/domains or branded aliases.

6. `CineStream` is the most architected module. It includes a `ProviderRegistry`, `ApiConstants`, separate providers for different metadata/source systems (`CineTmdbProvider`, `CineSimklProvider`, `CineStreamProvider`), a parser, utilities, and a `settings` package. That points to a composition layer that can switch between providers and drive behavior via user configuration.

7. `CineStream` also has an explicit settings subsystem (`Settings.kt`, `SettingsDialog.kt`, `SettingsProviders.kt`, `SettingsTheme.kt`, `SettingsWidgets.kt`). This is the only module with a dedicated UI/configuration layer, so it likely exposes runtime options such as provider selection, theme, or scraping preferences.

8. `NetflixMirrorProvider` is the richest domain model in the repo. It contains multiple service-specific providers (`NetflixProvider`, `PrimeVideoProvider`, `JioHotstarProvider`), a plugin entrypoint, storage (`NetflixMirrorStorage.kt`), and a large `entities` package. Those entities model the stream domain end-to-end: search, playlists, seasons, episodes, posts, sources, tracks, and metadata.

9. The `NetflixMirrorProvider/entities` package is an important boundary: it separates remote/API response shapes from the rest of the plugin logic. That suggests a flow of remote fetch → parse/normalize → entity objects → playback/search presentation.

10. `GDIndex` is structurally simpler and uses a different package root (`com.horis.cloudstreamplugins` instead of `com.megix`), implying it is another independent extension with its own maintainer/history rather than a shared library.

11. Across the repo, the external dependencies are not internal services but third-party websites and APIs. The code is organized around accessing remote catalog pages, extracting video links, and in some cases enriching metadata via external services like TMDb and Simkl.

12. There is no evidence of a shared server, database, or cross-module runtime dependency graph. The main boundaries are per-module plugin boundaries, with each module owning its own scraping logic, parsing, and any optional settings or local storage.

13. For an architecture diagram, the highest-value view is: host app → plugin module entrypoint → provider/parser/extractor chain → external streaming site/API. `CineStream` and `NetflixMirrorProvider` add side branches for configuration, registry, metadata services, and local storage, while the rest are mostly straight-through scrapers.

14. The README and licensing files emphasize that these are client-side extensions and the project is distributed under GPLv3. Operationally, the repo’s CI likely just builds the Gradle modules and publishes artifacts; there is no deployed runtime service to diagram.

Main entry points: [`NetflixMirrorProvider/src/main/kotlin/com/horis/cloudstreamplugins/NetflixProvider.kt`](https://github.com/saurabhkaperwan/csx/blob/master/NetflixMirrorProvider/src/main/kotlin/com/horis/cloudstreamplugins/NetflixProvider.kt) (Service Providers), [`CineStream/src/main/kotlin/com/megix/ProviderRegistry.kt`](https://github.com/saurabhkaperwan/csx/blob/master/CineStream/src/main/kotlin/com/megix/ProviderRegistry.kt) (Provider Registry), [`CineStream/src/main/kotlin/com/megix/CineStream.kt`](https://github.com/saurabhkaperwan/csx/blob/master/CineStream/src/main/kotlin/com/megix/CineStream.kt) (CineStream), [`Bollyflix/src/main/kotlin/com/megix/Bollyflix.kt`](https://github.com/saurabhkaperwan/csx/blob/master/Bollyflix/src/main/kotlin/com/megix/Bollyflix.kt) (Bollyflix)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_build["Build & Host"]
  node_host_app(("Host App<br/>external runtime"))
  node_root_build["Gradle Build<br/>build orchestration<br/>[build.gradle.kts]"]
end

subgraph group_simple["Simple Extensions"]
  node_bollyflix_plugin["Bollyflix<br/>plugin entrypoint<br/>[Bollyflix.kt]"]
  node_bollyflix_provider["Bollyflix Provider<br/>site provider"]
  node_bollyflix_extractors["Bollyflix Extractors<br/>extraction helpers<br/>[Extractors.kt]"]
  node_moviesdrive_plugin["MoviesDrive<br/>plugin entrypoint<br/>[MoviesDrive.kt]"]
  node_moviesdrive_provider["MoviesDrive Provider<br/>site provider"]
  node_moviesdrive_extractors["MoviesDrive Extractors<br/>extraction helpers<br/>[Extractors.kt]"]
  node_moviesmod_plugin["Moviesmod<br/>plugin entrypoint<br/>[Moviesmod.kt]"]
  node_moviesmod_provider["Moviesmod Provider<br/>site provider"]
  node_vga_plugin["VegaMovies<br/>plugin entrypoint<br/>[VegaMovies.kt]"]
  node_vga_provider["Vega Provider<br/>site providers"]
  node_online_plugin["OnlineMoviesHindi<br/>plugin entrypoint"]
  node_online_provider["Hindi Provider<br/>site provider"]
  node_gdindex_plugin["GDIndex<br/>plugin entrypoint<br/>[GDIndex.kt]"]
  node_gdindex_provider["GDIndex Provider<br/>[GDIndexProvider.kt]"]
end

subgraph group_cinestream["CineStream"]
  node_cine_plugin["CineStream<br/>plugin entrypoint<br/>[CineStream.kt]"]
  node_cine_registry["Provider Registry<br/>composition layer"]
  node_cine_providers["Cine Providers<br/>metadata/source providers"]
  node_cine_parser["Cine Parser<br/>parser/extractors"]
  node_cine_settings["Settings UI<br/>configuration layer<br/>[Settings.kt]"]
end

subgraph group_netflixmirror["NetflixMirrorProvider"]
  node_netflix_plugin["NetflixMirror<br/>plugin entrypoint"]
  node_netflix_services["Service Providers<br/>stream providers<br/>[NetflixProvider.kt]"]
  node_netflix_entities["Domain Entities<br/>data model<br/>[SearchData.kt]"]
  node_netflix_storage[("Local Storage<br/>state storage")]
end

node_root_build -->|"builds plugins for"| node_host_app
node_host_app -->|"loads"| node_bollyflix_plugin
node_bollyflix_plugin -->|"registers"| node_bollyflix_provider
node_bollyflix_provider -->|"uses"| node_bollyflix_extractors
node_bollyflix_extractors -.->|"fetches from"| node_host_app
node_host_app -->|"loads"| node_moviesdrive_plugin
node_moviesdrive_plugin -->|"registers"| node_moviesdrive_provider
node_moviesdrive_provider -->|"uses"| node_moviesdrive_extractors
node_moviesdrive_extractors -.->|"fetches from"| node_host_app
node_host_app -->|"loads"| node_moviesmod_plugin
node_moviesmod_plugin -->|"registers"| node_moviesmod_provider
node_moviesmod_provider -.->|"scrapes"| node_host_app
node_host_app -->|"loads"| node_vga_plugin
node_vga_plugin -->|"registers"| node_vga_provider
node_vga_provider -.->|"scrapes"| node_host_app
node_host_app -->|"loads"| node_online_plugin
node_online_plugin -->|"registers"| node_online_provider
node_online_provider -.->|"scrapes"| node_host_app
node_host_app -->|"loads"| node_gdindex_plugin
node_gdindex_plugin -->|"registers"| node_gdindex_provider
node_gdindex_provider -.->|"serves index"| node_host_app
node_host_app -->|"loads"| node_cine_plugin
node_cine_plugin -->|"initializes"| node_cine_registry
node_cine_registry -->|"routes to"| node_cine_providers
node_cine_registry -->|"parses via"| node_cine_parser
node_cine_plugin -->|"exposes"| node_cine_settings
node_cine_settings -->|"configures"| node_cine_registry
node_cine_providers -.->|"calls APIs"| node_host_app
node_cine_parser -.->|"scrapes"| node_host_app
node_host_app -->|"loads"| node_netflix_plugin
node_netflix_plugin -->|"registers"| node_netflix_services
node_netflix_services -->|"maps to"| node_netflix_entities
node_netflix_services -->|"persists"| node_netflix_storage
node_netflix_storage -->|"stores"| node_netflix_entities
node_netflix_services -.->|"queries services"| node_host_app

click node_root_build "https://github.com/saurabhkaperwan/csx/blob/master/build.gradle.kts"
click node_bollyflix_plugin "https://github.com/saurabhkaperwan/csx/blob/master/Bollyflix/src/main/kotlin/com/megix/Bollyflix.kt"
click node_bollyflix_provider "https://github.com/saurabhkaperwan/csx/blob/master/Bollyflix/src/main/kotlin/com/megix/BollyflixProvider.kt"
click node_bollyflix_extractors "https://github.com/saurabhkaperwan/csx/blob/master/Bollyflix/src/main/kotlin/com/megix/Extractors.kt"
click node_moviesdrive_plugin "https://github.com/saurabhkaperwan/csx/blob/master/MoviesDrive/src/main/kotlin/com/megix/MoviesDrive.kt"
click node_moviesdrive_provider "https://github.com/saurabhkaperwan/csx/blob/master/MoviesDrive/src/main/kotlin/com/megix/MoviesDriveProvider.kt"
click node_moviesdrive_extractors "https://github.com/saurabhkaperwan/csx/blob/master/MoviesDrive/src/main/kotlin/com/megix/Extractors.kt"
click node_moviesmod_plugin "https://github.com/saurabhkaperwan/csx/blob/master/Moviesmod/src/main/kotlin/com/megix/Moviesmod.kt"
click node_moviesmod_provider "https://github.com/saurabhkaperwan/csx/blob/master/Moviesmod/src/main/kotlin/com/megix/MoviesmodProvider.kt"
click node_vga_plugin "https://github.com/saurabhkaperwan/csx/blob/master/VegaMovies/src/main/kotlin/com/megix/VegaMovies.kt"
click node_vga_provider "https://github.com/saurabhkaperwan/csx/blob/master/VegaMovies/src/main/kotlin/com/megix/VegaMoviesProvider.kt"
click node_online_plugin "https://github.com/saurabhkaperwan/csx/blob/master/OnlineMoviesHinditProvider/src/main/kotlin/com/megix/OnlineMoviesHindiPlugin.kt"
click node_online_provider "https://github.com/saurabhkaperwan/csx/blob/master/OnlineMoviesHinditProvider/src/main/kotlin/com/megix/OnlineMoviesHindiProvider.kt"
click node_gdindex_plugin "https://github.com/saurabhkaperwan/csx/blob/master/GDIndex/src/main/kotlin/com/horis/cloudstreamplugins/GDIndex.kt"
click node_gdindex_provider "https://github.com/saurabhkaperwan/csx/blob/master/GDIndex/src/main/kotlin/com/horis/cloudstreamplugins/GDIndexProvider.kt"
click node_cine_plugin "https://github.com/saurabhkaperwan/csx/blob/master/CineStream/src/main/kotlin/com/megix/CineStream.kt"
click node_cine_registry "https://github.com/saurabhkaperwan/csx/blob/master/CineStream/src/main/kotlin/com/megix/ProviderRegistry.kt"
click node_cine_providers "https://github.com/saurabhkaperwan/csx/blob/master/CineStream/src/main/kotlin/com/megix/CineTmdbProvider.kt"
click node_cine_parser "https://github.com/saurabhkaperwan/csx/blob/master/CineStream/src/main/kotlin/com/megix/CineStreamParser.kt"
click node_cine_settings "https://github.com/saurabhkaperwan/csx/blob/master/CineStream/src/main/kotlin/com/megix/settings/Settings.kt"
click node_netflix_plugin "https://github.com/saurabhkaperwan/csx/blob/master/NetflixMirrorProvider/src/main/kotlin/com/horis/cloudstreamplugins/NetflixMirrorPlugin.kt"
click node_netflix_services "https://github.com/saurabhkaperwan/csx/blob/master/NetflixMirrorProvider/src/main/kotlin/com/horis/cloudstreamplugins/NetflixProvider.kt"
click node_netflix_entities "https://github.com/saurabhkaperwan/csx/blob/master/NetflixMirrorProvider/src/main/kotlin/com/horis/cloudstreamplugins/entities/SearchData.kt"
click node_netflix_storage "https://github.com/saurabhkaperwan/csx/blob/master/NetflixMirrorProvider/src/main/kotlin/com/horis/cloudstreamplugins/NetflixMirrorStorage.kt"

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_host_app,node_root_build toneBlue
class node_bollyflix_plugin,node_bollyflix_provider,node_bollyflix_extractors,node_moviesdrive_plugin,node_moviesdrive_provider,node_moviesdrive_extractors,node_moviesmod_plugin,node_moviesmod_provider,node_vga_plugin,node_vga_provider,node_online_plugin,node_online_provider,node_gdindex_plugin,node_gdindex_provider toneAmber
class node_cine_plugin,node_cine_registry,node_cine_providers,node_cine_parser,node_cine_settings toneMint
class node_netflix_plugin,node_netflix_services,node_netflix_entities,node_netflix_storage toneRose
```

## Components

### Build & Host

Root Gradle orchestration and the external CloudStream host boundary.

- **Host App**: external runtime · CloudStream-style host that loads extension plugins and consumes their providers.
- [Gradle Build](https://github.com/saurabhkaperwan/csx/blob/master/build.gradle.kts): build orchestration · Repository-level Gradle and CI setup for building the module collection. · `build.gradle.kts`

### Simple Extensions

Mostly straight-through plugin modules with site-specific provider/extractor chains.

- [Bollyflix](https://github.com/saurabhkaperwan/csx/blob/master/Bollyflix/src/main/kotlin/com/megix/Bollyflix.kt): plugin entrypoint · Module entrypoint that registers the Bollyflix extension. · `Bollyflix/src/main/kotlin/com/megix/Bollyflix.kt`
- [Bollyflix Provider](https://github.com/saurabhkaperwan/csx/blob/master/Bollyflix/src/main/kotlin/com/megix/BollyflixProvider.kt): site provider · Bollyflix scraping and source resolution logic. · `Bollyflix/src/main/kotlin/com/megix/BollyflixProvider.kt`
- [Bollyflix Extractors](https://github.com/saurabhkaperwan/csx/blob/master/Bollyflix/src/main/kotlin/com/megix/Extractors.kt): extraction helpers · Remote page and link extraction pipeline for Bollyflix. · `Bollyflix/src/main/kotlin/com/megix/Extractors.kt`
- [MoviesDrive](https://github.com/saurabhkaperwan/csx/blob/master/MoviesDrive/src/main/kotlin/com/megix/MoviesDrive.kt): plugin entrypoint · Module entrypoint for the MoviesDrive extension. · `MoviesDrive/src/main/kotlin/com/megix/MoviesDrive.kt`
- [MoviesDrive Provider](https://github.com/saurabhkaperwan/csx/blob/master/MoviesDrive/src/main/kotlin/com/megix/MoviesDriveProvider.kt): site provider · MoviesDrive catalog and stream lookup logic. · `MoviesDrive/src/main/kotlin/com/megix/MoviesDriveProvider.kt`
- [MoviesDrive Extractors](https://github.com/saurabhkaperwan/csx/blob/master/MoviesDrive/src/main/kotlin/com/megix/Extractors.kt): extraction helpers · MoviesDrive-specific parsing and source extraction. · `MoviesDrive/src/main/kotlin/com/megix/Extractors.kt`
- [Moviesmod](https://github.com/saurabhkaperwan/csx/blob/master/Moviesmod/src/main/kotlin/com/megix/Moviesmod.kt): plugin entrypoint · Module entrypoint for the Moviesmod extension. · `Moviesmod/src/main/kotlin/com/megix/Moviesmod.kt`
- [Moviesmod Provider](https://github.com/saurabhkaperwan/csx/blob/master/Moviesmod/src/main/kotlin/com/megix/MoviesmodProvider.kt): site provider · Primary Moviesmod provider implementation. · `Moviesmod/src/main/kotlin/com/megix/MoviesmodProvider.kt`
- [VegaMovies](https://github.com/saurabhkaperwan/csx/blob/master/VegaMovies/src/main/kotlin/com/megix/VegaMovies.kt): plugin entrypoint · Module entrypoint for the VegaMovies extension. · `VegaMovies/src/main/kotlin/com/megix/VegaMovies.kt`
- [Vega Provider](https://github.com/saurabhkaperwan/csx/blob/master/VegaMovies/src/main/kotlin/com/megix/VegaMoviesProvider.kt): site providers · VegaMovies provider layer and branded mirror variants. · `VegaMovies/src/main/kotlin/com/megix/VegaMoviesProvider.kt`
- [OnlineMoviesHindi](https://github.com/saurabhkaperwan/csx/blob/master/OnlineMoviesHinditProvider/src/main/kotlin/com/megix/OnlineMoviesHindiPlugin.kt): plugin entrypoint · Module entrypoint for the OnlineMoviesHindi extension. · `OnlineMoviesHinditProvider/src/main/kotlin/com/megix/OnlineMoviesHindiPlugin.kt`
- [Hindi Provider](https://github.com/saurabhkaperwan/csx/blob/master/OnlineMoviesHinditProvider/src/main/kotlin/com/megix/OnlineMoviesHindiProvider.kt): site provider · OnlineMoviesHindi scraping and content resolution logic. · `OnlineMoviesHinditProvider/src/main/kotlin/com/megix/OnlineMoviesHindiProvider.kt`
- [GDIndex](https://github.com/saurabhkaperwan/csx/blob/master/GDIndex/src/main/kotlin/com/horis/cloudstreamplugins/GDIndex.kt): plugin entrypoint · Independent extension module under a different package root. · `GDIndex/src/main/kotlin/com/horis/cloudstreamplugins/GDIndex.kt`
- [GDIndex Provider](https://github.com/saurabhkaperwan/csx/blob/master/GDIndex/src/main/kotlin/com/horis/cloudstreamplugins/GDIndexProvider.kt): index provider · Provider logic for GDIndex content access. · `GDIndex/src/main/kotlin/com/horis/cloudstreamplugins/GDIndexProvider.kt`

### CineStream

The most modular extension with registry, settings, parser, and multiple provider backends.

- [CineStream](https://github.com/saurabhkaperwan/csx/blob/master/CineStream/src/main/kotlin/com/megix/CineStream.kt): plugin entrypoint · Module entrypoint for the CineStream extension. · `CineStream/src/main/kotlin/com/megix/CineStream.kt`
- [Provider Registry](https://github.com/saurabhkaperwan/csx/blob/master/CineStream/src/main/kotlin/com/megix/ProviderRegistry.kt): composition layer · Coordinates selectable providers and runtime routing inside CineStream. · `CineStream/src/main/kotlin/com/megix/ProviderRegistry.kt`
- [Cine Providers](https://github.com/saurabhkaperwan/csx/blob/master/CineStream/src/main/kotlin/com/megix/CineTmdbProvider.kt): metadata/source providers · CineTmdbProvider, CineSimklProvider, and CineStreamProvider as interchangeable backends. · `CineStream/src/main/kotlin/com/megix/CineTmdbProvider.kt`
- [Cine Parser](https://github.com/saurabhkaperwan/csx/blob/master/CineStream/src/main/kotlin/com/megix/CineStreamParser.kt): parser/extractors · Parsing, utilities, and extractors for CineStream site and API payloads. · `CineStream/src/main/kotlin/com/megix/CineStreamParser.kt`
- [Settings UI](https://github.com/saurabhkaperwan/csx/blob/master/CineStream/src/main/kotlin/com/megix/settings/Settings.kt): configuration layer · Settings dialog, widgets, theme, and providers for runtime configuration. · `CineStream/src/main/kotlin/com/megix/settings/Settings.kt`

### NetflixMirrorProvider

Rich domain plugin with multiple service providers, persistent storage, and entity models.

- [NetflixMirror](https://github.com/saurabhkaperwan/csx/blob/master/NetflixMirrorProvider/src/main/kotlin/com/horis/cloudstreamplugins/NetflixMirrorPlugin.kt): plugin entrypoint · Entry module for the NetflixMirrorProvider extension. · `NetflixMirrorProvider/src/main/kotlin/com/horis/cloudstreamplugins/NetflixMirrorPlugin.kt`
- [Service Providers](https://github.com/saurabhkaperwan/csx/blob/master/NetflixMirrorProvider/src/main/kotlin/com/horis/cloudstreamplugins/NetflixProvider.kt): stream providers · Netflix, Prime Video, and JioHotstar provider implementations. · `NetflixMirrorProvider/src/main/kotlin/com/horis/cloudstreamplugins/NetflixProvider.kt`
- [Domain Entities](https://github.com/saurabhkaperwan/csx/blob/master/NetflixMirrorProvider/src/main/kotlin/com/horis/cloudstreamplugins/entities/SearchData.kt): data model · Search, playlist, episode, source, track, and metadata models. · `NetflixMirrorProvider/src/main/kotlin/com/horis/cloudstreamplugins/entities/SearchData.kt`
- [Local Storage](https://github.com/saurabhkaperwan/csx/blob/master/NetflixMirrorProvider/src/main/kotlin/com/horis/cloudstreamplugins/NetflixMirrorStorage.kt): state storage · Persistent plugin state and cached configuration/data. · `NetflixMirrorProvider/src/main/kotlin/com/horis/cloudstreamplugins/NetflixMirrorStorage.kt`

## Connections

- Gradle Build → Host App: builds plugins for · Gradle/CI produces the extension artifacts consumed by the host.
- Host App → Bollyflix: loads · Host discovers the Bollyflix plugin entrypoint.
- Bollyflix → Bollyflix Provider: registers · Entrypoint wires the provider into the host extension model.
- Bollyflix Provider → Bollyflix Extractors: uses · Provider delegates page/link extraction to helpers.
- Bollyflix Extractors → Host App: fetches from · Scraper pipeline reaches out to external streaming pages and sources.
- Host App → MoviesDrive: loads · Host discovers the MoviesDrive plugin entrypoint.
- MoviesDrive → MoviesDrive Provider: registers · Entrypoint wires the provider.
- MoviesDrive Provider → MoviesDrive Extractors: uses · Provider delegates extraction work.
- MoviesDrive Extractors → Host App: fetches from · External site scraping and source resolution.
- Host App → Moviesmod: loads · Host discovers the Moviesmod plugin entrypoint.
- Moviesmod → Moviesmod Provider: registers · Entrypoint wires the provider.
- Moviesmod Provider → Host App: scrapes · Straight-through content provider reaching remote catalog pages.
- Host App → VegaMovies: loads · Host discovers the VegaMovies plugin entrypoint.
- VegaMovies → Vega Provider: registers · Entrypoint wires site provider variants.
- Vega Provider → Host App: scrapes · Provider resolves mirrors and streaming sources from external sites.
- Host App → OnlineMoviesHindi: loads · Host discovers the OnlineMoviesHindi plugin entrypoint.
- OnlineMoviesHindi → Hindi Provider: registers · Entrypoint wires the Hindi provider.
- Hindi Provider → Host App: scrapes · Provider fetches and resolves external catalog/source pages.
- Host App → GDIndex: loads · Host discovers the GDIndex entrypoint.
- GDIndex → GDIndex Provider: registers · Entrypoint wires the index provider.
- GDIndex Provider → Host App: serves index · Provider exposes indexed remote content to the host.
- Host App → CineStream: loads · Host discovers the CineStream plugin entrypoint.
- CineStream → Provider Registry: initializes · Entrypoint sets up provider routing and selection.
- Provider Registry → Cine Providers: routes to · Registry switches between TMDb, Simkl, and CineStream backends.
- Provider Registry → Cine Parser: parses via · Registry-backed flows normalize payloads through parser/util layers.
- CineStream → Settings UI: exposes · Entrypoint exposes configuration UI and runtime options.
- Settings UI → Provider Registry: configures · Settings drive provider choice and behavior.
- Cine Providers → Host App: calls APIs · Backends query external metadata or site endpoints.
- Cine Parser → Host App: scrapes · Parser and extractors consume remote pages and responses.
- Host App → NetflixMirror: loads · Host discovers the NetflixMirror plugin entrypoint.
- NetflixMirror → Service Providers: registers · Entrypoint wires the service-specific providers.
- Service Providers → Domain Entities: maps to · Providers normalize remote responses into domain entities.
- Service Providers → Local Storage: persists · Providers and plugin state use local storage.
- Local Storage → Domain Entities: stores · Cached state follows the same domain model boundary.
- Service Providers → Host App: queries services · Providers fetch from external streaming catalogs and APIs.
