An open API service indexing awesome lists of open source software.

https://github.com/j0hax/mz

mz is a command-line canteen browser
https://github.com/j0hax/mz

canteen golang openmensa

Last synced: about 1 month ago
JSON representation

mz is a command-line canteen browser

Awesome Lists containing this project

README

        

# mz
[![Go](https://github.com/j0hax/mz/actions/workflows/go.yml/badge.svg)](https://github.com/j0hax/mz/actions/workflows/go.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/j0hax/mz)](https://goreportcard.com/report/github.com/j0hax/mz)
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/j0hax/mz)

`mz` is a command-line canteen browser using [OpenMensa](https://openmensa.org). The name is inspired by my German coworkers' [greetings](https://de.wikipedia.org/wiki/Mahlzeit#%E2%80%9EMahlzeit%E2%80%9C_als_Gru%C3%9F) for lunch:

> Mahlzeit!

![Screenshot](screenshot.png)

## Install

Grab a precompiled binary from the [releases page](https://github.com/j0hax/mz/releases/latest) or install with `go install github.com/j0hax/mz@latest`

## Usage

- Selecting a canteen in the top left panel loads its opening days and the meals served on those days
- Switch between different panels with Tab
- Exit the program with Q or Ctrl + C
- On subsequent launches, the program will restore the last viewed canteen. Alternatively, a canteen name can be passed as a parameter.