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

NameEmailUrl
mcronce[email protected]

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
config.appservice.addressstring"http://{{ include \"mautrix-facebook.fullname\" . }}"The address that the homeserver can use to connect to this appservice.
config.appservice.as_tokenstring""
config.appservice.bot_avatarstring"mxc://maunium.net/ygtkteZsXnGJLJHRchUwYWak"
config.appservice.bot_displaynamestring"Facebook bridge bot"
config.appservice.bot_usernamestring"facebookbot"
config.appservice.databasestring"sqlite:////data/facebook.db"
config.appservice.database_opts.max_sizeint10
config.appservice.database_opts.min_sizeint1
config.appservice.ephemeral_eventsboolfalse
config.appservice.hostnamestring"0.0.0.0"
config.appservice.hs_tokenstring""
config.appservice.idstring"facebook"
config.appservice.max_body_sizeint1
config.appservice.portint80
config.appservice.public.allow_matrix_loginbooltrue
config.appservice.public.enabledboolfalse
config.appservice.public.externalstring""
config.appservice.public.prefixstring"/public"
config.appservice.public.segment_keystringnil
config.appservice.public.shared_secretstring"generate"
config.bridge.allow_invitesboolfalse
config.bridge.backfill.disable_notificationsboolfalse
config.bridge.backfill.initial_limitint0
config.bridge.backfill.invite_own_puppetbooltrue
config.bridge.backfill.missed_limitint1000
config.bridge.command_prefixstring"!fb"
config.bridge.delivery_receiptsboolfalse
config.bridge.disable_bridge_noticesboolfalse
config.bridge.displayname_preference[0]string"name"
config.bridge.displayname_preference[1]string"first_name"
config.bridge.displayname_templatestring"{displayname} (FB)"
config.bridge.double_puppet_allow_discoveryboolfalse
config.bridge.double_puppet_server_mapobject{}
config.bridge.encryption.allowboolfalse
config.bridge.encryption.defaultboolfalse
config.bridge.encryption.key_sharing.allowboolfalse
config.bridge.encryption.key_sharing.require_cross_signingboolfalse
config.bridge.encryption.key_sharing.require_verificationbooltrue
config.bridge.federate_roomsbooltrue
config.bridge.initial_chat_syncint20
config.bridge.invite_own_puppet_to_pmboolfalse
config.bridge.login_shared_secret_mapobject{}
config.bridge.mute_bridgingboolfalse
config.bridge.on_reconnection_fail.actionstring"reconnect"
config.bridge.on_reconnection_fail.wait_forint0
config.bridge.periodic_reconnect.alwaysboolfalse
config.bridge.periodic_reconnect.intervalint-1
config.bridge.periodic_reconnect.min_connected_timeint0
config.bridge.periodic_reconnect.modestring"refresh"
config.bridge.permissionsobject{}
config.bridge.presence_from_facebookboolfalse
config.bridge.relay.enabledboolfalse
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_infoboolfalse
config.bridge.resync_max_disconnected_timeint5
config.bridge.sandbox_media_downloadboolfalse
config.bridge.sync_direct_chat_listboolfalse
config.bridge.sync_on_startupbooltrue
config.bridge.sync_with_custom_puppetsbooltrue
config.bridge.tag_only_on_createbooltrue
config.bridge.temporary_disconnect_noticesboolfalse
config.bridge.update_avatar_initial_syncbooltrue
config.bridge.username_templatestring"facebook_{userid}"
config.facebook.carrierstring"Verizon"
config.facebook.connection_typestring"WIFI"
config.facebook.default_region_hintstring"ODN"
config.facebook.device_seedstring"generate"
config.facebook.hniint311390
config.homeserver.addressstring""The address that this appservice can use to connect to the homeserver.
config.homeserver.asmuxboolfalse
config.homeserver.async_mediaboolfalse
config.homeserver.domainstring""The domain of the homeserver (for MXIDs, etc).
config.homeserver.http_retry_countint4
config.homeserver.message_send_checkpoint_endpointstringnil
config.homeserver.status_endpointstringnil
config.homeserver.verify_sslbooltrueWhether 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.formatstring"[%(asctime)s] [%(levelname)s@%(name)s] %(message)s"
config.logging.formatters.normal.formatstring"[%(asctime)s] [%(levelname)s@%(name)s] %(message)s"
config.logging.handlers.console.classstring"logging.StreamHandler"
config.logging.handlers.console.formatterstring"colored"
config.logging.handlers.file.backupCountint10
config.logging.handlers.file.classstring"logging.handlers.RotatingFileHandler"
config.logging.handlers.file.filenamestring"./mautrix-facebook.log"
config.logging.handlers.file.formatterstring"normal"
config.logging.handlers.file.maxBytesint10485760
config.logging.loggers.aiohttp.levelstring"INFO"
config.logging.loggers.mau.levelstring"DEBUG"
config.logging.loggers.paho.levelstring"INFO"
config.logging.root.handlers[0]string"file"
config.logging.root.handlers[1]string"console"
config.logging.root.levelstring"DEBUG"
config.logging.versionint1
config.manhole.enabledboolfalse
config.manhole.pathstring"/var/tmp/mautrix-facebook.manhole"
config.manhole.whitelist[0]int0
config.metrics.enabledbooltrue
config.metrics.listen_portint8000
deploymentAnnotationsobject{}
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"dock.mau.dev/mautrix/facebook"
image.tagstring"v{{ .Chart.AppVersion }}"
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.classstringnil
ingress.enabledboolfalse
ingress.hosts[0]string"chart-example.local"
ingress.pathstring"/"
ingress.tlslist[]
nameOverridestring""
nodeSelectorobject{}
persistence.accessModestring"ReadWriteOnce"
persistence.enabledboolfalse
persistence.existingClaimstring""
persistence.sizestring"128Mi"
persistence.storageClassstring""
podAnnotationsobject{}
podSecurityContext.sysctls[0].namestring"net.ipv4.ip_unprivileged_port_start"
podSecurityContext.sysctls[0].valuestring"0"
probes.liveness.failureThresholdint5
probes.liveness.periodSecondsint10
probes.readiness.failureThresholdint5
probes.readiness.periodSecondsint10
probes.startup.failureThresholdint30
probes.startup.initialDelaySecondsint5
probes.startup.periodSecondsint10
registration.as_tokenstringnil
registration.hs_tokenstringnil
registration.idstring"facebook"
registration.namespaces.userslist[]
registration.rate_limitedboolfalse
registration.sender_localpartstring"facebookbot"
registration.urlstring"http://{{ include \"mautrix-facebook.fullname\" . }}"
replicaCountint1
resources.limits.cpuint1
resources.limits.memorystring"128Mi"
resources.requests.cpustring"100m"
resources.requests.memorystring"64Mi"
securityContextobject{}
service.clusterIPstring"None"
service.externalTrafficPolicystringnil
service.portint80
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.createbooltrue
serviceAccount.namestringnil
tolerationslist[]

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartmautrix-facebook is pinned at v0.2.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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