Repository: paaatrick/playball Description: Playball is a terminal-based application that enables users to watch MLB games discreetly from their terminal window. --- Overview Owner: paaatrick Visibility: Public License: MIT License Stars: 566 Forks: 28 Watchers: 12 Contributors: 5 Languages: Primarily JavaScript (99.8%), with a small amount of Dockerfile (0.2%) --- Features Watch MLB games in a terminal interface. Includes schedule, standings, and game views. Various keyboard shortcuts for navigation: Global: q to quit, c to go to schedule, s to standings. Schedule View: Use arrow keys (↓/j, ↑/k, ←/h, →/l) to change highlighted game, enter to view game, p/n to change days, t to return to today. Game View: ↓/j and ↑/k to scroll through list of plays. --- Installation Quick Start Try the app without installation using: Install Globally For regular use, install globally: Run the app with: Docker Build and run using Docker: --- Configuration Configure using the config subcommand. View all configs: Get a single config value: Set config value: Revert to default: Configuration keys include: | Key | Description | Default | Allowed values | |-----------------------|------------------------------------------------------------|-----------|-------------------------------------------------------------------------------------| | color.ball | Color for dots representing balls in game view | green | Basic colors (black, red, green, yellow, blue, magenta, cyan, white, grey) and bright/light variants; hex supported | | color.favorite-star | Color of star highlighting favorite teams | yellow | See above | | color.in-play-no-out| Color for ball-in-play results with no out | blue | See above | | color.in-play-out | Color for ball-in-play results with an out | white | See above | | color.on-base | Color of diamonds representing runners on bases | yellow | See above | | color.out | Color of dots representing outs | red | See above | | color.strike | Color of dots representing strikes | red | See above | | color.strike-out | Color for play ending on a strike (strike out) | red | See above | | color.walk | Color for play ending on a ball (walk, hit by pitch) | green | See above | | favorites | Teams to highlight in schedule and standings views | (none) | Any MLB team code (e.g. ATL, NYY, SEA) or comma-separated list | --- Development Clone the repository and run locally: