# dhamarar/cloudrepo architecture

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

- Interactive diagram: https://gitdiagram.com/dhamarar/cloudrepo
- Repository: https://github.com/dhamarar/cloudrepo

## Overview

CloudX is a repository of CloudStream extensions for finding and playing video from multiple provider sites. The user-facing flow is to install an extension in CloudStream, browse or search a provider, load a title, then resolve playable streams. The tree shows many separate provider implementations rather than a shared application backend. The graph preserves the documented Cinejoy and Kisskh installation path and the source-indexed extractor, cipher, proxy, and settings helpers. Unsampled plugin registration and provider-to-CloudStream wiring are not asserted.

Main entry points: [`StreamCorner/src/main/kotlin/com/streamcorner/StreamCorner.kt`](https://github.com/dhamarar/cloudrepo/blob/main/StreamCorner/src/main/kotlin/com/streamcorner/StreamCorner.kt) (StreamCorner), [`Cinejoy/src/main/kotlin/com/cinejoy/Cinejoy.kt`](https://github.com/dhamarar/cloudrepo/blob/main/Cinejoy/src/main/kotlin/com/cinejoy/Cinejoy.kt) (Cinejoy), [`Kisskh/src/main/kotlin/com/kisskh/Kisskh.kt`](https://github.com/dhamarar/cloudrepo/blob/main/Kisskh/src/main/kotlin/com/kisskh/Kisskh.kt) (Kisskh), [`Indoav/src/main/kotlin/com/indoav/IndoavProxy.kt`](https://github.com/dhamarar/cloudrepo/blob/main/Indoav/src/main/kotlin/com/indoav/IndoavProxy.kt) (Indoav proxy)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_film["Film providers"]
  node_cinejoy["Cinejoy<br/>[Cinejoy.kt]"]
  node_kisskh["Kisskh<br/>[Kisskh.kt]"]
  node_dutamovie["Dutamovie<br/>[DutaMovie.kt]"]
  node_indomax["Indomax<br/>[Indomax.kt]"]
  node_nomat["Nomat<br/>[Nomat.kt]"]
  node_pusatfilm["Pusatfilm<br/>[Pusatfilm.kt]"]
  node_fpo["Fpo<br/>[Fpo.kt]"]
end

subgraph group_live["Live providers"]
  node_streamcorner["StreamCorner<br/>[StreamCorner.kt]"]
  node_timstreams["TimStreams<br/>[TimStreams.kt]"]
  node_ppv["Ppv<br/>[Ppv.kt]"]
  node_streamed["Streamed<br/>[Streamed.kt]"]
end

subgraph group_adult["Adult providers"]
  node_avtub["Avtub<br/>[Avtub.kt]"]
  node_eporner["EPorner<br/>[EPorner.kt]"]
  node_leakgallery["LeakGallery<br/>[LeakGallery.kt]"]
  node_pornhub["PornHub<br/>[PornHub.kt]"]
  node_watchporn["WatchPorn<br/>[WatchPorn.kt]"]
  node_pemersatu["Pemersatufun<br/>[Pemersatufun.kt]"]
  node_indoav["Indoav<br/>[Indoav.kt]"]
  node_virtuavixen["VirtuaVixen<br/>[VirtuaVixen.kt]"]
end

subgraph group_helpers["Playback helpers"]
  node_cinejoy_extract["Cinejoy resolver"]
  node_kisskh_helper["Kisskh helper<br/>[KisskhHelper.kt]"]
  node_watch_settings["WatchPorn settings"]
  node_pemersatu_extract["Pemersatu resolver"]
  node_indoav_proxy["Indoav proxy<br/>[IndoavProxy.kt]"]
  node_indoav_crypto["Indoav crypto<br/>[IndoavCrypto.kt]"]
  node_streamcorner_cipher["StreamCorner cipher"]
  node_streamcorner_extract["StreamCorner resolver"]
  node_timstreams_extract["TimStreams resolver"]
  node_ppv_extract["Ppv resolver<br/>[PpvExtractor.kt]"]
  node_virtuavixen_proxy["Vixen proxy"]
end

node_cloudstream(("CloudStream"))

node_cloudstream -->|"install extension"| node_cinejoy
node_cloudstream -->|"install extension"| node_kisskh
node_cinejoy -->|"resolves streams"| node_cinejoy_extract
node_kisskh -->|"gets token"| node_kisskh_helper
node_pemersatu -->|"gets stream"| node_pemersatu_extract
node_ppv -->|"resolves stream"| node_ppv_extract
node_streamcorner -->|"decrypts response"| node_streamcorner_cipher
node_streamcorner -->|"delegates resolution"| node_streamcorner_extract
node_timstreams -->|"extracts stream"| node_timstreams_extract
node_indoav -->|"uses proxy"| node_indoav_proxy
node_indoav_proxy -->|"uses crypto"| node_indoav_crypto
node_watchporn -->|"reads settings"| node_watch_settings
node_virtuavixen -->|"registers subtitles"| node_virtuavixen_proxy

click node_cinejoy "https://github.com/dhamarar/cloudrepo/blob/main/Cinejoy/src/main/kotlin/com/cinejoy/Cinejoy.kt"
click node_cinejoy_extract "https://github.com/dhamarar/cloudrepo/blob/main/Cinejoy/src/main/kotlin/com/cinejoy/CinejoyExtractor.kt"
click node_kisskh "https://github.com/dhamarar/cloudrepo/blob/main/Kisskh/src/main/kotlin/com/kisskh/Kisskh.kt"
click node_kisskh_helper "https://github.com/dhamarar/cloudrepo/blob/main/Kisskh/src/main/kotlin/com/kisskh/KisskhHelper.kt"
click node_dutamovie "https://github.com/dhamarar/cloudrepo/blob/main/Dutamovie/src/main/kotlin/com/Dutamovie/DutaMovie.kt"
click node_indomax "https://github.com/dhamarar/cloudrepo/blob/main/Indomax/src/main/kotlin/com/Indomax/Indomax.kt"
click node_nomat "https://github.com/dhamarar/cloudrepo/blob/main/Nomat/src/main/kotlin/com/Nomat/Nomat.kt"
click node_pusatfilm "https://github.com/dhamarar/cloudrepo/blob/main/Pusatfilm/src/main/kotlin/com/Pusatfilm/Pusatfilm.kt"
click node_fpo "https://github.com/dhamarar/cloudrepo/blob/main/Fpo/src/main/kotlin/com/fpo/Fpo.kt"
click node_avtub "https://github.com/dhamarar/cloudrepo/blob/main/Avtub/src/main/kotlin/com/avtub/Avtub.kt"
click node_eporner "https://github.com/dhamarar/cloudrepo/blob/main/EPorner/src/main/kotlin/com/byayzen/EPorner.kt"
click node_leakgallery "https://github.com/dhamarar/cloudrepo/blob/main/LeakGallery/src/main/kotlin/com/leakgallery/LeakGallery.kt"
click node_pornhub "https://github.com/dhamarar/cloudrepo/blob/main/PornHub/src/main/kotlin/com/kraptor/PornHub.kt"
click node_watchporn "https://github.com/dhamarar/cloudrepo/blob/main/WatchPorn/src/main/kotlin/com/kraptor/WatchPorn.kt"
click node_watch_settings "https://github.com/dhamarar/cloudrepo/blob/main/WatchPorn/src/main/kotlin/com/kraptor/WatchPornSettings.kt"
click node_pemersatu "https://github.com/dhamarar/cloudrepo/blob/main/Pemersatufun/src/main/kotlin/com/pemersatufun/Pemersatufun.kt"
click node_pemersatu_extract "https://github.com/dhamarar/cloudrepo/blob/main/Pemersatufun/src/main/kotlin/com/pemersatufun/PemersatufunExtractor.kt"
click node_indoav "https://github.com/dhamarar/cloudrepo/blob/main/Indoav/src/main/kotlin/com/indoav/Indoav.kt"
click node_indoav_proxy "https://github.com/dhamarar/cloudrepo/blob/main/Indoav/src/main/kotlin/com/indoav/IndoavProxy.kt"
click node_indoav_crypto "https://github.com/dhamarar/cloudrepo/blob/main/Indoav/src/main/kotlin/com/indoav/IndoavCrypto.kt"
click node_streamcorner "https://github.com/dhamarar/cloudrepo/blob/main/StreamCorner/src/main/kotlin/com/streamcorner/StreamCorner.kt"
click node_streamcorner_cipher "https://github.com/dhamarar/cloudrepo/blob/main/StreamCorner/src/main/kotlin/com/streamcorner/StreamCornerCipher.kt"
click node_streamcorner_extract "https://github.com/dhamarar/cloudrepo/blob/main/StreamCorner/src/main/kotlin/com/streamcorner/StreamCornerExtractor.kt"
click node_timstreams "https://github.com/dhamarar/cloudrepo/blob/main/TimStreams/src/main/kotlin/com/timstreams/TimStreams.kt"
click node_timstreams_extract "https://github.com/dhamarar/cloudrepo/blob/main/TimStreams/src/main/kotlin/com/timstreams/TimStreamsExtractor.kt"
click node_ppv "https://github.com/dhamarar/cloudrepo/blob/main/Ppv/src/main/kotlin/com/ppv/Ppv.kt"
click node_ppv_extract "https://github.com/dhamarar/cloudrepo/blob/main/Ppv/src/main/kotlin/com/ppv/PpvExtractor.kt"
click node_streamed "https://github.com/dhamarar/cloudrepo/blob/main/Streamed/src/main/kotlin/com/streamed/Streamed.kt"
click node_virtuavixen "https://github.com/dhamarar/cloudrepo/blob/main/VirtuaVixen/src/main/kotlin/com/virtuavixen/VirtuaVixen.kt"
click node_virtuavixen_proxy "https://github.com/dhamarar/cloudrepo/blob/main/VirtuaVixen/src/main/kotlin/com/virtuavixen/VirtuaVixenProxy.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_cinejoy,node_kisskh,node_dutamovie,node_indomax,node_nomat,node_pusatfilm,node_fpo toneBlue
class node_streamcorner,node_timstreams,node_ppv,node_streamed toneAmber
class node_avtub,node_eporner,node_leakgallery,node_pornhub,node_watchporn,node_pemersatu,node_indoav,node_virtuavixen toneMint
class node_cinejoy_extract,node_kisskh_helper,node_watch_settings,node_pemersatu_extract,node_indoav_proxy,node_indoav_crypto,node_streamcorner_cipher,node_streamcorner_extract,node_timstreams_extract,node_ppv_extract,node_virtuavixen_proxy toneRose
class node_cloudstream toneIndigo
```

## Components

### Film providers

- [Cinejoy](https://github.com/dhamarar/cloudrepo/blob/main/Cinejoy/src/main/kotlin/com/cinejoy/Cinejoy.kt): `Cinejoy/src/main/kotlin/com/cinejoy/Cinejoy.kt`
- [Kisskh](https://github.com/dhamarar/cloudrepo/blob/main/Kisskh/src/main/kotlin/com/kisskh/Kisskh.kt): `Kisskh/src/main/kotlin/com/kisskh/Kisskh.kt`
- [Dutamovie](https://github.com/dhamarar/cloudrepo/blob/main/Dutamovie/src/main/kotlin/com/Dutamovie/DutaMovie.kt): `Dutamovie/src/main/kotlin/com/Dutamovie/DutaMovie.kt`
- [Indomax](https://github.com/dhamarar/cloudrepo/blob/main/Indomax/src/main/kotlin/com/Indomax/Indomax.kt): `Indomax/src/main/kotlin/com/Indomax/Indomax.kt`
- [Nomat](https://github.com/dhamarar/cloudrepo/blob/main/Nomat/src/main/kotlin/com/Nomat/Nomat.kt): `Nomat/src/main/kotlin/com/Nomat/Nomat.kt`
- [Pusatfilm](https://github.com/dhamarar/cloudrepo/blob/main/Pusatfilm/src/main/kotlin/com/Pusatfilm/Pusatfilm.kt): `Pusatfilm/src/main/kotlin/com/Pusatfilm/Pusatfilm.kt`
- [Fpo](https://github.com/dhamarar/cloudrepo/blob/main/Fpo/src/main/kotlin/com/fpo/Fpo.kt): `Fpo/src/main/kotlin/com/fpo/Fpo.kt`

### Live providers

- [StreamCorner](https://github.com/dhamarar/cloudrepo/blob/main/StreamCorner/src/main/kotlin/com/streamcorner/StreamCorner.kt): `StreamCorner/src/main/kotlin/com/streamcorner/StreamCorner.kt`
- [TimStreams](https://github.com/dhamarar/cloudrepo/blob/main/TimStreams/src/main/kotlin/com/timstreams/TimStreams.kt): `TimStreams/src/main/kotlin/com/timstreams/TimStreams.kt`
- [Ppv](https://github.com/dhamarar/cloudrepo/blob/main/Ppv/src/main/kotlin/com/ppv/Ppv.kt): `Ppv/src/main/kotlin/com/ppv/Ppv.kt`
- [Streamed](https://github.com/dhamarar/cloudrepo/blob/main/Streamed/src/main/kotlin/com/streamed/Streamed.kt): `Streamed/src/main/kotlin/com/streamed/Streamed.kt`

### Adult providers

- [Avtub](https://github.com/dhamarar/cloudrepo/blob/main/Avtub/src/main/kotlin/com/avtub/Avtub.kt): `Avtub/src/main/kotlin/com/avtub/Avtub.kt`
- [EPorner](https://github.com/dhamarar/cloudrepo/blob/main/EPorner/src/main/kotlin/com/byayzen/EPorner.kt): `EPorner/src/main/kotlin/com/byayzen/EPorner.kt`
- [LeakGallery](https://github.com/dhamarar/cloudrepo/blob/main/LeakGallery/src/main/kotlin/com/leakgallery/LeakGallery.kt): `LeakGallery/src/main/kotlin/com/leakgallery/LeakGallery.kt`
- [PornHub](https://github.com/dhamarar/cloudrepo/blob/main/PornHub/src/main/kotlin/com/kraptor/PornHub.kt): `PornHub/src/main/kotlin/com/kraptor/PornHub.kt`
- [WatchPorn](https://github.com/dhamarar/cloudrepo/blob/main/WatchPorn/src/main/kotlin/com/kraptor/WatchPorn.kt): `WatchPorn/src/main/kotlin/com/kraptor/WatchPorn.kt`
- [Pemersatufun](https://github.com/dhamarar/cloudrepo/blob/main/Pemersatufun/src/main/kotlin/com/pemersatufun/Pemersatufun.kt): `Pemersatufun/src/main/kotlin/com/pemersatufun/Pemersatufun.kt`
- [Indoav](https://github.com/dhamarar/cloudrepo/blob/main/Indoav/src/main/kotlin/com/indoav/Indoav.kt): `Indoav/src/main/kotlin/com/indoav/Indoav.kt`
- [VirtuaVixen](https://github.com/dhamarar/cloudrepo/blob/main/VirtuaVixen/src/main/kotlin/com/virtuavixen/VirtuaVixen.kt): `VirtuaVixen/src/main/kotlin/com/virtuavixen/VirtuaVixen.kt`

### Playback helpers

- [Cinejoy resolver](https://github.com/dhamarar/cloudrepo/blob/main/Cinejoy/src/main/kotlin/com/cinejoy/CinejoyExtractor.kt): `Cinejoy/src/main/kotlin/com/cinejoy/CinejoyExtractor.kt`
- [Kisskh helper](https://github.com/dhamarar/cloudrepo/blob/main/Kisskh/src/main/kotlin/com/kisskh/KisskhHelper.kt): `Kisskh/src/main/kotlin/com/kisskh/KisskhHelper.kt`
- [WatchPorn settings](https://github.com/dhamarar/cloudrepo/blob/main/WatchPorn/src/main/kotlin/com/kraptor/WatchPornSettings.kt): `WatchPorn/src/main/kotlin/com/kraptor/WatchPornSettings.kt`
- [Pemersatu resolver](https://github.com/dhamarar/cloudrepo/blob/main/Pemersatufun/src/main/kotlin/com/pemersatufun/PemersatufunExtractor.kt): `Pemersatufun/src/main/kotlin/com/pemersatufun/PemersatufunExtractor.kt`
- [Indoav proxy](https://github.com/dhamarar/cloudrepo/blob/main/Indoav/src/main/kotlin/com/indoav/IndoavProxy.kt): `Indoav/src/main/kotlin/com/indoav/IndoavProxy.kt`
- [Indoav crypto](https://github.com/dhamarar/cloudrepo/blob/main/Indoav/src/main/kotlin/com/indoav/IndoavCrypto.kt): `Indoav/src/main/kotlin/com/indoav/IndoavCrypto.kt`
- [StreamCorner cipher](https://github.com/dhamarar/cloudrepo/blob/main/StreamCorner/src/main/kotlin/com/streamcorner/StreamCornerCipher.kt): `StreamCorner/src/main/kotlin/com/streamcorner/StreamCornerCipher.kt`
- [StreamCorner resolver](https://github.com/dhamarar/cloudrepo/blob/main/StreamCorner/src/main/kotlin/com/streamcorner/StreamCornerExtractor.kt): `StreamCorner/src/main/kotlin/com/streamcorner/StreamCornerExtractor.kt`
- [TimStreams resolver](https://github.com/dhamarar/cloudrepo/blob/main/TimStreams/src/main/kotlin/com/timstreams/TimStreamsExtractor.kt): `TimStreams/src/main/kotlin/com/timstreams/TimStreamsExtractor.kt`
- [Ppv resolver](https://github.com/dhamarar/cloudrepo/blob/main/Ppv/src/main/kotlin/com/ppv/PpvExtractor.kt): `Ppv/src/main/kotlin/com/ppv/PpvExtractor.kt`
- [Vixen proxy](https://github.com/dhamarar/cloudrepo/blob/main/VirtuaVixen/src/main/kotlin/com/virtuavixen/VirtuaVixenProxy.kt): `VirtuaVixen/src/main/kotlin/com/virtuavixen/VirtuaVixenProxy.kt`

### Other components

- **CloudStream**

## Connections

- CloudStream → Cinejoy: install extension
- CloudStream → Kisskh: install extension
- Cinejoy → Cinejoy resolver: resolves streams (evidence: `Cinejoy/src/main/kotlin/com/cinejoy/Cinejoy.kt`)
- Kisskh → Kisskh helper: gets token (evidence: `Kisskh/src/main/kotlin/com/kisskh/Kisskh.kt`)
- Pemersatufun → Pemersatu resolver: gets stream (evidence: `Pemersatufun/src/main/kotlin/com/pemersatufun/Pemersatufun.kt`)
- Ppv → Ppv resolver: resolves stream (evidence: `Ppv/src/main/kotlin/com/ppv/Ppv.kt`)
- StreamCorner → StreamCorner cipher: decrypts response (evidence: `StreamCorner/src/main/kotlin/com/streamcorner/StreamCorner.kt`)
- StreamCorner → StreamCorner resolver: delegates resolution (evidence: `StreamCorner/src/main/kotlin/com/streamcorner/StreamCorner.kt`)
- TimStreams → TimStreams resolver: extracts stream (evidence: `TimStreams/src/main/kotlin/com/timstreams/TimStreams.kt`)
- Indoav → Indoav proxy: uses proxy (evidence: `Indoav/src/main/kotlin/com/indoav/Indoav.kt`)
- Indoav proxy → Indoav crypto: uses crypto (evidence: `Indoav/src/main/kotlin/com/indoav/IndoavProxy.kt`)
- WatchPorn → WatchPorn settings: reads settings (evidence: `WatchPorn/src/main/kotlin/com/kraptor/WatchPorn.kt`)
- VirtuaVixen → Vixen proxy: registers subtitles (evidence: `VirtuaVixen/src/main/kotlin/com/virtuavixen/VirtuaVixen.kt`)
