• klangcola@reddthat.com
    link
    fedilink
    arrow-up
    10
    ·
    9 months ago

    With everything stored in a single file, does that mean you need to close Treedome on ComputerA before it can by synced to ComputerB?

    If computerA makes an edit in one note while computer B makes an edit in another note, does that create a sync conflict? (Assuming syncing with Nextcloud, syncThing or similar)?

    • tengkuizdihar@programming.devOP
      link
      fedilink
      arrow-up
      3
      ·
      9 months ago

      Yes, there will be conflict if you use it in two different computer, and those two different computer have different changes at the same time, and then sync it. For now to avoid any sync error:

      • use it one computer at a time
      • always sync it whenever you’ve made change in it
      • Fenzik@lemmy.ml
        link
        fedilink
        arrow-up
        5
        ·
        9 months ago

        That’s actually a big negative compared to Obsidian. It’s just a bunch of markdown files in a folder, so you can sync them using e.g. git and manage conflicts that way

        • tengkuizdihar@programming.devOP
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          9 months ago

          True, but for me the non encrypted (they say its encrypted but i dont really trust it) and proprietary is a big turn off for me. I dont want my notes, which are a definite extension of my mind, to be owned/used/stored by someone else that have “profit first” in mind.

          • Fenzik@lemmy.ml
            link
            fedilink
            arrow-up
            2
            ·
            9 months ago

            That’s only with Sync. But the notes are just markdown, so you can also just use GitHub or whatever to sync them. They never need to hit Obsidian’s servers, and that’s actually the default because you have to pay for Sync.

      • catloaf
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        9 months ago

        Oof. I hope you’re locking the file when one client opens it, then, else you’re going to have people inadvertently wrecking their data.

        The project page says you’re using sqlite, though, which should already support multiple clients. Are you just completely rewriting the database instead of using transactional updates?

        • tengkuizdihar@programming.devOP
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          This app is never intended to be used by multiple people. The way i sync right now is using a manual upload/download. The .note file is sqlite, but you should treat it as a note file for a single person.