Skip to content

About

Displays tonight's Prudential Center tower lighting event in Boston, MA.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

prudentialcenterlights.today

A single-page site that displays tonight's Prudential Center tower lighting event in Boston, MA.

Live site: prudentialcenterlights.today

How it works

A GitHub Actions workflow runs every 6 hours and uses the pru-lights Python library to fetch the current lighting schedule from the Prudential Center website. The result is saved to data.json and the static site is deployed to GitHub Pages.

The page loads data.json at runtime and displays the current event — or a "no event tonight" message if nothing is scheduled.

Development

Install dependencies and generate data locally:

pip install -r requirements.txt
pip install /path/to/pru-lights
python scripts/generate_data.py data.json

Then open index.html in a browser (via a local server to allow the fetch() call):

python -m http.server 8000

About

Displays tonight's Prudential Center tower lighting event in Boston, MA.

Resources

Stars

1 star

Watchers

0 watching

Forks

Sponsor this project

Used by

Contributors

Languages