Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 1.06 KB

README.md

File metadata and controls

13 lines (11 loc) · 1.06 KB

Studentenwerk Leipzig Mensa Bot

A Telegram bot that crawls the Studentenwerk Leipzig Mensa site and returns todays' meals.

Build Dependencies

  • A working Rust toolchain
  • SQLite3 development files (e.g. libsqlite3-dev on Debian)
  • SSL development files (e.g. libssl-dev on Debian)

Runtime Dependencies

  • A Bot has to be created using @BotFather, which produces a Token
  • An instance of Mensa-API has to be running. The API url must be passed, for example API_URL=http://url:9090. Can be set by env variable or launch argument, run this program with option -h for details. ℹ️ There is a branch "standalone" which doesn't need this API, however it won't receive further updates.
  • If using the CampusDual feature, the GEANT OV RSA CA 4 certificate must be installed. On most Linux distributions, this certificate is not shipped
  • Any data that is persisted is saved to SQLite3 databases in the current working directory, so it should be ensured that the directory is writable and not volatile