I’d like to sync my markdown notes between devices (laptop and phone), which service is better: Nextcloud or Syncthing? Any other important idea I should know?, like latency times, or maximum number of synced devices, what if I edit the same note from both places without internet and then both get connected to a network… For example, I know Nextcloud let me have a history of the notes.

  • beeng
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Git

    Then git pull rebase and commit. Done

    • ck_
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Does not have great UX on phones though.

      • beeng
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I made some Termux shortcut scripts in bash for it. Works well, but not for everybody ;)

        • ck_
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Never had merge conflicts I take it 😄

          • beeng
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            1 year ago

            My phone script is quite simple, and I set it up on cron, so I don’t get out of state very often. I handle if there could be conflicts via script on my Linux pc with stash and pull etc. Automated cron also

            • ck_
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              Yeah, and for that reason, I opted for syncthing instead of Git for this use case.

              • beeng
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                1 year ago

                I’ve not needed to deal with a conflict, it’s automated.

                But what’s the latency with syncthing or its instant?

                • ck_
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  1 year ago

                  Syncthing uses inotify to watch for changes, so it’s pretty much instant

                  • beeng
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    1 year ago

                    Might look into it if I get conflicts, thanks!