https://github.com/ad-on-is/resticity

Hey guys,

I’ve been building a frontend for restic the past couple of weeks, and it’s at the stage where the app is finally ready and usable. So I wanted to share it with the world. Oh, and it’s FOSS of course.

It’s intended to be used either as a cross-platform desktop app (built using wails) or to be run in a Docker container, for homelab uses, etc.

PRs and feature requests are more than welcome :-)

Right now, I could also use some help for distributing it across the different platforms, AUR, Flatpak, etc.

I hope you guys like it. Cheers!

  • trevor@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    I’ve been trying to create an AUR package for this, but can’t figure out how to build more than just the server backend (based off of the Dockerfile). Is there a way to build it without wails? I can’t get that to work in the PKGBUILD.

    • adONis@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

      I just made a PKGBUILD and commited it to the repo. Would you mind having a quick look at it and see if it’s good enough?

      Right now, I’m looking through the docs of the AUR on how to publish it.

      • fredix@jlai.lu
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        Hi @ad_on_is@lemmy.world ! Thanks for resticity and your PKGBUILD. However, I have to modify it and replace “packaging/resticity.desktop” with “$startdir/resticity.png” and “packaging/resticity.desktop” with “$startdir/resticity.desktop”

        Anyway, seems to works, I can push a backup, but when I go to repositories, resticity try to get snapshots (LOADING Snapshots) and failed with this error : “json: slice unexpected end of JSON input” Thanks for your help.

      • trevor@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        Thank you for making a PKGBUILD for this!

        I just tried it, but I have the same issue when I was attempting to build mine:

        ...
          -> Downloading 1.0.0.tar.gz...
          % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                         Dload  Upload   Total   Spent    Left  Speed
          0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
          0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--   100  331k    0  331k    0     0   408k      0 --:--:-- --:--:-- --:--:--  880k
        ==> Validating source files with sha256sums...
            1.0.0.tar.gz ... Passed
        ==> Extracting sources...
          -> Extracting 1.0.0.tar.gz with bsdtar
        ==> Starting prepare()...
        go: downloading github.com/wailsapp/wails v1.16.9
        ==> Starting build()...
        /var/home/trevor/git/PKGBUILD: line 34: wails: command not found
        ==> ERROR: A failure occurred in build().
            Aborting...
        

        I’m not familiar enough with wails to know how to build without it.

        If you require it as a dependency, it would only work for Arch users with the AUR enabled, as it wails doesn’t seem to be in the main repositories.

        • trevor@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          Ah. I see that you’re installing wails with go. I guess the problem is that $GOBIN may not be set for everyone, myself included.

          • adONis@lemmy.worldOP
            link
            fedilink
            arrow-up
            1
            ·
            4 months ago

            Sorry, didn’t see this comment… Yes, it’s a $GOBIN issue… I’ve updated the PKGBUILD accordingly

        • adONis@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          4 months ago

          Oh wait… sorry, I forgot about it, but env GOBIN and GOPATH need to be set properly… and then wails should be invoked with $GOBIN/wails build