emuell / restic-browser

A GUI to browse and restore restic backup repositories.
MIT License
722 stars 22 forks source link

WebUI #125

Open jsaathof opened 1 month ago

jsaathof commented 1 month ago

Would it be possible to serve this from a web server? I have seen #37 which was closed due to the use of Wails. Has this changed with the use of Tauri?

emuell commented 1 month ago

In theory, it would be possible to display the UI in your default browser instead of using a webkit app, yes.

But what exactly would be the use case for that?

jsaathof commented 1 month ago

As I host my repositories on a headless server I would like to be able to browse the repositories from there. I wouldn't require an app to view the repositories on the client.

emuell commented 1 month ago

I see. There is no "official" option for Tauri either. It might be possible to make this work with a bunch of hacks, but I personally don't think it's worth the effort, as you can also create an ssh tunnel to the repository files.

Assuming the Restic browser GUI would run on a headless server, it would still only have access to the headless server's file system, and it would not be possible to open file dialogs. Also previews of file's won't work either as they get launched on the server.

You could also try running Restic browser via xvfb. However, this requires a lot of GUI dependencies on the server.

vinavon commented 4 weeks ago

Would be great if has web ui, I'm using restic for backup webserver.