An extension to automate the uploading of new API and custom sheet code to the API and sheet sandbox.
Roll20 API and Sheet Autouploader Extension
Do you build API scripts or character sheets on Roll20? This script will automate the upload of your code to the Roll20 sandboxes. Use your favorite code editor or IDE and let the Autouploader take care of updating the code on Roll20. Tell the extension what directory to monitor when you open a sheet sandbox game on Roll20 and it will take care of updating your HTML, CSS, and translation files in the sandbox as you save changes.
This initial release only supports character sheet file upload to the sheet sandbox. The API upload functionality is in the works.
PLEASE NOTE:
The auto uploader is compatible with most chromium browsers, however Brave has disabled the File System Access API that powers the extension. Other chromium browsers may have also disabled this API.
Read more
This initial release only supports character sheet file upload to the sheet sandbox. The API upload functionality is in the works.
PLEASE NOTE:
The auto uploader is compatible with most chromium browsers, however Brave has disabled the File System Access API that powers the extension. Other chromium browsers may have also disabled this API.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Roll20 API and Sheet Autouploader", "description": "An extension to automate the uploading of new API and custom sheet code to the API and sheet sandbox.", "version": "1.00", "manifest_version": 3, "icons": { "32": "32icon.png", "48": "48icon.png", "128": "128icon.png" }, "content_scripts":[ { "matches":["*://app.roll20.net/editor/","*://app.roll20staging.net/editor/"], "js":["contentScript.js"] } ], "web_accessible_resources":[ { "resources":["campaignInject.js","campaignInject.css","apiInject.js","interface.css","sheetDialog.js"], "matches":["*://*.roll20.net/*","*://*.roll20staging.net/*"] } ]}
Read more