I feel compelled to mention that Zotero [1] has been around for ages, has clients for most platforms, it's as FLOSS as it gets[2], and you are free to self-host if that's something you'd like.
It is a great tool. I do wish I could self host, though, and I wish the db were just an index of md files (and maybe json for bibliographic details).