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](http://www.openzim.org) files required by [kiwix](http://kiwix.org/) reader to make available Massive Open Online Courses (MOOCs) from [any OpenEdx instance](https://openedx.atlassian.net/wiki/spaces/COMM/pages/162245773/Sites+powered+by+Open+edX) 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 `

##Usage

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

course_url is something like this https://courses.edx.org/courses/[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.

Source Distribution

openedx2zim-0.5.1.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

openedx2zim-0.5.1-py2-none-any.whl (1.3 MB view details)

Uploaded Python 2

File details

Details for the file openedx2zim-0.5.1.tar.gz.

File metadata

  • Download URL: openedx2zim-0.5.1.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15rc1

File hashes

Hashes for openedx2zim-0.5.1.tar.gz
Algorithm Hash digest
SHA256 8f54413f070e5fc4763a0a4abd7bc05ea16a60d452aac7171e423964b83e7058
MD5 15cc2102ae5ea9a5476ace02589fcc3b
BLAKE2b-256 c8e5a2e245d6fdef88fda50acac7c8304e8b581d7c83477fd639b1d4804c8180

See more details on using hashes here.

File details

Details for the file openedx2zim-0.5.1-py2-none-any.whl.

File metadata

  • Download URL: openedx2zim-0.5.1-py2-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15rc1

File hashes

Hashes for openedx2zim-0.5.1-py2-none-any.whl
Algorithm Hash digest
SHA256 490faf1f3b05ed24b72ff8f00e25dbbb0d54d978f6658b47733f6dfdf25a4053
MD5 db8d9f877965237e83ee45bdfb817485
BLAKE2b-256 d46c786f760ec80c9e73de4117ed62cd7d47d701e38396dd1f32bfe118275f1b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page