I did the same thing over the past few weeks, along with some other self-hosted apps to get rid of as many SaaS dependencies as possible, DropBox being one of them. Fairly easy to install, but someone would need to write the "glue" to piece everything together for it to really take off.