Skip to content
This repository has been archived by the owner on May 2, 2021. It is now read-only.

open-source-uc/webcursinc

Repository files navigation

Webcursinc

CircleCI npm version tested with jest dependencies

codebeat badge Codacy Badge BCH compliance Code Climate Test Coverage Issue Count

Webcursinc allows you to download the files from uc webcurso in an easy way

If you aren't familiar with CLI (command line interface) programs you should check the video tutorial. This video tutorial is for sincding. Just change the word sincding for webcursing and you should be fine.
If you are, just keep reading.

You must have node installed to use it

Install with

# with yarn:
yarn global add webcursinc

# with npm:
npm install -g webcursinc

And then just run

webcursinc

Or if you want to just update your files quickly you can run

webcursinc sync

On the first run you will be prompted for credentials

  • username: Your uc username without @uc
  • password: Your uc password
  • path: The absolute path to the folder where you want to download the siding folders and files
  • ignore: Space separated acronyms of courses you don't want to download. Usefull for those who are assistants. (example: IIC2154 IIC1103)

The credentials are stored in your Home directory on .webcursinc/data.json


Let's see it in action
demo


Development

Clone the repo

git clone https://github.com/open-source-uc/webcursinc.git

Install dependencies

# with yarn:
yarn

# with npm:
npm i

To test you have two options

# run from project folder
node index.js

# or link it to run it from everywhere
npm link
webcursinc

Check the contributing guide