TurboWarp / extensions

User-contributed unsandboxed extension gallery for TurboWarp
https://extensions.turbowarp.org/
MIT License
114 stars 233 forks source link

[UPGRADE SUGGESTION] Local Storage easy management. #1669

Open Cuphead74832 opened 4 weeks ago

Cuphead74832 commented 4 weeks ago

Hello! I am working on a personal project which uses the Local Storage Extension to save data, but browsers cannot keep this data forever so i had to make a data export/import system, which is a pain because everytime i add a new key to the savefile since project is not a singular .sb3 it is a pain to add this new key to all the files.

So i wish you could just do like the rxFS extension and "export/import" the entire loaded workspace as well as a one block that can completely erase all the keys for resetting the workspace much easier.

An Example:

Export currently loaded workspace [Block Type: Value] Import workspace from (VALUEBOXGOESHERE) to currently loaded workspace

[This would first erase the contents of the existing keys in the cookie when it confirms the data present is actually a valid import]

Reset currently loaded workspace keys. [Self-explanatory]

Yeah i wish this is added as would make the local storage more flexible.

snowboyz0825 commented 3 weeks ago

You could do some stuff with GitHub or some server hosting website and have it upload the save (which you'll likely have to do manually unless someone creates an extension that can mess with repositories) and then have every project fetch it from the raw

Cuphead74832 commented 3 weeks ago

You could do some stuff with GitHub or some server hosting website and have it upload the save (which you'll likely have to do manually unless someone creates an extension that can mess with repositories) and then have every project fetch it from the raw

Yeah, but thats hard so with this update it will no only make my life easier, it would make others too!