/thucal2

Tsinghua University curriculum -> iCalendar format (.ics) -> Google Calendar, etc.

Primary LanguageHTML

THUCAL2: Smart curriculum exporter for Tsinghua University

Download: https://github.com/summivox/thucal2/raw/master/dist/thucal2.user.js

Surprisingly it still works TM, years after I (summivox) graduated, despite rumored complete overhaul to the whole website (which of course has become vaporware).

Screenshot

Main Features

  • Fully automated operation: only one click is needed
    • Needs no "origin date" input
    • Automatically saves exported calendar (through HTML5 Blob)
  • Accurate results
    • Irregular timing (09:50-12:15, labs, ...)
    • Lab details (lab content, location, ...)
  • Standard iCalendar format for import into popular calendar apps
  • All processing done locally for the sake of privacy

Build

THUCAL2 is built using GRUNT.

npm install --global grunt-cli
npm install
grunt release

Use dist/thucal2.user.js

Usage

  1. Log into http://info.tsinghua.edu.cn/

  2. Click THUCAL

  3. Successful: .ics file downloaded (file could be unnamed in FireFox due to browser restrictions)

  4. Import file into calendar app

License

MIT