How piappstudio/biggboss works
Bigg Boss Tamil 7 Live Voting is a Compose Multiplatform app for browsing shows, episode details, contestant histories, voting information, trends, and charts. The main user flow starts at the shared app, loads the show list, opens a show, and fetches detail and trend data for its screens. Shared screens and view models sit above a repository that uses HTTP and local caching; platform entry points and native adapters support Android, desktop, and iOS. The README confirms home, contestant-list, and trending views. Some subsystem links are omitted where source was not sampled.
Main entry points: PiRepository.kt Pi repository · App.kt Shared app · HomeScreen.kt Show browser · ShowDetailScreen.kt Episode detail
Components 22
App entry
- Android launcher
androidApp/src/androidMain/kotlin/com/biggboss/MainActivity.kt - Desktop launcher
desktopApp/src/jvmMain/kotlin/main.kt - iOS launcher
iosApp/iosApp/ContentView.swift - Shared app
shared/src/commonMain/kotlin/App.kt
Show experience
- Show browser
shared/src/commonMain/kotlin/ui/home/HomeScreen.kt - Home state
shared/src/commonMain/kotlin/ui/home/HomeScreenModel.kt - Episode detail
shared/src/commonMain/kotlin/ui/detail/ShowDetailScreen.kt - Episode state
shared/src/commonMain/kotlin/ui/detail/ShowDetailModel.kt - Contestant detail
shared/src/commonMain/kotlin/ui/participant/ParticipantDetailScreen.kt - Trend charts
shared/src/commonMain/kotlin/ui/chart/ChartScreen.kt - Bar renderer
shared/src/commonMain/kotlin/ui/chart/RenderBarChart.kt - Voting options
shared/src/commonMain/kotlin/ui/participant/RenderVotingOption.kt - Performance graph
shared/src/commonMain/kotlin/ui/participant/RenderPerformanceGraph.kt
Data and models
- Pi repository
shared/src/commonMain/kotlin/network/PiRepository.kt - Show data models
shared/src/commonMain/kotlin/model/ShowDetail.kt - Show list model
shared/src/commonMain/kotlin/model/ShowList.kt - Voting model
shared/src/commonMain/kotlin/model/VotingOption.kt - API result states
shared/src/commonMain/kotlin/network/Resource.kt
Platform services
- Analytics contract
shared/src/commonMain/kotlin/analytics/AnalyticLogger.kt - Link launcher
shared/src/commonMain/kotlin/ui/native/LinkLauncher.kt - Platform cache
shared/src/commonMain/kotlin/ui/native/CacheUtil.kt
Other components
- Show data API
Connections 20
- Android launcher → Shared app: launches
- Desktop launcher → Shared app: launches
- iOS launcher → Shared app: hosts
- Shared app → Show browser: starts at
shared/src/commonMain/kotlin/App.kt - Show browser → Home state: loads state
shared/src/commonMain/kotlin/ui/home/HomeScreen.kt - Show browser → Episode detail: opens show
shared/src/commonMain/kotlin/ui/home/HomeScreen.kt - Home state → Pi repository: fetches shows
shared/src/commonMain/kotlin/ui/home/HomeScreenModel.kt - Episode detail → Episode state: requests episode data
shared/src/commonMain/kotlin/ui/detail/ShowDetailScreen.kt - Episode state → Pi repository: fetches details
shared/src/commonMain/kotlin/ui/detail/ShowDetailModel.kt - Episode detail → Trend charts: shows chart tab
shared/src/commonMain/kotlin/ui/detail/ShowDetailScreen.kt - Trend charts → Episode state: requests show data
shared/src/commonMain/kotlin/ui/chart/ChartScreen.kt - Trend charts → Bar renderer: renders bars
shared/src/commonMain/kotlin/ui/chart/ChartScreen.kt - Contestant detail → Voting options: renders voting
shared/src/commonMain/kotlin/ui/participant/ParticipantDetailScreen.kt - Contestant detail → Performance graph: renders performance
shared/src/commonMain/kotlin/ui/participant/ParticipantDetailScreen.kt - Pi repository → Show data API: requests data
shared/src/commonMain/kotlin/network/PiRepository.kt - Pi repository → Platform cache: reads and writes
shared/src/commonMain/kotlin/network/PiRepository.kt - Pi repository → API result states: emits results
shared/src/commonMain/kotlin/network/PiRepository.kt - Pi repository → Show data models: decodes details
shared/src/commonMain/kotlin/network/PiRepository.kt - Pi repository → Show list model: decodes shows
shared/src/commonMain/kotlin/network/PiRepository.kt - Show data models → Voting model: includes voting
shared/src/commonMain/kotlin/model/ShowDetail.kt