Prosody is a XMPP (aka jabber) server, that aims to be simple and fast. It's written in lua.

$ doas pkg_add prosody

Read /usr/local/share/doc/pkg-readmes/prosody

# echo "~	*	*	*	*	acme-client -v && cp /etc/ssl/{,private/} /etc/prosody/certs/ && chown _prosody:_prosody /etc/prosody/certs/{crt,key}" >> /var/cron/tabs/root

Using mercurial?, download the modules:

$ hg clone prosody-modules
$ doas mkdir -p /usr/local/lib/prosody/extras/
$ doas cp -R mod_auto_accept_subscriptions mod_cloud_notify mod_csi mod_deny_omemo mod_group_bookmarks mod_http_upload mod_message_logging mod_muc_log mod_roster_allinall mod_roster_command mod_smacks mod_support_contact mod_throttle_presence mod_block_registrations mod_muc_limits mod_filter_chatstates mod_muc_ban_ip mod_captcha_registration mod_support_room mod_throttle_unsolicited mod_bookmarks mod_firewall /usr/local/lib/prosody/extras/