react-client icon indicating copy to clipboard operation
react-client copied to clipboard

Local doc backup

Open kleineLoesungen opened this issue 4 years ago • 4 comments

Describe the solution you'd like Download markdown documents of filtered history to selected local folder

Describe alternatives you've considered Download at default Download folder

kleineLoesungen avatar Jun 18 '21 14:06 kleineLoesungen

Please follow the complete issue template in the future, thank you.

You can already use https://github.com/hedgedoc/cli to download notes to markdown files.

As you talk about filters, you seem to want a button for that in the frontend. I'm not sure if browsers allow downloading multiple files in bulk/in a short timeframe. Maybe @hedgedoc/frontend has an idea? In any case, downloading would only be possible to your Downloads folder, as a web application in a normal browser cannot write into arbitrary locations on disk.

davidmehren avatar Jul 15 '21 18:07 davidmehren

We could create a zip file (in frontend or backend)

mrdrogdrog avatar Jul 15 '21 19:07 mrdrogdrog

You are allowed to download multiple files but the browser will warn you after the first file. An archive would make more sense.

mrdrogdrog avatar Jul 15 '21 19:07 mrdrogdrog

I think filtering takes place in the frontend, right? Would it make sense to move this issue to the frontend and use it to track a "download these notes" button, and then open another issue here to track implementation of a "give me these notes in a zip" API?

davidmehren avatar Jul 15 '21 19:07 davidmehren