This Raspberry Pi OS project automatically generates and updates a background image that displays the number of days remaining until a list of events occur. I built this project during the pandemic to track how many days I had left until I received my second vaccination and when I would be considered fully vaccinated. The project enables you to configure your own countdown events.
This project uses Docker Compose to build a Node.js container that runs Puppeteer, Express.js, EJS and Luxon to generate the images. Scheduling for the image generation is done on the host Pi using
crontab. The Node script makes heavy use of async/await with few abstractions to allow the script to be as linear as possible.