How do you deal with 'the cloud' not being under your control? Can you sync the documents from sharelatex to your local file system automatically?
You can also download your entire project as a zip archive, so you're not locked in to our platform in any way.
EDIT: also, ShareLatex is open source and fully self-hostable.