I thought the same thing! I started looking for a self-hosted alternative straight away.
But it needs more work to be useful to me. For instance, I don't always want to save the contents of the webpage, but just the link along with some notes or tags.
I use it now for almost 5 years and have more than 10 thousands bookmarks in it. If there is any interest, I will put it up on Github.