replace your-github in this link
bin/mirror.sh --user jht9629-nyu
bin/build.sh --user jht9629-nyu --check
bin/mirror.sh --user jht9629-nyu --full
bin/mirror.sh --user jht9629-nyu
bin/mirror.sh --user jht9629-nyu --clean
# Terminal commands to get started
# Install nodejs
open https://nodejs.org/en/download
# Fork this repo and name it p5mirror-p5name
# where p5name is our editor.p5js user name
# run this bash script in the root of your repo
bin/mirror.sh --user p5name
mirror your editor.p5js sketches into a git repo
Generated listing of editor.p5js projects
https://code.visualstudio.com/
https://desktop.github.com/
https://marketplace.visualstudio.com/items?itemName=samplavigne.p5-vscode
https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode
# p5name is the place holder for your editor.p5js user name
# fork this repo and name it p5mirror-p5name
# in p5mirror-p5name folder, run bin/mirror.sh to
# download p5js scripts for a user account
# and create markdown listing files
# only projects updated since last mirror are downloaded
#
bin/mirror.sh --user p5name
# full update, download all projects
#
bin/mirror.sh --user p5name --full
# run in verbose mode to show details of steps for debugging
#
bin/mirror.sh --user p5name --verbose
# remove sketches not present online
#
bin/mirror.sh --user p5name --clean
All generated files are stored in the downloads directory