TypeScript (NodeJS) app to generate Timetable in ICal format.
$ git clone https://github.com/prateekkumarweb/timetableiith.git
$ yarn install
config.yaml
file. An example is given in config
folder.$ yarn build
$ cd dist
$ node index.js -c config.yaml -o filename.ics
The generated ICal file can be imported into Google Calendar or Microsoft Outlook. Instead of importing you can also host this file and keep Google Calendar or Microsoft Outlook in sync with it.
tt.ics
can be generated before committing.git/hooks/pre-commit
with following content.
#!/bin/sh
yarn build
cd dist
node index.js -c ../config/config.yaml -o ../out/tt.ics
git add tt.ics
$ chmod +x .git/hooks/pre-commit
tt.ics
will be auto generated and added to git.Copyright © 2017-2019 Prateek Kumar