Hosting HTML using Scratch as a CDN.
Fuck you, that's why
Remix the main project
Enter the HTML you would like to serve into encoder.js' "content" variable and output will be logged. Copy the full output to the block "set encodedcontent to" and then run the stack it is in. This will upload the content to the server for delivery!
Please do not use the encodeContent or decodeContent scratch blocks as those are out of date and have issues! Please do not use them, but instead encode content with encoder.js and copy paste it for upload.
Not entirely sure how long the history will last, but it looks long enough to be a valid storage. Then, modify main.js' "usedID" variable to reflect that of your scratch project.
Rerunning the sendToCloud will break the project. If you wish to edit, remix the project again and run through setup again with modified code. Edit the scratch ID in main.js again to match it. fixed in #2
Lowercase only seems to be an issue right now. May be resolved later. I do not know.
You must also have the "Scratcher" role to run this project! Those without access to cloud variables cannot use this! "New Scratcher" will not cut it!
There is a length limit. While it is very large, I am not aware of it.