mautrix-facebook
by Helm
Helm chartv0.2.2App 0.4.1MIT
A Matrix-Facebook puppeting bridge.
About this chart
mautrix-facebook
A Matrix-Facebook puppeting bridge.
Homepage: https://matrix.to/#/#facebook:maunium.net
Maintainers
| Name | Url | |
|---|---|---|
| mcronce | [email protected] |
Source Code
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| config.appservice.address | string | "http://{{ include \"mautrix-facebook.fullname\" . }}" | The address that the homeserver can use to connect to this appservice. |
| config.appservice.as_token | string | "" | |
| config.appservice.bot_avatar | string | "mxc://maunium.net/ygtkteZsXnGJLJHRchUwYWak" | |
| config.appservice.bot_displayname | string | "Facebook bridge bot" | |
| config.appservice.bot_username | string | "facebookbot" | |
| config.appservice.database | string | "sqlite:////data/facebook.db" | |
| config.appservice.database_opts.max_size | int | 10 | |
| config.appservice.database_opts.min_size | int | 1 | |
| config.appservice.ephemeral_events | bool | false | |
| config.appservice.hostname | string | "0.0.0.0" | |
| config.appservice.hs_token | string | "" | |
| config.appservice.id | string | "facebook" | |
| config.appservice.max_body_size | int | 1 | |
| config.appservice.port | int | 80 | |
| config.appservice.public.allow_matrix_login | bool | true | |
| config.appservice.public.enabled | bool | false | |
| config.appservice.public.external | string | "" | |
| config.appservice.public.prefix | string | "/public" | |
| config.appservice.public.segment_key | string | nil | |
| config.appservice.public.shared_secret | string | "generate" | |
| config.bridge.allow_invites | bool | false | |
| config.bridge.backfill.disable_notifications | bool | false | |
| config.bridge.backfill.initial_limit | int | 0 | |
| config.bridge.backfill.invite_own_puppet | bool | true | |
| config.bridge.backfill.missed_limit | int | 1000 | |
| config.bridge.command_prefix | string | "!fb" | |
| config.bridge.delivery_receipts | bool | false | |
| config.bridge.disable_bridge_notices | bool | false | |
| config.bridge.displayname_preference[0] | string | "name" | |
| config.bridge.displayname_preference[1] | string | "first_name" | |
| config.bridge.displayname_template | string | "{displayname} (FB)" | |
| config.bridge.double_puppet_allow_discovery | bool | false | |
| config.bridge.double_puppet_server_map | object | {} | |
| config.bridge.encryption.allow | bool | false | |
| config.bridge.encryption.default | bool | false | |
| config.bridge.encryption.key_sharing.allow | bool | false | |
| config.bridge.encryption.key_sharing.require_cross_signing | bool | false | |
| config.bridge.encryption.key_sharing.require_verification | bool | true | |
| config.bridge.federate_rooms | bool | true | |
| config.bridge.initial_chat_sync | int | 20 | |
| config.bridge.invite_own_puppet_to_pm | bool | false | |
| config.bridge.login_shared_secret_map | object | {} | |
| config.bridge.mute_bridging | bool | false | |
| config.bridge.on_reconnection_fail.action | string | "reconnect" | |
| config.bridge.on_reconnection_fail.wait_for | int | 0 | |
| config.bridge.periodic_reconnect.always | bool | false | |
| config.bridge.periodic_reconnect.interval | int | -1 | |
| config.bridge.periodic_reconnect.min_connected_time | int | 0 | |
| config.bridge.periodic_reconnect.mode | string | "refresh" | |
| config.bridge.permissions | object | {} | |
| config.bridge.presence_from_facebook | bool | false | |
| config.bridge.relay.enabled | bool | false | |
| config.bridge.relay.message_formats."m.audio" | string | "<b>$sender_displayname</b> sent an audio file" | |
| config.bridge.relay.message_formats."m.emote" | string | "* <b>$sender_displayname<b> $message" | |
| config.bridge.relay.message_formats."m.file" | string | "<b>$sender_displayname</b> sent a file" | |
| config.bridge.relay.message_formats."m.image" | string | "<b>$sender_displayname</b> sent an image" | |
| config.bridge.relay.message_formats."m.location" | string | "<b>$sender_displayname</b> sent a location" | |
| config.bridge.relay.message_formats."m.notice" | string | "<b>$sender_displayname<b>: $message" | |
| config.bridge.relay.message_formats."m.text" | string | "<b>$sender_displayname</b>: $message" | |
| config.bridge.relay.message_formats."m.video" | string | "<b>$sender_displayname</b> sent a video" | |
| config.bridge.resend_bridge_info | bool | false | |
| config.bridge.resync_max_disconnected_time | int | 5 | |
| config.bridge.sandbox_media_download | bool | false | |
| config.bridge.sync_direct_chat_list | bool | false | |
| config.bridge.sync_on_startup | bool | true | |
| config.bridge.sync_with_custom_puppets | bool | true | |
| config.bridge.tag_only_on_create | bool | true | |
| config.bridge.temporary_disconnect_notices | bool | false | |
| config.bridge.update_avatar_initial_sync | bool | true | |
| config.bridge.username_template | string | "facebook_{userid}" | |
| config.facebook.carrier | string | "Verizon" | |
| config.facebook.connection_type | string | "WIFI" | |
| config.facebook.default_region_hint | string | "ODN" | |
| config.facebook.device_seed | string | "generate" | |
| config.facebook.hni | int | 311390 | |
| config.homeserver.address | string | "" | The address that this appservice can use to connect to the homeserver. |
| config.homeserver.asmux | bool | false | |
| config.homeserver.async_media | bool | false | |
| config.homeserver.domain | string | "" | The domain of the homeserver (for MXIDs, etc). |
| config.homeserver.http_retry_count | int | 4 | |
| config.homeserver.message_send_checkpoint_endpoint | string | nil | |
| config.homeserver.status_endpoint | string | nil | |
| config.homeserver.verify_ssl | bool | true | Whether or not to verify the SSL certificate of the homeserver. Only applies if address starts with https:// |
| config.logging.formatters.colored.() | string | "mautrix_facebook.util.ColorFormatter" | |
| config.logging.formatters.colored.format | string | "[%(asctime)s] [%(levelname)s@%(name)s] %(message)s" | |
| config.logging.formatters.normal.format | string | "[%(asctime)s] [%(levelname)s@%(name)s] %(message)s" | |
| config.logging.handlers.console.class | string | "logging.StreamHandler" | |
| config.logging.handlers.console.formatter | string | "colored" | |
| config.logging.handlers.file.backupCount | int | 10 | |
| config.logging.handlers.file.class | string | "logging.handlers.RotatingFileHandler" | |
| config.logging.handlers.file.filename | string | "./mautrix-facebook.log" | |
| config.logging.handlers.file.formatter | string | "normal" | |
| config.logging.handlers.file.maxBytes | int | 10485760 | |
| config.logging.loggers.aiohttp.level | string | "INFO" | |
| config.logging.loggers.mau.level | string | "DEBUG" | |
| config.logging.loggers.paho.level | string | "INFO" | |
| config.logging.root.handlers[0] | string | "file" | |
| config.logging.root.handlers[1] | string | "console" | |
| config.logging.root.level | string | "DEBUG" | |
| config.logging.version | int | 1 | |
| config.manhole.enabled | bool | false | |
| config.manhole.path | string | "/var/tmp/mautrix-facebook.manhole" | |
| config.manhole.whitelist[0] | int | 0 | |
| config.metrics.enabled | bool | true | |
| config.metrics.listen_port | int | 8000 | |
| deploymentAnnotations | object | {} | |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "dock.mau.dev/mautrix/facebook" | |
| image.tag | string | "v{{ .Chart.AppVersion }}" | |
| imagePullSecrets | list | [] | |
| ingress.annotations | object | {} | |
| ingress.class | string | nil | |
| ingress.enabled | bool | false | |
| ingress.hosts[0] | string | "chart-example.local" | |
| ingress.path | string | "/" | |
| ingress.tls | list | [] | |
| nameOverride | string | "" | |
| nodeSelector | object | {} | |
| persistence.accessMode | string | "ReadWriteOnce" | |
| persistence.enabled | bool | false | |
| persistence.existingClaim | string | "" | |
| persistence.size | string | "128Mi" | |
| persistence.storageClass | string | "" | |
| podAnnotations | object | {} | |
| podSecurityContext.sysctls[0].name | string | "net.ipv4.ip_unprivileged_port_start" | |
| podSecurityContext.sysctls[0].value | string | "0" | |
| probes.liveness.failureThreshold | int | 5 | |
| probes.liveness.periodSeconds | int | 10 | |
| probes.readiness.failureThreshold | int | 5 | |
| probes.readiness.periodSeconds | int | 10 | |
| probes.startup.failureThreshold | int | 30 | |
| probes.startup.initialDelaySeconds | int | 5 | |
| probes.startup.periodSeconds | int | 10 | |
| registration.as_token | string | nil | |
| registration.hs_token | string | nil | |
| registration.id | string | "facebook" | |
| registration.namespaces.users | list | [] | |
| registration.rate_limited | bool | false | |
| registration.sender_localpart | string | "facebookbot" | |
| registration.url | string | "http://{{ include \"mautrix-facebook.fullname\" . }}" | |
| replicaCount | int | 1 | |
| resources.limits.cpu | int | 1 | |
| resources.limits.memory | string | "128Mi" | |
| resources.requests.cpu | string | "100m" | |
| resources.requests.memory | string | "64Mi" | |
| securityContext | object | {} | |
| service.clusterIP | string | "None" | |
| service.externalTrafficPolicy | string | nil | |
| service.port | int | 80 | |
| service.type | string | "ClusterIP" | |
| serviceAccount.annotations | object | {} | |
| serviceAccount.create | bool | true | |
| serviceAccount.name | string | nil | |
| tolerations | list | [] |
Autogenerated from chart metadata using helm-docs v1.11.0
Deploy mautrix-facebook with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mautrix-facebook on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartmautrix-facebook is pinned at v0.2.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply