A single-page site that displays tonight's Prudential Center tower lighting event in Boston, MA.
Live site: prudentialcenterlights.today
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.
Install dependencies and generate data locally:
pip install -r requirements.txt
pip install /path/to/pru-lights
python scripts/generate_data.py data.jsonThen open index.html in a browser (via a local server to allow the fetch() call):
python -m http.server 8000