The GUI files (HTML, CSS, Javascript, images, etc) are compiled into the syncthing binary at build time. This is very convenient for deployment, but not so much when developing the GUI (quick reloads) or if you want to do something custom.
Syncthing can be set to load files from a regular directory, replacing the compiled in versions. In order to do so, set the STGUIASSETS environment variable to point to a directory with the same layout as the original GUI directory.
$ STGUIASSETS=~/mygui syncthing
Files will be loaded first from ~/mygui, or if not found there served from the compiled in assets.
You don’t need to edit anything.
Just set the environment variable where your assets are.
Alternatively, you can modify existing assets and run ./build.sh assets or go run build.go assets
thank you.
Q1 : A device share [folder name aaa] set Folder master [0]
B device <==> A device aaa folder Sync Folder master[x]
C device <==> A device aaa folder Sync Folder master[x]
D device <==> A device aaa folder Sync Folder master[x]
data synced A => B
A => C
A => D
data transfer flow it that true?
how to share
A => B
B => C
C => D ?????