This is really cool! Thanks for sharing - going to give it a go.
Similarly, I took a stab not too long ago at attempting to replace my Dropbox [1] - I opted for an implementation using Git and FSWatch.
Pro: version control for your files
Con: more expensive and takes more storage