update the butter config.json for keanu/convene #7

Closed
opened 2026-03-18 19:05:17 +00:00 by nathan · 6 comments
Owner

{
"appName": "Message Board",
"appNames": {},
"productLink": "butterbox.local",
"defaultServer": "http://butterbox.local",
"defaultMatrixDomainPart": "butterbox.local",
"defaultBaseUrl": "http://butterbox.local",
"rtl": false,
"analytics": {
"enabled": false
}
}

{ "appName": "Message Board", "appNames": {}, "productLink": "butterbox.local", "defaultServer": "http://butterbox.local", "defaultMatrixDomainPart": "butterbox.local", "defaultBaseUrl": "http://butterbox.local", "rtl": false, "analytics": { "enabled": false } }
Owner

In: https://guardianproject.dev/butter/churn/src/branch/new_portal_changes/ansible/templates/keanu-weblite-config.json.j2

I currently have the following:
{
"appName": "Keanu on Butter Box",
"appNames": {},
"productLink": "{{ butter_name }}.local",
"defaultServer": "http://{{ butter_name }}.local",
"rtl": false,
"analytics": {
"enabled": false
}
}

I can change the app name to 'Message board', and I didn't see any documentation around the other options you reference (defaultMatrixDomainPart and defaultBaseUrl) so I will need to do some tests before integrating them.

In: https://guardianproject.dev/butter/churn/src/branch/new_portal_changes/ansible/templates/keanu-weblite-config.json.j2 I currently have the following: { "appName": "Keanu on Butter Box", "appNames": {}, "productLink": "{{ butter_name }}.local", "defaultServer": "http://{{ butter_name }}.local", "rtl": false, "analytics": { "enabled": false } } I can change the app name to 'Message board', and I didn't see any documentation around the other options you reference (defaultMatrixDomainPart and defaultBaseUrl) so I will need to do some tests before integrating them.
Author
Owner

Okay will get this info from n-pex:

defaultMatrixDomainPart
defaultBaseUrl

Okay will get this info from n-pex: defaultMatrixDomainPart defaultBaseUrl
Author
Owner

defaultMatrixDomainPart is what kind of usernames your server creates, i.e. the domain part like "@n8fr8:". It is then used to determine which matrix server to connect to, in the following priority order: 1. Config file entries in the "matrixDomainPartMapping" config value, 2. Auto discovery (https://matrix-org.github.io/matrix-js-sdk/classes/matrix.AutoDiscovery.html#findclientconfig), 3. defaultBaseUrl.

defaultMatrixDomainPart is what kind of usernames your server creates, i.e. the domain part like "@n8fr8:<thisonehere>". It is then used to determine which matrix server to connect to, in the following priority order: 1. Config file entries in the "matrixDomainPartMapping" config value, 2. Auto discovery (https://matrix-org.github.io/matrix-js-sdk/classes/matrix.AutoDiscovery.html#findclientconfig), 3. defaultBaseUrl.
Author
Owner

defaultMatrixDomainPart is same as "productLink" then
and
defaultBaseUrl is same as defaultServer

defaultMatrixDomainPart is same as "productLink" then and defaultBaseUrl is same as defaultServer
Author
Owner

I noticed that after I changed the hostname via the butter portal, the hostnames in the Dendrite config and Keanu/Convene config were not updated. They were stil set to "butterbox.local"

I noticed that after I changed the hostname via the butter portal, the hostnames in the Dendrite config and Keanu/Convene config were not updated. They were stil set to "butterbox.local"
Owner
Moved to https://guardianproject.dev/butter/butter-portal/issues/14
irl closed this issue 2026-04-06 10:20:22 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: butter/churn#7
No description provided.