Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
gussenatorPublic

About

A lightweight, real-time basketball broadcast overlay and web-based control panel built for OBS Studio.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

Basketball Scorebug for OBS

A lightweight, real-time basketball broadcast overlay and web-based control panel built for OBS Studio.

Note: This project was vibe-coded with AI assistance. It focuses on getting a clean, functional broadcast graphics setup running quickly rather than enterprise-grade architecture.

Features

  • Real-Time Sync: Powered by Node.js, Express, and Socket.io so updates in the control panel appear instantly in OBS.
  • Game Clock & Periods: Drift-free countdown clock (switches to tenths of a second under 1:00) with support for quarters and overtime.
  • Score Animations: Animated score pop and floating +1 / +2 / +3 indicators when points are added.
  • Team Fouls & Timeouts: Visual foul bars with an automatic BONUS badge at 5 fouls, timeout indicators, and a full-width TIMEOUT banner.
  • Player Stats & Popups: Assign points to players right after scoring, with an optional 6-second on-screen stat banner.
  • Halftime / Match Stats Card: Toggleable summary overlay showing quarter-by-quarter scoring and top scorers for both teams.
  • Live Customization: Edit team names, colors, logos, scorebug scale, corner radius, background color, and screen position (top/bottom) directly from the control panel.
  • Auto-Save: Match state is automatically saved to match-state.json so a server restart won't wipe your game.
  • Remote Control: Accessible from any browser on the same local network (phone, tablet, or second laptop).

Getting Started

Prerequisites

Installation

git clone <your-repo-url>
cd Scorebug
npm install

Run the Server

node --watch server.js

Once running, the following endpoints are available locally:

  • Overlay (OBS): http://localhost:3000/overlay.html
  • Control Panel: http://localhost:3000/control.html

OBS Studio Setup

  1. Add the Overlay
    • Add a new Browser Source in OBS.
    • Set URL to http://localhost:3000/overlay.html.
    • Set Width to 1920 and Height to 1080.

Remote Control (LAN)

To operate the scoreboard from another device on the same network, open http://<HOST-LOCAL-IP>:3000/control.html in a web browser.

Project Structure

Scorebug/
├── server.js             # Express + Socket.io backend and match state
├── match-state.json      # Auto-generated local save file (gitignored)
└── public/
    ├── overlay.html      # Broadcast graphics for OBS Browser Source
    ├── style.css         # Scorebug styling and animations
    └── control.html      # Tabbed control panel (Live, Roster, Design)

About

A lightweight, real-time basketball broadcast overlay and web-based control panel built for OBS Studio.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages