How sherazi5110/stream-goat works
Stream Goat is a multi-platform media player and organiser that starts without content sources; users add extensions, Stremio add-ons, or Live TV playlists, then discover and play or download media. Its runtime also covers profiles, metadata, subtitle and scrobbling integrations, library state, backup, and glitch reporting. The Android startup excerpt shows app initialization, plugin loading, download recovery, Stremio preinstallation, and backup startup; the Linux entry excerpt shows platform setup and UI launch. Many feature relationships below are documented in the README; unsampled internals are represented at their exact source paths without asserting unshown calls.
Main entry points: App.kt Android startup · Main.kt Linux entry · Engine.kt Content engine · PlayerController.kt Media player
Components 25
App and interface
- Android startup
android/app/src/main/java/io/github/sherazi5110/cloudstream/App.kt - Linux entry
app/src/main/kotlin/com/lagradost/cloudstream3/linux/Main.kt - App navigation
android/app/src/main/java/io/github/sherazi5110/cloudstream/ui/Nav.kt - Web player
webapp/app.js
Content sources
- Extension manager
app/src/main/kotlin/com/lagradost/cloudstream3/linux/PluginManager.kt - Repositories
app/src/main/kotlin/com/lagradost/cloudstream3/linux/Repositories.kt - Stremio add-ons
app/src/main/kotlin/com/lagradost/cloudstream3/linux/Stremio.kt - Live TV
app/src/main/kotlin/com/lagradost/cloudstream3/linux/LiveTv.kt - Content engine
android/app/src/main/java/io/github/sherazi5110/cloudstream/Engine.kt
Playback and downloads
- Media player
android/app/src/main/java/io/github/sherazi5110/cloudstream/player/PlayerController.kt - Downloads
app/src/main/kotlin/com/lagradost/cloudstream3/linux/Downloads.kt - Download service
android/app/src/main/java/io/github/sherazi5110/cloudstream/DownloadService.kt - Subtitle tools
app/src/main/kotlin/com/lagradost/cloudstream3/linux/SubtitleTranslator.kt
Library and services
- Library and history
app/src/main/kotlin/com/lagradost/cloudstream3/linux/Library.kt - Profiles
app/src/main/kotlin/com/lagradost/cloudstream3/linux/Profiles.kt - Metadata
app/src/main/kotlin/com/lagradost/cloudstream3/linux/Metadata.kt - Watch sync
app/src/main/kotlin/com/lagradost/cloudstream3/linux/WeTrakr.kt - Cloud backup
app/src/main/kotlin/com/lagradost/cloudstream3/linux/CloudBackup.kt - Settings
app/src/main/kotlin/com/lagradost/cloudstream3/linux/Settings.kt - Sync providers
app/src/main/kotlin/com/lagradost/cloudstream3/syncproviders/OfficialSync.kt
Platform support
- Persistent state
android/app/src/main/java/com/lagradost/cloudstream3/utils/DataStore.kt - Glitch reporting
android/app/src/main/java/io/github/sherazi5110/cloudstream/GlitchReport.kt - Crash reporting
android/app/src/main/java/io/github/sherazi5110/cloudstream/CrashReport.kt - Extension compatibility
app/src/main/kotlin/com/lagradost/cloudstream3/linux/DexTranslator.kt
Other components
- Viewer
Connections 26
- Viewer → Android startup: opens app
- Viewer → Linux entry: opens app
- Viewer → Web player: opens player
- Android startup → Extension manager: loads extensions
android/app/src/main/java/io/github/sherazi5110/cloudstream/App.kt - Android startup → Cloud backup: starts backup
android/app/src/main/java/io/github/sherazi5110/cloudstream/App.kt - Android startup → Downloads: recovers downloads
android/app/src/main/java/io/github/sherazi5110/cloudstream/App.kt - Android startup → Stremio add-ons: preinstalls add-ons
android/app/src/main/java/io/github/sherazi5110/cloudstream/App.kt - Linux entry → Extension manager: manages extensions
app/src/main/kotlin/com/lagradost/cloudstream3/linux/Main.kt - Viewer → App navigation: browses content
- App navigation → Content engine: requests titles
- Extension manager → Repositories: installs from
- Content engine → Media player: provides streams
android/app/src/main/java/io/github/sherazi5110/cloudstream/player/PlayerController.kt - Media player → Subtitle tools: translates subtitles
- Media player → Library and history: updates watch state
- Viewer → Live TV: adds playlists
- Viewer → Downloads: downloads media
- Download service → Downloads: tracks progress
android/app/src/main/java/io/github/sherazi5110/cloudstream/DownloadService.kt - Viewer → Profiles: selects profile
- Content engine → Metadata: enriches titles
- Library and history → Watch sync: scrobbles viewing
- Watch sync → Sync providers: uses providers
- Cloud backup → Persistent state: backs up data
- Settings → Persistent state: stores preferences
- Viewer → Glitch reporting: reports issue
- Android startup → Crash reporting: installs handler
android/app/src/main/java/io/github/sherazi5110/cloudstream/App.kt - Linux entry → Extension compatibility: checks compatibility
app/src/main/kotlin/com/lagradost/cloudstream3/linux/Main.kt