It’s been discussed a few times, here and on Github. It’s out of scope for Syncthing. Here are some links to get you started.