Destinations
Where deliveries can go. Admins set them up once, and editors choose from them.
Before you start
Make a key with openssl rand -base64 32, put it and your address in .env, and restart.
QUACKUI_PUBLIC_URL=https://bi.example.com
QUACKUI_SECRET_KEY=the-key-you-made
The key encrypts destination secrets. Back it up apart from the database. If it is lost, every destination’s secrets must be entered again.
Server, port, TLS or STARTTLS, optional sign-in, and a sender address. Certificates are always verified. Without encryption you can’t set a username or password. Limit recipients to certain domains if you wish.
Slack
- Create a Slack app with the bot scopes
chat:writeandfiles:write. - Install it and copy the bot token.
- Invite the bot to each channel it will post to.
- Add the destination and press Test.
Webhook
An HTTPS address and a signing secret. Requests go only to public addresses, and redirects aren’t followed. For a host on your network, list it in QUACKUI_DELIVERY_ALLOWED_HOSTS. It still needs HTTPS with a certificate that verifies.
For a private certificate authority, mount its certificate in the api container and set NODE_EXTRA_CA_CERTS to it.
Verify a webhook has receiver code.
Change one
Leave a secret blank to keep it. Changing the server, port, username or webhook address, or weakening TLS, asks for the secrets again. Any change cancels attempts that haven’t been sent.
