josh 3169d1a1ff
CI / Lint (push) Successful in 5s
CI / Test (push) Successful in 5s
CI / Build & Push (push) Successful in 17s
fix: resolve 4 logic bugs found in code review
- utc_to_eastern: use zoneinfo instead of hardcoded EDT offset (-4)
  so start times are correct in both EST and EDT
- standings: fetch before truncate so a failed API call doesn't wipe
  existing standings data
- routes: call parse_games() once per request instead of three times
- scheduler: wrap run_pending() in try/except so an unhandled exception
  doesn't kill the background thread

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29 14:06:45 -04:00
2024-02-19 01:20:56 -05:00
2026-03-29 09:20:21 -04:00

NHL Scoreboard Web App

This web application displays live NHL game scores, team statistics, and game states in real-time. It retrieves data from the NHL API and presents it in a user-friendly interface.

Features

  • Displays live NHL game scores.
  • Sorts games based on priority to highlight the most exciting matchups.
  • Responsive design for desktop and mobile devices.

Technologies Used

  • Python: Backend scripting language.
  • Flask: Web framework for Python.
  • HTML/CSS: Frontend markup and styling.
  • JavaScript: Client-side scripting for auto-refresh functionality.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/nhl-scoreboard.git
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Run the application:

    python run.py
    
  4. Open your web browser and navigate to http://localhost:2897 to view the scoreboard.

Usage

  • The scoreboard will display live NHL game scores, team statistics, and game states.
  • Games are sorted based on priority to highlight the most exciting matchups.
  • The page updates automatically every 10 seconds to show the latest data.
  • Responsive design ensures a seamless experience on desktop and mobile devices.

Credits

Special thanks to the NHL for providing the data through their API.

License

This project is licensed under the MIT License.

S
Description
NHL Scoreboard Without Fluff
Readme 386 KiB
Languages
Python 71.2%
CSS 11.9%
JavaScript 8.5%
HTML 7.3%
Jinja 0.9%
Other 0.2%