Skip to content
/ vmensa Public

Query the Stundentenwerk API from inside your terminal! // GitHub Mirror

License

Notifications You must be signed in to change notification settings

slotThe/vmensa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

194 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vmensa

vmensa brings the mensa menus of the TU Dresden, as well as the University of Hamburg to your command line.

example image of a query

For a quick overview of all command line options, see vmensa --help. For more information, please consult the man page.

Building

A nix flake is provided, though building should also work with just cabal build or cabal install.

There is also a small build script available, which takes case of installing the man page as well; use at your own risk. It expects the path where it should move the executable to as an input. For example,

  $ ./build ~/.local/bin/vmensa

will symlink the executable to ~/.local/bin/vmensa.

Examples

What follows are some examples, in increasing complexity, to help you get a feel for what's possible.

$ vmensa

$ vmensa --mensen siedepunkt --wrap 62 --time lunch

$ vmensa --diet vegan --no-additives --sections name,notes --ikat Suppe

$ vmensa --no-additives --columns 4 --wrap 50 --sections name,price,notes \
> --ikat Suppe,Pasta,Terrine --mensen wu,siede,zelt,alte,bio

The output of the last command will be something along the lines of

2022-08-01-151408_1499x662_scrot

For some more examples, refer to the man page.

About

Query the Stundentenwerk API from inside your terminal! // GitHub Mirror

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published