You're about to change the internet. Let's get you setup, shall we?
The diaspora account you create can be used as a matrix account or xmpp account as well.
Look at config/diaspora.yml.example
and config/database.yml.example
for help.
Diaspora is free and open source. You can run it on your own.
Your data is yours. Diaspora is built around privacy.