Edu Sync is a command line application that synchronizes the contents of Moodle instances to your computer.
It accesses the Moodle instance via the Moodle mobile web services API, which is also used by the official Moodle mobile app. To be able to use Edu Sync with a Moodle instance, the Moodle mobile web services must explicitly be enabled by the instance.
This application is written in Rust with a focus on speed. Downloads are performed concurrently, which is beneficial when syncing many small files.
You can view more detailed help information with:
$ edu-sync-cli help
Add an account:
Using username and password:
$ edu-sync-cli add --username <username> https://example.com ~/download-dir # You will be prompted to enter your password
Using a token for the Moodle mobile web service — some instances show it in preferences/security keys:
$ edu-sync-cli add https://example.com ~/download-dir # You will be prompted to enter your token
Fetch available courses (populates the config file with courses):
$ edu-sync-cli fetch
Configure which courses to sync in the config file. Get the config path with:
$ edu-sync-cli config
$ edu-sync-cli sync
The binary name for Edu Sync is
Archives of precompiled binaries for Edu Sync are available for Windows, macOS and Linux.
If you're an Arch Linux user, then you can install Edu Sync from the Arch User Repository.
This project is licensed under
- The GNU General Public License v3.0 only (LICENSE, or https://www.gnu.org/licenses/gpl-3.0.html)
Moodle™ is a registered trademark of Moodle Pty Ltd in many countries. Edu Sync is not sponsored, endorsed, licensed by, or affiliated with Moodle Pty Ltd.