Hi!
You are right, there is no out-of-the-box way to share your files via a link with other users. This is also a huge thing for me. For this reason, I came up with this solution that works, if you have a server that is always online:
- Install syncthing on all your machines
- Prepare a special public folder
- Let Apache (or another webserver) access and provide the files in this folder, but forbid directory listing. If someone wants to access a file in there, they have to have the full, correct URL
- Run a cronjob every minute that checks for new files. If a new file is available, create a text file that contains the link to the file on the server in the publically available directory (this is just for convenience, so you do not have to struggle with typos when you want to give the URL to someone). Save the textfile under a practical name, i.e. original-filename.syncthing_meta.txt in the public directory. For this, I use a simple Python script.
- Syncthing will sync back your file and if you have to give the link to someone, you simply look it up in the file on your local machine. You can also have SHA256 hash sums of the file in the meta file and provide this to the recipient, too, if checking the file is a matter in your case.
Cheers