I use xmpp. It happens to be a great fit for a private family messaging service. Good interoperability between modern clients. I get that “nobody uses it” is hyperbole, but the internet is a big place and there is room for services without mass market appeal to thrive.
You might check job listings in your region/country to figure out what languages and technology stacks are in high demand, as where you are seems to matter a lot.