Skip to main content

Make zimfile from open edx MOOCs

Project description

# openedx2zim

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)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for openedx2zim, version 0.5.1
Filename, size File type Python version Upload date Hashes
Filename, size openedx2zim-0.5.1-py2-none-any.whl (1.3 MB) File type Wheel Python version py2 Upload date Hashes View
Filename, size openedx2zim-0.5.1.tar.gz (1.3 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page