https://github.com/schicho/mensa
Get the list of dishes of the canteen printed directly onto your terminal
https://github.com/schicho/mensa
Last synced: 3 months ago
JSON representation
Get the list of dishes of the canteen printed directly onto your terminal
- Host: GitHub
- URL: https://github.com/schicho/mensa
- Owner: schicho
- License: mit
- Created: 2021-04-22T11:25:26.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-12T19:05:54.000Z (over 4 years ago)
- Last Synced: 2024-06-20T00:27:51.835Z (about 2 years ago)
- Language: Go
- Size: 3.74 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mensa
Simple commandline tool to display a sorted list of all the dishes your canteen serves this week. Note that this tool is only designed for all the canteens which are provided by the ["Studentenwerk Niederbayern/Oberpfalz"](https://www.stwno.de/).
It works by getting and parsing the online provided .csv file of your canteen/cafeteria.
### Configuration
The tool creates a `.config/mensa_conf.json` and `.cache/mensa_data.csv` file.
In the `mensa_conf.json` file you can specify the university of which you want to know the dishes of. For the correct abbreviations check canteens/canteens.go, where you can find a list of all universities.
The `.mensa_data.csv` file caches the CSV of the week so it is not re-downloaded every single time you use the app. It is automatically updated every day.
If you want to clear the cache and configuration, run "mensa -c"