Skip to content

timomeh/mahlzeit

Repository files navigation

Mahlzeit!

aka Wurstwecker

This is a web scraper. It scrapes the websites of places in my neighborhood that have lunch menus and sends me a daily summary of all the menus today.

Needs an hourly cron which calls /cron with the x-cron-secret header.

Features

  • Parses menus into nice plaintext
  • Sends a notification via Telegram
  • Connects to my Google Calendar and only sends me a notification when I'm working in my homeoffice today

Getting Started

Copy .env to .env.local and fill in vars.

npm i
npm run dev # run server
npm run googleauth # auth to google
npm run invoke # invoke cron

Auth to Google

Start the server locally, then run npm run googleauth. Click through the oauth flow.

About

🍽️📲 A little web scraper that tells me what I can have for lunch today.

Resources

Stars

Watchers

Forks