Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MMMartt/hust-courses-to-ics
Get Courses From Hub(HUST)
https://github.com/MMMartt/hust-courses-to-ics
Last synced: 2 months ago
JSON representation
Get Courses From Hub(HUST)
- Host: GitHub
- URL: https://github.com/MMMartt/hust-courses-to-ics
- Owner: MMMartt
- Created: 2016-05-16T08:06:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T04:01:10.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T07:27:19.948Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.18 MB
- Stars: 60
- Watchers: 2
- Forks: 5
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hust - MMMartt
README
# hust courses to ics
Get Courses From Hub(HUST)
**Prerequisite**
+ `Node.js`
+ `npm/yarn`
+ `ImageMagick`: [offcial website](https://imagemagick.org/script/download.php)**Usage**
```sh
# clone this repo
git clone https://github.com/MMMartt/hust-courses-to-ics.git
# change dir
cd hust-courses-to-ics
# install packages
npm i
# replace sample configuration with yours
cp configs/student-info-sample.js configs/student-info.js
vi configs/student-info.js
# use vi or other editors
# ps: you should be using vim
# if you are using Emacs, there is probably somthing wrong with you
# if you are using something that is not a real code editor, that is even worse
# :)# tesseract will automatically download its training data
# however, you can download it manually, then put it in ./# run, if it fails, you can check your configuration and retry it.
npm start
# lessons should be saved as iCal file at 'build/out.ics'
# it can be imported to multi calendar apps. XD
```
If this project do not meet your needs, try [HustExcelToICS](https://github.com/MMMartt/HUST-course-Excel-to-ICS).**Test**
```sh
npm test
# or
npm test-watch
```