• darkawower@alien.topOPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    I am currently working on my own note synchronization server (I need it because I plan to try to integrate CRDT in the future).

    I would also like to mention that currently notes are not encrypted on the client side. However, I also plan to implement this in the future.

    I do not plan to integrate third-party synchronization mechanisms, but I will be working on an API that allows for custom extensions. With this API, developers will be able to create their own note synchronization mechanisms

    • mlk@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      IMHO the best way would be using git, which is literally made to resolve this kind of conflicts and it’s very battle tested. I’ve always had issues syncing notes until I switched to git.

      • darkawower@alien.topOPB
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 months ago

        As far as I know, git can’t be used for real-time synchronization and simultaneous collaborative editing. But I’ll give it some thought

        • mlk@alien.topB
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 months ago

          is simultaneous collaborative editing a real need though? I’d say org notes are usually edited by a single person, often from multiple devices, unless you are trying to create a Google Docs competitor, I don’t think that’s a feature that is actually needed.

          git also has the advantage of complete history and easy rollbacks.

          I’ve given up using Orgzly because the syncing is atrocious, it has restored deleted notes multiple times. I’m now using Organice with gitlab backend and it works very well.

          • darkawower@alien.topOPB
            link
            fedilink
            English
            arrow-up
            1
            ·
            10 months ago

            I need to think about it. The server functionality is also needed to share notes, although it may be possible to combine it with git storage as well

            • meedstrom@alien.topB
              link
              fedilink
              English
              arrow-up
              1
              ·
              10 months ago

              For what it’s worth, I collaborate with 1 other person, and for me it’d be sufficient if you simply alerted the user that someone else is currently editing the notes, locking them until the other user is done. What’s a much bigger problem is if someone edits the notes offline tries to sync them later!

          • meedstrom@alien.topB
            link
            fedilink
            English
            arrow-up
            1
            ·
            10 months ago

            I do collaborate on org notes with a partner! I agree with you that true simultaneous editing is unnecessary, but it’d be nice if the app flagged that someone else is currently editing the notes and locked them until the other person is done.