Is anyone using the Obsidian Git plugin or another git solution to sync with Android? If so, How did you get it to work?

  • jshank@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    If your looking for sync but ok with not having git, Obsidian LiveSync is amazing and works quite well on Android.

    • Facni@kbin.socialOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      5 months ago

      I’ve been watching it since it launch, but Git version control and hosting is better for my use case.

      • timbuck2themoon@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 months ago

        Honestly, from what I read about the git plugin they don’t even really recommend running it on mobile.

        I’ve used syncthing and remotely-save on two separate vaults. Syncthing is fine but battery drain is a real problem on mobile. Remotely-save with S3 (minio or the like) seems pretty good so far. I might actually use the latter overall since it seems way, way better on battery. Assuming you use minio and have bucket versioning turned on, it’s “git-lite” to some degree (ie. at least saves changes to the files as such- certainly not as browseable as normal git, etc.)

        What I do in addition to all this is just do git init on the vault and commit at times (ie. when I think of it or before doing big changes, etc.)

        Not sure if it fits your use case but it’s the best I found unless you really need commits every X minutes for whatever changes you did in a git repo.

        • Facni@kbin.socialOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          5 months ago

          Syncthing is fine but battery drain

          I used to use it, but my phone model isn’t famous because of it battery, sadly.

          Remotely-save with S3 (minio or the like) seems pretty good so far.

          LiveSyn can use S3 too insead of Couchdb but I will give a look to remotely-save.

          • timbuck2themoon@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 months ago

            Oh yeah- I meant to add that I tried Livesync and two things I didn’t like about it- it didn’t seem to work nearly as well with S3. I assume it can use couchDB well but I don’t have one stood up and no real interest in standing one up for just that.

            The other thing was (at least from what I could see) is that it saves your files in some kind of weird way (maybe encrypted, or packed/zipped, unsure.) So basically it should work well to maybe purely sync (and it didn’t even do that for me on S3- it just never seemed to pick up changes for some reason) but if you deleted something and wanted to restore it or view it, you couldn’t really do that via the minio UI (or at all.)

            Remotely-save just saves the vault as it looks to the human eye- ie. just all the markdown files in plain text, etc. etc. I preferred that to the opaque way of livesync but that is pure user preference.

    • Facni@kbin.socialOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      5 months ago

      I have been rethinking about what you said. But, I have some questions:
      Do LiveSync handles version control (Like Obsidian-Git or the official sync)?
      If not, Do you use or know about a compatible tool or something?

      Could I use Git for backups and version control (In one device) and LiveSync for synching with my other devices?
      (I know you said,
      > but ok with not having git

      But I still wonder if there is a way to do it. Where do they fail working togheter? )

      EDIT:
      Can we use github plugin to backup our vault along with livesync plugin? #232