Install

$ doas pkg_add prosody

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

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

Using mercurial?, download the modules:

$ hg clone https://hg.prosody.im/prosody-modules/ 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/