Today's Menu is a plugin for TRMNL, an e-ink dashboard device, that shows a basic menu with options for a main course, sides and a dessert. It was written with school dinners in mind, but could be easily adapted for other scenarios.
This is a simple container that runs on a cron once per day to update the plugin's variables, allowing it to show the correct data. You can run the container anywhere that has an internet connection - this is necessary to communicate with TRMNL's servers.
- Data source
- The script looks for /app/data/menu.json
- It is recommended you mount an external volume onto /app/data so that you can update menu.json without having to rebuild the container
- Plugin UUID
- The plugin's UUID must be supplied to the container as an environment variable
TRMNL_PLUGIN_UUID
- The plugin's UUID must be supplied to the container as an environment variable
- Title
- The plugin's title must be supplied to the container as an environment variable
PLUGIN_TITLE
- The plugin's title must be supplied to the container as an environment variable
- Date
- The plugin's subtitle must be supplied to the container as an environment variable
PLUGIN_SUBTITLE - This is just a string and will be displayed as supplied so you can use it as a subtitle, or as metadata related to the currently displayed menu (e.g. week number, day name)
- The plugin's subtitle must be supplied to the container as an environment variable