How bluebottlegg/leaguebroadcast-js-client-demo works
League Broadcast Demo is a Vue overlay for LeagueBroadcast match data, rendered on a transparent 1920×1080 canvas for broadcast software. Its main workflow is to connect to the LeagueBroadcast server, expose reactive game state to overlay components, and render in-game graphics; separate routes provide champion select and post-game recaps. The README documents additional graphics and integrations beyond the sampled source. Edges to those unsampled capabilities are limited to documented routing or rendering relationships.
Main entry points: OverlayView.vue In-Game Overlay · useIngame.ts Reactive Game State · index.ts Route Selection · client.ts Broadcast Client
Components 25
Application Routing
- App Bootstrap
src/main.ts - Route Selection
src/router/index.ts - Combined View
src/views/CombinedView.vue - Element Pages
src/views/elements.ts
Client and State
- Broadcast Client
src/client.ts - Reactive Game State
src/composables/useIngame.ts
In-Game Broadcast
- In-Game Overlay
src/views/OverlayView.vue - Scoreboards and Timers
src/components/Scoreboard/Scoreboard.vue - Game Information Panels
src/components/LFrame/LFrame.vue - Damage Analytics
src/components/DamageFlow/DamageFlow.vue - Damage Flow Data
src/components/DamageFlow/damageFlowData.ts - Damage Sidebars
src/components/DamageSidebar/DamageSidebar.vue - Gold Analytics
src/components/GoldGraph/GoldGraph.vue - Kill Participation
src/components/KillParticipation/KillParticipation.vue - Objective Recap
src/components/ObjectiveRecap/ObjectiveRecap.vue - Twitch Interactions
src/components/TwitchSidebar/TwitchSidebar.vue
Champion Select
- Champion Select
src/components/ChampionSelect/ChampionSelectScene.vue - 3D Champion Stage
src/components/ChampionSelect/3d/ChampionStage3D.vue
Post-Game
- Post-Game View
src/views/PostgameView.vue - Post-Game Recap
src/components/PostGame/PostGameScene.vue - Post-Game Data
src/composables/usePostGameScreens.ts - Post-Game Screen Routing
src/components/PostGame/postgameRoutes.ts
Other components
- Broadcast Operator
- OBS / vMix
- LeagueBroadcast Server
Connections 32
- Broadcast Operator → OBS / vMix: configures source
README.md - OBS / vMix → In-Game Overlay: displays graphics
README.md - App Bootstrap → Broadcast Client: provides client
src/main.ts - App Bootstrap → Route Selection: installs router
src/main.ts - Broadcast Client → LeagueBroadcast Server: connects to
- Route Selection → Combined View: routes to
src/router/index.ts - Route Selection → In-Game Overlay: routes to
src/router/index.ts - Route Selection → Element Pages: routes to
src/router/index.ts - Route Selection → Champion Select: routes to
src/router/index.ts - Route Selection → Post-Game View: routes to
src/router/index.ts - Combined View → In-Game Overlay: layers
- In-Game Overlay → Scoreboards and Timers: renders
src/views/OverlayView.vue - In-Game Overlay → Game Information Panels: renders
src/views/OverlayView.vue - In-Game Overlay → Damage Analytics: renders
src/views/OverlayView.vue - In-Game Overlay → Damage Sidebars: renders
src/views/OverlayView.vue - In-Game Overlay → Gold Analytics: renders
src/views/OverlayView.vue - In-Game Overlay → Kill Participation: renders
src/views/OverlayView.vue - In-Game Overlay → Objective Recap: renders
src/views/OverlayView.vue - In-Game Overlay → Twitch Interactions: renders
src/views/OverlayView.vue - Damage Analytics → Damage Flow Data: builds from
src/components/DamageFlow/DamageFlow.vue - Broadcast Client → Reactive Game State: selects state
src/composables/useIngame.ts - Reactive Game State → Damage Analytics: supplies state
src/components/DamageFlow/DamageFlow.vue - Reactive Game State → Gold Analytics: supplies state
src/components/GoldGraph/GoldGraph.vue - Reactive Game State → Damage Sidebars: supplies state
src/components/DamageSidebar/DamageSidebar.vue - Reactive Game State → Kill Participation: supplies state
src/components/KillParticipation/KillParticipation.vue - Reactive Game State → Objective Recap: supplies state
src/components/ObjectiveRecap/ObjectiveRecap.vue - Reactive Game State → Twitch Interactions: supplies state
src/components/TwitchSidebar/TwitchSidebar.vue - Champion Select → 3D Champion Stage: optional 3D stage
README.md - Post-Game View → Post-Game Recap: shows recap
README.md - Post-Game Recap → Post-Game Data: loads screen data
- Post-Game Recap → Post-Game Screen Routing: selects screens
- Post-Game Data → Broadcast Client: fetches match data
src/composables/usePostGameScreens.ts