+-------------------------------------------------------------------------------
| Running mautrix-whatsapp on OpenBSD
+-------------------------------------------------------------------------------

Requirements
============

To be able to run mautrix-whatsapp, you will need the following things:
- a Matrix homeserver that supports application services (e.g. synapse)
- a WhatsApp client running on a phone or in an emulated Android VM.

Configuring mautrix-whatsapp
======================

Copy example-config.yaml to config.yaml
Update the config to your liking.

You need to make sure that the address and domain field point to your homeserver
You will also need to add your user of admin user under the permissions section.

Generate the appservice registration file by running mautrix-whatsapp -g

You can use the -c and -r flags to change the location of the config and
registration files. They default to config.yaml and registration.yaml in
/var/whatsapp.

Add the path to the registration file to your synapse homeserver.yaml under
app_service_config_files. You will then need to restart the synapse server.
Remember to restart it every time the registration file is regenerated.
