Skip to content

lukaskollmer/tum-calendar-sanitize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

tum-calendar-sanitize

Remove duplicates from your TUM calendar

Problem: Events that are held simultaneously in multiple lecture halls appear multiple times in your calendar
Solution: Replace all duplicates with a single event listing all locations

Usage

  1. Create an AWS Lambda function named tum-calendar-sanitize
  2. Run make deploy-lambda
  3. Setup API Gateway to give your lambda function an HTTP endpoint
  4. Fetch your calendar's url from TUMonline (via the publish button)
  5. Replace everything before the query parameters (pStud and pToken) with your function's HTTP endpoint
  6. Subscribe to that url in your calendar app of choice

Note:

  • Depending on your setup you might need to adjust the lambda function's name and AWS region in the Makefile
  • You'll also need to update the route name in main.js (the one used in the app.get call) to match your API Gateway resource name

Example

Before / After

License

MIT @ Lukas Kollmer

About

๐ŸŽ“ Remove duplicates from your TUM calendar

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published