A TRMNL private plugin to display Hampshire primary school meals. The data for the menu is static, it's only 85kb or so including images and the fewer moving parts the better.
- get_menu/week?.html - Pages like https://www.hants.gov.uk/educationandlearning/education-catering/parent-information/primary/week-one-menu should be downloaded as week1.html
- get_menu/extract.py - Python code using beautifulsoup to extract the data from those files. Thanks ChatGPT O3. Output in term_menu.json
- get_menu/generate_menu_icons.py - Python code to create icons for each meal using DALL-E-3. These icons are in the icons folder. This dumps a term_menu_gfx.json with the logos as base64 PNGs. It can also create a basic HTML file with those logos in for review. A collaboration between me & O3.
- full.liquid is the template for the private plugin
- settings.yml has the config (this includes term_menu_gfx.json above)