a-Shell-commands icon indicating copy to clipboard operation
a-Shell-commands copied to clipboard

Add syncthing to a-Shell

Open n0name-o0o0 opened this issue 1 year ago • 4 comments

i just need it to sync some files their github link https://github.com/syncthing/syncthing or can you tell me how to execute it? my tries: 2D35D18B-2195-4E18-A513-3BB3E2C47169

n0name-o0o0 avatar Feb 02 '24 09:02 n0name-o0o0

Hi, by sheer luck, I just tried to compile it yesterday. It is coded in Go, and Go does not work well with cross-compiling (it says it does, but it does not in practice). I managed to compile it to 30 % before I encountered a package that is not written for cross-compiling; at this point the building stops and there is no way to go further.

Globally, the status of sync commands is:

  • rsync: covered by the GPL, so not possible on the AppStore.
  • rclone: written in Rust, same problem as syncthing: some packages on which it depends are not written for cross-compiling.
  • syncthing: written in Go, some packages on which it depends are not written for cross-compiling.

It is intensely frustrating for me, and I understand it is also frustrating for you.

holzschu avatar Feb 02 '24 10:02 holzschu

emm,i see.but is there any another way to run syncthing without using the [close-source business soft] of synctjing?

n0name-o0o0 avatar Feb 02 '24 11:02 n0name-o0o0

Not that I know of. You can scp or sftp files to a remote directory, or use git to synchronize files, but that's not the same.

holzschu avatar Feb 02 '24 12:02 holzschu

There is also unison . But it's written in OCaml and the license is GPL v3...

rafo avatar Feb 05 '24 16:02 rafo