Quarks Web is a website in which SuperCollider extensions (called Quarks) from the official Quarks repository are listed and can be searched.
Install node, check out the repo and run
npm install
npm run serve
As this is a static website we need to update the website build from time to time. We obtain the information from each Quark by downloading its repository and transforming its Quark file (if present) to a JSON file which then will all be written into a single JSON file which will be used as data for the website.
Be aware that we are executing a lot of quark files on your local machine, making it a security risk. Install node and all necessary dependencies for the script via
npm run install
After this make sure you have sclang
available in your PATH variable.
If not, you can also specify it via an environment variable, for macOS e.g.
export SCLANG_PATH=/Applications/SuperCollider.app/Contents/MacOS/sclang
After this run in the same shell the command
node createJson.js
which will download or update all repos and build the updated JSON file into src/assets/quarks.json
.
It is also possible to run the build process within a docker container by running
./build_json_in_docker.sh
which will replace the file /src/assets/quarks.json
.
Note that this process will take around 15 minutes because we need to compile SuperCollider and also download every Quark repository.
GPL-2.0