Open edX (to zim) scrapper
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


openedx to Kiwix

The goal of this project is to create a suite of tools to create zim files required by kiwix reader to make available Massive Open Online Courses (MOOCs) from any OpenEdx instance offline (without access to Internet).

Getting started

You can use your docker : openzim/openedx

Install non python dependencies:

Here for Debian :

sudo apt-get install jpegoptim pngquant gifsicle advancecomp python-pip python-virtualenv python-dev imagemagick ffmpeg

Create a virtual environment for python:

virtualenv -p python3 venv

Activate the virtual enviroment:

source venv/bin/activate

Install this lib:

pip install openedx2zim


openedx2zim <course_url> <publisher> <email> [--password=<pass>] [--nozim] [--zimpath=<zimpath>] [--nofulltextindex] [--transcode2webm] [--ignore-unsupported-xblocks] [--lang=<lang>]

course_url is something like this[course name or id]/info you can find it from your dashboard and click on the MOOC you want to offline You should already have enrolled course to make it offline. Also you should not connect on your browser or with an other run of openedx2zim to the same account while openedx2zim is still running. You should only use this to MOOC with a free licence. If your mooc is not in english you should add language code with --lang="" (in two-letter code iso639)

Info for contributor

To add loca : openedxtozim/templates/l10n_strings.json + language code in openedxtozim/templates/l10n_strings.json (lign 35)