1+ # PhET Simulations scraper
2+
3+ This scraper creates offline versions in [ ZIM
4+ format] ( https://openzim.org ) of [ PhET science
5+ simulations for Science and Math] ( https://phet.colorado.edu ) .
6+
17<a href =" https://play.google.com/store/apps/details?id=org.kiwix.kiwixcustomphet " target =" _blank " align =" left " >
28 <img src =" https://play.google.com/intl/en/badges/images/badge_new.png " alt =" Get it on Google Play " height =" 30 " />
39</a >
410
5- # PhET Simulations scraper
11+ [ ![ npm ] ( https://nodei.co/npm/phetscraper.png )] ( https://www.npmjs.com/package/phetscraper )
612
7- This scraper creates offline versions in [ ZIM
8- format] ( https://openzim.org ) of [ PhET science
9- simulations] ( https://phet.colorado.edu ) in the ZIM format.
13+ [ ![ npm] ( https://img.shields.io/npm/v/phetscraper.svg )] ( https://www.npmjs.com/package/phetscraper )
14+ [ ![ Docker Image] ( https://img.shields.io/docker/v/openzim/phet?arch=amd64&label=docker&sort=semver )] ( https://hub.docker.com/r/openzim/phet )
15+ [ ![ CI] ( https://github.com/openzim/phet/actions/workflows/ci.yml/badge.svg )] ( https://github.com/openzim/phet/actions/workflows/ci.yml )
16+ [ ![ CodeFactor] ( https://www.codefactor.io/repository/github/openzim/phet/badge )] ( https://www.codefactor.io/repository/github/openzim/phet )
17+ [ ![ Latest ZIM releases] ( https://img.shields.io/badge/latest-ZIM-%23ff4365 )] ( https://download.kiwix.org/zim/phet/ )
18+ [ ![ License] ( https://img.shields.io/npm/l/phetscraper.svg )] ( LICENSE )
1019
1120## Requirements
1221
13- It requires Node.js v16 or higher.
22+ It requires Node.js version 16 or higher.
1423
1524## Quick Start
1625
@@ -20,14 +29,6 @@ npm i && npm start
2029
2130The above will eventually output a ZIM file to ``` dist/ ```
2231
23- [ ![ NPM] ( https://nodei.co/npm/phetscraper.png )] ( https://www.npmjs.com/package/phetscraper )
24-
25- [ ![ npm] ( https://img.shields.io/npm/v/phetscraper.svg )] ( https://www.npmjs.com/package/phetscraper )
26- [ ![ CI] ( https://github.com/openzim/phet/actions/workflows/ci.yml/badge.svg )] ( https://github.com/openzim/phet/actions/workflows/ci.yml )
27- [ ![ Docker Image] ( https://img.shields.io/docker/v/openzim/phet?arch=amd64&label=docker&sort=semver )] ( https://hub.docker.com/r/openzim/phet )
28- [ ![ Latest ZIM releases] ( https://img.shields.io/badge/latest-ZIM-%23ff4365 )] ( https://download.kiwix.org/zim/phet/ )
29- [ ![ CodeFactor] ( https://www.codefactor.io/repository/github/openzim/phet/badge )] ( https://www.codefactor.io/repository/github/openzim/phet )
30-
3132## Command line arguments
3233Available on GET and EXPORT steps only:
3334``` bash
@@ -43,7 +44,7 @@ Available on EXPORT step only:
4344
4445Example:
4546``` bash
46- npm run get -- --includeLanguages en ru fr`
47+ npm run get -- --includeLanguages en ru fr
4748```
4849
4950## Config
@@ -65,7 +66,7 @@ PHET_VERBOSE_ERRORS=false
6566This project achieves multiple things:
6667* Download PhET content
6768* Generate an Index for said content
68- * Generate a ZIM file containing content and index
69+ * Generate ZIM file(s) containing content and index
6970
7071Things this project does not yet do, but should:
7172* Generate Android APK
@@ -83,3 +84,9 @@ The steps get, transform and export have their own output directories:
8384* ``` get ``` outputs HTML and PNG files to ``` state/get ```
8485* ``` transform ``` outputs intermediate files to ``` state/transform ```
8586* ``` export ``` outputs HTML and PNG files to ``` state/export ``` AND a ZIM file(s) to ``` dist/ ```
87+
88+ License
89+ -------
90+
91+ [ Apache] ( https://www.apache.org/licenses/LICENSE-2.0 ) or later, see
92+ [ LICENSE] ( LICENSE ) for more details.
0 commit comments