FluminusCLI
F LumiNUS! IVLE ftw! Why fix what ain't broken?!
Since IVLE will be deprecated next academic year (AY2019/2020), while LumiNUS has consistently pushed back its schedule to release an API, I have decided to reverse-engineer the API used by the Angular front-end of LumiNUS. Currently, my goal is to be able to automatically download files a la ivle-sync, which is achieved as of v0.1.0!
I try to keep to best coding practices and use as little dependencies as possible. Do let me know if you have any suggestions!
PR's are welcome.
Note for Windows Users
FluminusCLI is currently not compatible with Windows. I suggest using Fluminurs instead if all you need is file downloading: https://github.com/indocomsoft/fluminurs
CLI Usage
The most important one, to download your files:
mkdir /tmp/fluminus
mix fluminus --download-to=/tmp/fluminus
This will download files of all your modules locally to the directory you speficied. To download all files again next time, simply do:
mix fluminus --download-to=/tmp/fluminus
Installation
CLI
- Install elixir+erlang for your platform
- Clone this repo
- Get the dependencies:
mix deps.get
- Fluminus CLI is available as a mix task:
mix fluminus
Note that the first time running the mix task might be a bit slow because the code has to be compiled first.