For those interested in alternative social networks there is that website that is called the-federation.info, which collects some statistics of “The Fediverse”. The biggest part of the fediverse is Mastodon, but there are other projects (or parts) like Friendica or Matrix that do “federation”. One of the oldest projects doing federation is XMPP. You could find some Prosody servers for some time now, because there is a Prosody module “mod_nodeinfo2” that can be used. But for ejabberd there is no such module (yet?) so far, which makes it a little bit difficult to get listed on the-federation.info.
Some days ago I wrote a small script to export the needed values to x-nodeinfo2 that is queried by the-federation.info. It’s surely not the best script or solution for that job and is currently limited to ejabberd servers that use a PostgreSQL database as backend, although it should be fairly easy to adapt the script for use with MySQL. Well, at least it does its job. At least as there is no native ejabberd module for this task.
You can find the script on Github: https://github.com/ingoj/ejabberd-nodeinfo2
Enjoy it and register your ejabberd server on the-federation.info! 🙂