{"repo":"openzim/phet","free":true,"listed":false,"github":"https://github.com/openzim/phet","clone":"git clone https://github.com/openzim/phet.git","description":"Scraper for PhET Science & Math Interactive Simulations","language":"JavaScript","stars":19,"topics":["scraper","zim"],"license":"Apache-2.0","category":"scrapers-browser-automation","readme_excerpt":"PhET Simulations scraper This scraper creates offline versions in ZIM format of PhET science simulations for Science and Math. Requirements It requires Node.js version 16 or higher. Quick Start The above will eventually output a ZIM file to Command line arguments See phet2zim --help for details. phet2zim --output generates ZIM files in a specific folder. --withoutLanguageVariants uses to exclude languages with Country variant. For example en CA will not be present in zim with this argument. --subjects is used to pass specific subjects to download. Pass values as csv. Sample of valid subjects : Available only on GET step: Available on GET and EXPORT steps only: Available on EXPORT step only: Example: Config Another way to configure behaviour is through environment variables. Sample .env file (with default values): About This project achieves multiple things: Download PhET content Generate an Index for said content Generate ZIM file(s) containing content and index Things this project does not yet do, but should: Generate Android APK Usage The functionality is split into 5 : - deletes state from previous runs - downloads PhET simulations in specified languages - prepare the content and media files - generates ZIM file(s) - runs all of the above in sequence The steps get, transform and export have their own output directories: outputs HTML and PNG files to outputs intermediate files to outputs HTML and PNG files to AND a ZIM file(s) to (by default, unless customized with --output","default_branch":null,"files":null,"tree":[],"storefront":"/r/openzim","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/openzim/phet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}