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.0.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

  • Download URL: openedx2zim-0.5.0.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.6.0 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.13

File hashes

Hashes for openedx2zim-0.5.0.tar.gz
Algorithm Hash digest
SHA256 113d3502ce7457422fa1e8e56f1f5466412ed3c9c5db3055b1e2775f619cfc7a
MD5 70de9e92a4d992e3566a25b4baacf660
BLAKE2b-256 0f2688e01a440816f0b0206ae9b4427098854ff0762c3b690869a22ee006e0eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openedx2zim-0.5.0-py2-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.6.0 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.13

File hashes

Hashes for openedx2zim-0.5.0-py2-none-any.whl
Algorithm Hash digest
SHA256 9913dc7475a400ec840ecd611c03dc36502655184823450cac3b6cc7d6f95dec
MD5 0062752f44f5a4ae3a63cca94207dd73
BLAKE2b-256 dfbe56b677b012558cee2ee75c4e40b9e12669137328b8847e2175d6753ef740

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