leopard-js / leopard

Library for making Scratch-like projects with JavaScript.
https://leopardjs.com
MIT License
136 stars 26 forks source link

CodeSandbox has semi-strict rate limiting, one-per-request asset loading is unfriendly for large projects #175

Open towerofnix opened 1 year ago

towerofnix commented 1 year ago

A couple people have ran into issues with their assets suddenly not loading correctly or at all:

CodeSandbox is a good online project editor, but doesn't like that we request every asset individually. Besides moving off of there, we could investigate an alternate asset loading mode where all (or some) assets are loaded from a "pack" (which would probably just be a zip file decoded in-browser).

Roughly pertinent to #172; see also #133.