BonApp Widget is an Übersicht widget written in JavaScript. It searches the daily offerings of cafeterias and locations catered by Bon Appetit Management Company for the menu (much like this interface).
- Search for cafeterias by name
- View daily menu items by station
- Filter by dietary preference
Widgets are installed by placing them in your widgets folder.
-
Locate the downloaded widget. After pressing download the widget will usually be placed in your Downloads folder. Look for a zip file ending in .widget. Unzip the file, resulting in a folder with the same name. Note that some browsers will automatically unzip the file for you.
-
Open your widgets folder. Select 'Open Widgets Folder' from the Übersicht menu in the top menu bar.
-
Move the widget to your widgets folder. Drag the widget from your Downloads folder to the widgets folder you opened in step 2.
If you find that your location is associated with Bon Appetit, it could be that the data.json
file is out of date. You can update this file yourself.
-
Locate
/scripts/getData.py
-
Change the
totalCafes
number to a higher value to parse more locations -
Run the following command
$ python3 getData.py
Want to contribute? Great!
BonApp Widget uses JavaScript, Html, and CSS for familiar web development. Make a change in your file and instantanously see your updates!