I need to copy many publically shared Google Drive folder with rclone, you might know there is a copy function on Google Drive webpage, why not use that?
(public folder ID)===(destination)
for example https://drive.google.com/drive/folders/1N7rmP_1y4eo8bc75muJQPHXss-GgR1ja has the folder ID 1N7rmP_1y4eo8bc75muJQPHXss-GgR1ja
(If you are wondering what is the file I linked, it's a known troll file contains all the Rick rolls you need.)
destination can be whatever file path you put into rclone, like "encrypted:Rick roll troll" (encrypted remote must be in rclone.conf you provided for that to work) or just "Rick roll troll", It doesn't need to have double quotes even if the path contains whitespace (at least on Windows 10), it looks like Node.JS adds double quotes itself.
If you don't have rclone(.exe) in your path environment variable, you need to change "rcloneCommand" in app.js to something like "C:/rclone/rclone.exe" or wherever rclone is located.
Sometimes you will get error messages in rclone and.... it might be fine, there is a issue that requires better fix but now have workaround.