I’ve been a fan of GnuCash, especially double accounting and multi-currency. But the lack of having an online version limited me. I couldn’t share anything. My CPA couldn’t take a look at it etc.
There is self-hosted PHP app named Firefly III [1] that supports double-entry bookkeeping system. If by "sharing" you mean "logging on your account at different computer/phone" then it should work. There are user accounts, but only to use same installation without sharing data.
I keep my GnuCash file in an encfs-encrypted Dropbox Folder. As long as you don't try to edit it from two devices simultaneously, this works quite well.
Advice there?