Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use filesystem API to write directly into the users filesystem #46

Open
shardros opened this issue Apr 19, 2022 · 0 comments
Open

Use filesystem API to write directly into the users filesystem #46

shardros opened this issue Apr 19, 2022 · 0 comments
Labels
good first issue low-priority Things which would be nice to do but don't really effect the user sheep Pull requests which effect code or building of vue components

Comments

@shardros
Copy link
Member

shardros commented Apr 19, 2022

Downloading the file each time is a good backup but is messy and anoying for the users.

The filesystem API can be used to write directly into the users file system
https://developer.mozilla.org/en-US/docs/Web/API/FileSystem

This is better than local-in-browser storage because it means the backup will be persistant even if the user clears their browser data.

We can use this to ask for filesystem permisions from the user and then we can write directly into their file system and take backups of their code that way.

#43 probally still wants to be done by downloading a zip/

@shardros shardros added low-priority Things which would be nice to do but don't really effect the user sheep Pull requests which effect code or building of vue components good first issue labels Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue low-priority Things which would be nice to do but don't really effect the user sheep Pull requests which effect code or building of vue components
Projects
None yet
Development

No branches or pull requests

1 participant