Moodle downloader extension for Chrome. The extension is tested with both the TUM moodle and the official moodle demo.
Please submit an issue if you found any bugs or have feature requests.
If you like the tool, please star this repository and share it with your friends. :)
Visit the Moodle Downloader Extension in the Chrome Extension Store.
- Download the extension on the latest release page.
- Unzip the
zip
file to a folder. - Open Chrome and go to
chrome://extensions/
. - Click on
Load unpacked
and select the folder fromstep 2
. - Done. You can now find the extension in the list.
- Navigate to one of the following pages:
- Course view:
https://.../course/view.php?id=...
- Download all the resources of a course.
- Resource view:
https://.../course/resources.php?id=...
- Download all the resources of a course.
- Folder view:
https://.../mod/folder/view.php?id=...
- Download all the resources in a folder.
- Pluginfile:
https://.../pluginfile.php/.../mod_resource/content/.../...
- Download the opened file.
- Course view:
- Click on the extension.
- Click on
Download
button and wait for the download to complete. It may take a while depending on the network condition. You can close the extension or view other tabs. The file will be saved once the download has been completed.
This monorepo is managed using turborepo
. It contains two packages @moodle-dl-ext/popup
and @moodle-dl-ext/content-script
.
This package is built for the popup page using React
and typescript
.
The manifest.json
and other static resources can be found in packages/popup/public
.
This package is built for the content script and packaged using Webpack
and typescript
.
- Clone or download the repository.
- Install
yarn
.- Run
npm install -g yarn
to installyarn
. - Run
yarn set version berry
to enable the modernyarn
.
- Run
- Run
yarn install
to install dependencies. - Generate the extension using
yarn package
. - Import the extension using the generated folder
output
.
Your contribution is welcomed!
Please submit an issue first for feature requests or bug reports.
If you want to contribute directly to the code, create a PR from your fork (How-to).