openzim / librechef

Sushi Chef script for importing sushi-chef-libretext content
MIT License
1 stars 0 forks source link

LibreTexts Chef

[!WARNING] This fork was an attempt by openZIM / Kiwix to fix sushichef recipe for libretexts.org, in order to create a Kolibri channel from a libretexts.org library. It has finally been judged "better" to create our own scraper. This fork is hence "abandonned" as-is, and kept public only for further reference. Scraper for libretexts.org is available at https://github.com/openzim/mindtouch

Kolibri is an open source educational platform to distribute content to areas with little or no internet connectivity. Educational content is created and edited on Kolibri Studio, which is a platform for organizing content to import from the Kolibri applications. The purpose of this project is to create a chef, or a program that scrapes a content source and puts it into a format that can be imported into Kolibri Studio.

Installation

Usage

 ./sushichef.py -v --reset --token=".token" --subject=chem --channel-id=channelid
 ./sushichef.py -v --reset --token=".token" --subject=math --channel-id=channelid
 ./sushichef.py -v --reset --token=".token" --subject=phys --channel-id=channelid
 ./sushichef.py -v --reset --token=".token" --subject=eng --channel-id=channelid
 ./sushichef.py -v --reset --token=".token" --subject=bio --channel-id=channelid

MathJax

MathJax files must be in a upper level folder i.e ../ or will raise an error.

Version 2.7.5 should be used as-of Sept. 2024, and hence placed in ../MathJax-2.7.5