Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers.
https://syncthing.net/| Installer Source| Releases (json) (tab)
Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers.
https://syncthing.net/| Installer Source| Releases (json) (tab)
To update or switch versions, run webi syncthing@stable
(or use @beta
for
pre-releases).
These are the files / directories that are created and/or modified with this install:
~/.config/envman/PATH.env
~/.local/bin/syncthing
~/.config/syncthing/
Syncthing is like a self-hosted Dropbox or Google Drive. It keeps data safe, secure, and accessible.
You can have multiple syncs and shares. The "Default Folder" is ~/Sync/
(ex:
/Users/me/Sync
).
Files are updated about every 30 seconds.
You can test that syncthing was installed correctly by checking it's version:
syncthing --version
If that works, you'll want to set your system launcher to run it on login. You can install and use serviceman to do this:
webi serviceman
mkdir -p ~/.config/syncthing/
env PATH="$PATH" serviceman add --user --name syncthing -- \
syncthing --home ~/.config/syncthing/
Serviceman is cross-platform and will create the correct launchd, systemd, or Windows Startup config file.
If successful your browser will open to http://127.0.0.1:8384/#settings-gui automatically.
You need to install syncthing on TWO OR MORE devices for it to be effective.
Go to http://127.0.0.1:8384/#settings-gui and make these changes:
You may also want to password protect the local GUI. It only runs on localhost by default, so this may not be strictly necessary.
Maybe.
Syncthing will try to use UPnP. Check your router config and make sure UPnP is enabled.
Otherwise, yes, forward both UDP and TCP ports 22000.
It can be useful for debugging and testing configuration to run syncthing from
your Terminal. Just run syncthing
pointing to the config directory:
syncthing --home ~/.config/syncthing/