A web-application for displaying the current study week at Chalmers University of Technology.
The application is a scraper and a frontend. The scraper scrapes student-portal at Chalmers to get dates, which are then used in the frontend to determine the current study week.
Use command docker-compose -f dev.docker-compose.yaml up to run the dev docker-compose.yml.
or use node index.js to run the app locally without docker. Don't forget to run npm install first.
Visit https://lasvecka.nu/data for raw data.
At webcal://lasvecka.nu/cal.ics there is a calendar containing the study weeks.
The events are full-day events on every Monday with the study week as the summary (see screenshot below).
The calendar covers a time period which defaults to 8 weeks before and after the current date. This period can be customized by using the before and after query parameters which can be between 0 and 20. The maximum value for before and after can be overriden by the environment variables MAX_BEFORE and MAX_AFTER respectively.
It should update automatically, but it can of course break since it's web scraped from Chalmers' website. Check out lasveckor_scraper.js for the scraping logic.
