Skip to content

Loughborough University Timetable sync with external calendars. Optional dynamic syncing available.

License

Notifications You must be signed in to change notification settings

mesub7/lboro-cal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lboro Cal

image

This is a little passion project made because there's no nice way to export your timetable to external calendars without tediously exporting each event in the myLboro app.

This repo aims to solve this. Others have constructed a few solutions, but these are static. This solution is dynamic (if you allow it to be). Want something less techie? Lboro Sync is a very similar solution (but you will have to manually sync it).

It is mostly RFC 5545 compliant. The title is your module and the type of contact. The location is the room code and the description is who you'll be having it with.

At the moment, it's kind of offered as-is (I am very busy). In the future, I will try and smooth it out so it's easier for you to deploy (work has already started on this).

Dependencies are: iCalendar and requests. You'll need your credentials to access the service. These are currently environment variables (so only run this on a system you trust or have full control over).

  1. Get the file
  2. Install dependencies
  3. Update the output path and add your environment variables
  4. Run the script (This will generate an .ics file)
  5. Upload this to your calendar provider of choice

If you want it to be dynamic, you need to find a way to host it somewhere and update the file. A cloud storage solution may work but I've never tried it. I have a VPS running Nginx, which statically serves the file over the internet. A cron job runs every day during a quiet time to pick up the latest changes (room changes etc).

A known issue for Outlook is that past events are not synced. This is a design choice by Microsoft.

Bugs and development

If there's a bug or issue then please make an issue. If you think you can improve this, by all means make a PR.

Changelog

This was last updated on the 24th of December.

24th December update: Remove device specific text + improve support for multiple staff members allocated to a lecture.

About

Loughborough University Timetable sync with external calendars. Optional dynamic syncing available.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages