I’ve been using termux more and more and I found out syncthing works really well in it.
Combined with Tasker it makes for a really neat sync-when-charging solution, which is 10 different shades of awesome.
I did try various FOSS and free tasker alternatives but they just weren’t reliable.