Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
/ gabin Public archive

Choosing a location to eat within an office is hard. Gabin aggregates the menu of configurable canteens, showing them on one place together with a daily poll.

License

Notifications You must be signed in to change notification settings

Langenfeld/gabin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gabin

Gabin1 aggregates menus from different canteens presenting them as a website together with a vote form so that your department can decide where to go beforehand.

Example screenshot

Installation

Install all necessary python (Python > 3.6) modules in the requirements.txt (usually by running pip install -r requirements.txt --user).

Set a port for the website (default: 8080) in config.ini.demo as well as the menus that shall be aggregated by modifiying the [restaurants] section.

[restaurants]
mensa = Mensa, MenuStudentenwerkParser, https://www.swfr.de/essen-trinken/speiseplaene/mensa-flugplatz/
solar = SolarCasino, MenuFrauenhoferParser, https://kantine.ise.fraunhofer.de/sic
ise = ISE, MenuFrauenhoferParser, https://kantine.ise.fraunhofer.de/heidenhof
foodtrauck = Food Truck, FoodTruckParser,
               http://www.foodtrucks-deutschland.de/trucks/stadt/freiburg-liste-tour-daten-termine-aktuell
baecker = Bäcker, NullParser, None

Each entry is build in the form <id> = <displayname>, <parsertype>, <url> where id is just an arbitrary name, displayname is the name used for the canteen on the voting interface (and that is linked to the menu website of the canteen), parsertype is the type of the parser that shall be used to parse the canteen's website and url is the url of the website to be parsed. Currently parsers for the following websites providing menus are included:

Gabin can be run by executing gabin.py as a standalone web server or as a WSGI application.


1 Gabin is a fictional restaurant guide featured in a series of detective stories following the cook Xavier Kieffer (Tom Hillenband, Teufelsfrucht: Ein kulinarischer Krimi, KiWi-Taschenbuch)

About

Choosing a location to eat within an office is hard. Gabin aggregates the menu of configurable canteens, showing them on one place together with a daily poll.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published