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

  • @iflyspaceships
    link
    English
    36 months ago

    I think i had trouble with the git plugin on android and ended up not using it. I used Termux instead and just used a couple of homescreen shortcuts to scripts to pull and push. Theres 100% a simpler way, but that’s what workes for me.

    • FacniOP
      link
      fedilink
      1
      edit-2
      6 months ago

      Can it merge files in conflict?

      • @iflyspaceships
        link
        English
        26 months ago

        Probably. Its the same full git you would have in any other linux distro. The only time I had a conflict, I just stashed the changes because they were minor. From then, Ive just had to be vigilante about remembering which device has the latest vault. Im not awesome at git, unfortunately .

  • @Jocarnail
    link
    English
    26 months ago

    I do use git standalone to sync between devices, but not with android. I have tried the plugin and didn’t work well for my workflow

  • @jshank
    link
    English
    26 months ago

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

    • FacniOP
      link
      fedilink
      1
      edit-2
      6 months ago

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

      • @[email protected]
        link
        fedilink
        English
        26 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.

        • FacniOP
          link
          fedilink
          1
          edit-2
          6 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.

          • @[email protected]
            link
            fedilink
            English
            26 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.

    • FacniOP
      link
      fedilink
      1
      edit-2
      6 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

    • FacniOP
      link
      fedilink
      2
      edit-2
      6 months ago

      I’ve tried it, but it wasn’t what I need. I still love FOSS anyway.

      • @[email protected]
        link
        fedilink
        English
        16 months ago

        I use obsidian but with the remotely community plugin synced to my onedrive.
        But it also supports s3 storage which can be aquired for cheap on some free accounts with aws, gcp, oracle, etc.