yum install https://github.com/mlazarov/syncthing-centos/releases/download/v0.14.7/syncthing-0.14.7-0.el7.centos.x86_64.rpm
yum install -y yum-utils vim rpm-build rpmdevtools redhat-rpm-config make gcc gcc-c++ git
cd ~
git clone https://github.com/mlazarov/syncthing-centos.git rpmbuild/
mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
cd ~/rpmbuild/SOURCES/
wget https://github.com/syncthing/syncthing/releases/download/v0.14.7/syncthing-linux-amd64-v0.14.7.tar.gz
cd ~/rpmbuild/SPECS/
rpmbuild -bb syncthing.spec
sudo systemctl start syncthing@<username>
You can now access the GUI through this URL: http://localhost:8080