garethgeorge / backrest

Backrest is a web UI and orchestrator for restic backup.
GNU General Public License v3.0
787 stars 31 forks source link

Tray/status menu icon on MacOS #331

Open rikroe opened 3 weeks ago

rikroe commented 3 weeks ago

First of all, thanks for the great tool, really helps to set up non-technical users to use restic as well!

Is your feature request related to a problem? Please describe. While installing with homebrew on Mac doesn't necessarily need an installer like on Windows, I would love to have a tray/status menu icon as well.

For non-technical users, the same idea applies also on MacOS: If the tray icon is available, backrest is running and the web UI can be opened manually.

I didn't want to spam the discussion in #283 so decided on a separate issue.

Describe the solution you'd like

294 intoduced a tray icon for Windows. I would like to see a status menu icon for MacOS as well.

Additional context No expert in Go or MacOS development. However it seems that most parts are already there:

garethgeorge commented 3 weeks ago

You've definitely noticed rightly that systray offers MacOS support and prototyping this out is definitely on the todo list (or a great start for a starter PR if anyone is particularly interested in this)! The state of installing and managing backrest on windows was really challenging which made it a priority, but IMO this is also very high value on MacOS so tray support is something I want to get to there too.

You've rightly noticed that most of the work for MacOS support would be cleaning up https://github.com/garethgeorge/backrest/blob/main/cmd/backrestmon/backrestmon.go and switching out some windows specific operations.