Skip to content

andreicozma1/Canvas-Sync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Canvas-Sync

Canvas-Sync is a tool for syncing files from Canvas to your computer.

It also includes a module for syncing Canvas Assignments to your Todoist account as tasks.
Each module can be used independently.

Modules

  • CanvasToTodoist
  • CanvasFileDownloader

Install dependencies

  • Install dependencies with pip3 install -r requirements.txt

Run the main script

  • Run the main script by calling python3 main.py

Options & Usage

  • Run the main script with the -h flag to see all available options and their usage: python3 main.py -h

  • Edit configuration file manually: python3 main.py --edit

  • View log file from last run: python3 main.py --logs

Example Crontab

  • Edit crontab
crontab -e
  • Run every 60 minutes
@hourly /usr/bin/python3 /home/userid/Canvas-Sync/main.py -a -y
  • Run on boot
@reboot /usr/bin/python3 /home/userid/Canvas-Sync/main.py -a -y

Disclaimer

The original codebase has been tweaked and modified quite heavily over time. The following is the link to the original project:

About

Sync Canvas Assignments to Todoist and Canvas Files to Disk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%