🍽 πŸ₯¨ MensaarLecker -- A beloved tool to find out Mensa Ladies' favourite menu using SeleniumπŸ₯¨ 🍽

🍽 πŸ₯¨ MensaarLecker -- A beloved tool to find out Mensa Ladies' favourite menu using SeleniumπŸ₯¨ 🍽

Repository: MensaarLecker

As an UdS Student,
Are you tired of seeing french fries🍟 3 times a week, or wondering when I can have the best pizza πŸ• in the Mensacafe?
MensaarLecker aims to collect all the data from Menu 1, 2, and Mensacafe to trace your favourite, or Mensa Ladies’, favourite menu!


πŸ†• Updates

05.08 – Telegram Bot @Mensaar_Bot are published.

(See my development blog in here! MensaarLecker Development Log 3 – Telegram Bot Deployment and Integration)

04.21 – HTW menus are now added to the statistics.


πŸ₯— Description

A fully automated scraper and static website for the SaarbrΓΌcken Mensa, powered by Python, Selenium, Google Sheets, and GitHub Actions.

Get a clean and daily-updated overview of meals from mensaar.de, with searchable history, meal components, and frequency stats.


🌐 Live Demo

πŸ‘‰ View Website
πŸ‘‰ View Data in Google Sheets


πŸ“… Features

  • βœ… Scrapes the SaarbrΓΌcken Mensa daily menu
  • βœ… Publishes structured data to a connected Google Sheet
  • βœ… Generates static HTML pages:
    • index.html – Today’s menu with meal frequency counts
    • menu.html – Full searchable menu with DataTables
  • βœ… Automatically updates via GitHub Actions at 10:00 AM UTC on weekdays
  • βœ… Beautiful card-style layout & component display
  • βœ… No server required β€” 100% static

🧠 Meal Frequency Display Example

The homepage shows how often each meal has been served based on historical data since 2025.03.20:

🍽️ Pasta mit Tomatensoße
πŸ“Š Seen since 2025.03.20
βœ… Geriebener KΓ€se
βœ… Rucola


πŸ“ Project Structure

directory
1
2
3
4
5
6
7
8
9
10
11
.
β”œβ”€β”€ Mensaar_scraper.py # Scrapes from mensaar.de and writes to Google Sheet
β”œβ”€β”€ generate_menu.py # Reads the sheet and generates index.html and menu.html
β”œβ”€β”€ credentials.json # Google service account key (excluded from repo)
β”œβ”€β”€ index.html # Main website page with today's menu
β”œβ”€β”€ menu.html # Full searchable table of meals
β”œβ”€β”€ .github/workflows/
β”‚ └── update_menu.yml # GitHub Actions automation
β”œβ”€β”€ src/
β”‚ └── uds_spirit.jpg # Soul of this project
└── README.md

πŸ“ Development Log

MensaarLecker Development Log 1 – Web Crawling
MensaarLecker Development Log 2 – Web Developing and GitHub Workflow
MensaarLecker Development Log 3 – Telegram Bot Deployment and Integration

🍽 πŸ₯¨ MensaarLecker -- A beloved tool to find out Mensa Ladies' favourite menu using SeleniumπŸ₯¨ 🍽

https://greenmeeple.github.io/projects/mensaar/

Author

Alex Li

Posted on

2025-05-08

Updated on

2025-05-14

Licensed under

Comments

Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

Γ—