How wiojelt/cloudstream-builder works
The supplied tree exposes the extractor runtime of CloudStream Builder, rather than its site-discovery, Kotlin-provider generation, or packaging workflow. The main visible path is a CloudStream extractor request routed through the registry and per-host extraction, with fallback link discovery and adaptive-link validation. The README documents wider builder capabilities, but their implementation paths are not present here; unsampled extractor families are therefore represented as subsystem nodes without inferred call chains.
Main entry points: ExtractorRegistry.kt Provider registry · MasterLinkGenerator.kt Link generation · ExtractorFallback.kt Extractor fallback · M3u8MasterVerifier.kt HLS master verification
Components 16
Extractor registry
- Provider registry
cloudstream-builder/extractors/oce/kotlin/ExtractorRegistry.kt - Config registry
cloudstream-builder/extractors/oce/core/ExtractorConfigRegistry.kt - Extractor configs
cloudstream-builder/extractors/oce/core/ExtractorConfig.kt - JSON config parser
cloudstream-builder/extractors/oce/core/ExtractorConfigParser.kt
Extraction runtime
- Config-driven extraction
cloudstream-builder/extractors/oce/core/ConfigDrivenExtractor.kt - OCE host extractors
cloudstream-builder/extractors/oce/kotlin - Turkish host extractors
cloudstream-builder/extractors/turk - Extractor fallback
cloudstream-builder/extractors/oce/core/ExtractorFallback.kt
Link processing
- Media URL patterns
cloudstream-builder/extractors/oce/kotlin/CompiledRegexPatterns.kt - Link generation
cloudstream-builder/extractors/oce/kotlin/MasterLinkGenerator.kt - Header probing
cloudstream-builder/extractors/oce/kotlin/AdaptiveHeaderProbe.kt - HLS master verification
cloudstream-builder/extractors/oce/kotlin/M3u8MasterVerifier.kt - Adaptive quality selection
cloudstream-builder/extractors/oce/kotlin/AdaptiveQualityPicker.kt
Other components
- CloudStream caller
- Video host services
- CloudStream player
Connections 20
- CloudStream caller → Provider registry: requests extractor
- Provider registry → Config registry: loads configs
cloudstream-builder/extractors/oce/kotlin/ExtractorRegistry.kt - Provider registry → Config-driven extraction: builds configured
cloudstream-builder/extractors/oce/kotlin/ExtractorRegistry.kt - JSON config parser → Extractor configs: creates model
cloudstream-builder/extractors/oce/core/ExtractorConfigParser.kt - Config registry → JSON config parser: parses JSON
- Config-driven extraction → Link generation: generates links
cloudstream-builder/extractors/oce/core/ConfigDrivenExtractor.kt - Provider registry → OCE host extractors: registers providers
cloudstream-builder/extractors/oce/kotlin/ExtractorRegistry.kt - Provider registry → Turkish host extractors: registers providers
- OCE host extractors → Video host services: requests media
- Turkish host extractors → Video host services: requests media
- Extractor fallback → Provider registry: matches extractor
cloudstream-builder/extractors/oce/core/ExtractorFallback.kt - Extractor fallback → Link generation: builds direct links
cloudstream-builder/extractors/oce/core/ExtractorFallback.kt - Extractor fallback → Media URL patterns: scans response
cloudstream-builder/extractors/oce/core/ExtractorFallback.kt - Link generation → Header probing: probes headers
cloudstream-builder/extractors/oce/kotlin/MasterLinkGenerator.kt - Link generation → HLS master verification: verifies master
cloudstream-builder/extractors/oce/kotlin/MasterLinkGenerator.kt - Link generation → CloudStream player: emits links
- Header probing → Video host services: tests requests
cloudstream-builder/extractors/oce/kotlin/AdaptiveHeaderProbe.kt - HLS master verification → Video host services: fetches playlist
cloudstream-builder/extractors/oce/kotlin/M3u8MasterVerifier.kt - Adaptive quality selection → Video host services: probes variants
cloudstream-builder/extractors/oce/kotlin/AdaptiveQualityPicker.kt - HLS master verification → Adaptive quality selection: uses picker
cloudstream-builder/extractors/oce/kotlin/M3u8MasterVerifier.kt