Skip to content

MLB-LED-Scoreboard/mlb-led-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MLB LED Scoreboard — Cloud Deployment

Runs the MLB LED Scoreboard in Docker with the browser emulator, accessible via WebSocket on port 8888.

Requirements

  • Docker

Build

docker build -t mlb-scoreboard .

Optionally specify a branch, tag, or commit SHA to build

docker build --build-arg REVISION=<branch,version,SHA> -t mlb-led-scoreboard .

Run

docker run -p 8888:8888 mlb-scoreboard

Then open your browser to http://localhost:8888.

Configuration

config.json

Controls scoreboard behavior — preferred teams, news ticker, standings, rotation, weather, and display settings.

Weather: Replace YOUR_API_KEY_HERE with a valid API key and set your location:

"weather": {
  "apikey": "YOUR_API_KEY_HERE",
  "location": "Chicago,il,us"
}

emulator_config.json

Controls the browser emulator — pixel size, FPS, quality, and the WebSocket port (default: 8888).

Deployment

For cloud deployment, Fly.io is recommended for its native WebSocket support:

fly launch
fly deploy

Credits

Built on top of MLB-LED-Scoreboard.

About

Cloud deployment of an mlb-led-scoreboard instance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors