How snippe187/peaktv works
PeakTV is a tailored Android TV launcher plus companion casting receiver, phone remote, and Windows mirroring sender. The primary launcher workflow selects a profile, builds its app home, and exposes controls and settings; the cast workflow accepts an authenticated sender and presents incoming media. The graph retains documented cast media types, updates, profiles, and remote capabilities. Some links are supported only by README statements; unsampled implementation details are not inferred.
Main entry points: HomeActivity.kt Home screen · MainActivity.kt Phone remote · ControlCenterActivity.kt Control center · ReceiverActivity.kt Cast receiver
Components 28
TV Launcher
- Home screen
launcher/src/main/kotlin/de/peaktv/launcher/HomeActivity.kt - Profile picker
launcher/src/main/kotlin/de/peaktv/launcher/ProfileActivity.kt - Profiles
launcher/src/main/kotlin/de/peaktv/launcher/Profile.kt - Installed apps
launcher/src/main/kotlin/de/peaktv/launcher/AppRepo.kt - App grid
launcher/src/main/kotlin/de/peaktv/launcher/HomeGrid.kt - Home layout
launcher/src/main/kotlin/de/peaktv/launcher/Layout.kt - Edge dock
launcher/src/main/kotlin/de/peaktv/launcher/DockService.kt - Control center
launcher/src/main/kotlin/de/peaktv/launcher/ControlCenterActivity.kt - Settings
launcher/src/main/kotlin/de/peaktv/launcher/SettingsActivity.kt - Preferences
launcher/src/main/kotlin/de/peaktv/launcher/Prefs.kt - Weather
launcher/src/main/kotlin/de/peaktv/launcher/Weather.kt - Network client
launcher/src/main/kotlin/de/peaktv/launcher/Net.kt - Release updater
launcher/src/main/kotlin/de/peaktv/launcher/Updater.kt - Standby policy
launcher/src/main/kotlin/de/peaktv/launcher/Standby.kt - Performance overlay
launcher/src/main/kotlin/de/peaktv/launcher/PerfOverlayService.kt - Root key input
launcher/src/main/kotlin/de/peaktv/launcher/RootKeys.kt
Casting
- Cast receiver
cast/src/main/kotlin/de/peaktv/cast/ReceiverActivity.kt - Cast listener
cast/src/main/kotlin/de/peaktv/cast/CastService.kt - Receiver overview
cast/src/main/kotlin/de/peaktv/cast/Overview.kt - Media sharing
cast/src/main/kotlin/de/peaktv/cast/Share.kt - Photo viewer
cast/src/main/kotlin/de/peaktv/cast/PhotoActivity.kt
Remote Control
- Phone remote
remote/src/main/kotlin/de/peaktv/remote/MainActivity.kt - Remote connection
remote/src/main/kotlin/de/peaktv/remote/Conn.kt - Remote sharing
remote/src/main/kotlin/de/peaktv/remote/ShareClient.kt
PC Sender
- Windows sender
pc/PeakTVCast.cs
Other components
- TV user
- FFmpeg
- Phone user
Connections 32
- TV user → Profile picker: chooses profile
launcher/src/main/kotlin/de/peaktv/launcher/ProfileActivity.kt - Profile picker → Profiles: selects and saves
launcher/src/main/kotlin/de/peaktv/launcher/ProfileActivity.kt - Profile picker → Home screen: opens home
launcher/src/main/kotlin/de/peaktv/launcher/ProfileActivity.kt - Home screen → Profiles: loads profile
launcher/src/main/kotlin/de/peaktv/launcher/HomeActivity.kt - Home screen → Installed apps: loads apps
launcher/src/main/kotlin/de/peaktv/launcher/HomeActivity.kt - Home screen → App grid: builds grid
launcher/src/main/kotlin/de/peaktv/launcher/HomeActivity.kt - App grid → Home layout: uses layout
launcher/src/main/kotlin/de/peaktv/launcher/HomeGrid.kt - Home screen → Weather: refreshes weather
launcher/src/main/kotlin/de/peaktv/launcher/HomeActivity.kt - Weather → Network client: fetches data
launcher/src/main/kotlin/de/peaktv/launcher/Weather.kt - Home screen → Edge dock: starts dock
launcher/src/main/kotlin/de/peaktv/launcher/HomeActivity.kt - Edge dock → Control center: opens controls
launcher/src/main/kotlin/de/peaktv/launcher/DockService.kt - Control center → Settings: opens settings
launcher/src/main/kotlin/de/peaktv/launcher/ControlCenterActivity.kt - Settings → Preferences: updates preferences
launcher/src/main/kotlin/de/peaktv/launcher/SettingsActivity.kt - Settings → Release updater: invokes updater
launcher/src/main/kotlin/de/peaktv/launcher/SettingsActivity.kt - Release updater → Preferences: reads configuration
launcher/src/main/kotlin/de/peaktv/launcher/Updater.kt - Release updater → Network client: checks releases
launcher/src/main/kotlin/de/peaktv/launcher/Updater.kt - Control center → Standby policy: requests standby
launcher/src/main/kotlin/de/peaktv/launcher/ControlCenterActivity.kt - Standby policy → Preferences: reads timeout
launcher/src/main/kotlin/de/peaktv/launcher/Standby.kt - Home screen → Performance overlay: syncs overlay
launcher/src/main/kotlin/de/peaktv/launcher/HomeActivity.kt - Performance overlay → Preferences: checks enabled
launcher/src/main/kotlin/de/peaktv/launcher/PerfOverlayService.kt - Control center → Root key input: dispatches key
launcher/src/main/kotlin/de/peaktv/launcher/ControlCenterActivity.kt - Cast listener → Cast receiver: opens on sender
cast/src/main/kotlin/de/peaktv/cast/CastService.kt - Cast receiver → Cast listener: starts listener
cast/src/main/kotlin/de/peaktv/cast/ReceiverActivity.kt - Cast receiver → Receiver overview: shows overview
cast/src/main/kotlin/de/peaktv/cast/ReceiverActivity.kt - Media sharing → Photo viewer: opens photos
cast/src/main/kotlin/de/peaktv/cast/Share.kt - Windows sender → Cast receiver: streams media
README.md - Windows sender → FFmpeg: uses encoder
README.md - Phone user → Phone remote: controls box
README.md - Phone remote → Remote connection: uses connection
remote/src/main/kotlin/de/peaktv/remote/MainActivity.kt - Phone remote → Remote sharing: shares media
remote/src/main/kotlin/de/peaktv/remote/MainActivity.kt - Phone remote → Standby policy: requests standby
remote/src/main/kotlin/de/peaktv/remote/MainActivity.kt - Phone remote → Media sharing: shares to receiver
README.md