morris / vanilla-todo

A case study on viable techniques for vanilla web development.
https://morris.github.io/vanilla-todo/
ISC License
1.17k stars 54 forks source link

Backup / Restore #11

Closed rdggithub closed 3 months ago

rdggithub commented 1 year ago

I'm using some simple Bookmarklets to backup/restore the local storage of this app to/from JSON... would be great to see this implemented via the UI.

PS: I'm actually using this for my private stuff, pretty cool, thank you for creating it!

morris commented 10 months ago

Hi, thanks for the idea! Can you point me to resources on how something like this could be implemented? And another question: Wouldn't this be covered by setting up browser syncing as provided by most popular browsers? Cheers!

rdggithub commented 10 months ago

I'm using those from https://github.com/todvora/localstorage-backup

Browser syncing would mean I'm giving away the data, although it may be encrypted from what I read. Personally I prefer to locally backup it, since I have no requirement for syncing to other devices, too.

It's not an important enhancement, I guess, but you put that much effort into the script, I'd love it to be useful to some more people. And for me the backup function was crucial when deciding to work with it.

Again, thank you very much for sharing!

morris commented 3 months ago

Finally got around to it :) thanks for the idea & enjoy!

rdggithub commented 3 months ago

Very cool, thank you!