mautrix-telegram
by halkeye
Helm chartv1.0.1App latestMIT
A Matrix-Telegram hybrid puppeting/relaybot bridge - https://matrix.to/#/#telegram:maunium
About this chart
mautrix-telegram
A Matrix-Telegram hybrid puppeting/relaybot bridge - https://matrix.to/#/#telegram:maunium
Homepage: https://github.com/mautrix/telegram
Maintainers
| Name | Url | |
|---|---|---|
| Gavin Mogan | [email protected] |
Source Code
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| config.appservice | object | {} | |
| config.bridge.alias_template | string | "telegram_{groupname}" | |
| config.bridge.allow_matrix_login | bool | true | |
| config.bridge.animated_sticker.args.background | string | "020202" | |
| config.bridge.animated_sticker.args.fps | int | 30 | |
| config.bridge.animated_sticker.args.height | int | 256 | |
| config.bridge.animated_sticker.args.width | int | 256 | |
| config.bridge.animated_sticker.target | string | "gif" | |
| config.bridge.bot_messages_as_notices | bool | true | |
| config.bridge.bridge_notices.default | bool | false | |
| config.bridge.bridge_notices.exceptions[0] | string | "@importantbot:example.com" | |
| config.bridge.command_prefix | string | "!tg" | |
| config.bridge.deduplication.cache_queue_length | int | 20 | |
| config.bridge.deduplication.pre_db_check | bool | false | |
| config.bridge.displayname_max_length | int | 100 | |
| config.bridge.displayname_preference[0] | string | "full name" | |
| config.bridge.displayname_preference[1] | string | "username" | |
| config.bridge.displayname_preference[2] | string | "phone number" | |
| config.bridge.displayname_template | string | "{displayname} (Telegram)" | |
| config.bridge.emote_format | string | "* $mention $formatted_body" | |
| config.bridge.federate_rooms | bool | true | |
| config.bridge.filter.list | list | [] | |
| config.bridge.filter.mode | string | "blacklist" | |
| config.bridge.image_as_file_size | int | 10 | |
| config.bridge.initial_power_level_overrides.group | object | {} | |
| config.bridge.initial_power_level_overrides.user | object | {} | |
| config.bridge.inline_images | bool | false | |
| config.bridge.login_shared_secret | string | nil | |
| config.bridge.max_document_size | int | 100 | |
| config.bridge.max_initial_member_sync | int | -1 | |
| config.bridge.max_telegram_delete | int | 10 | |
| config.bridge.message_formats."m.audio" | string | "<b>$sender_displayname</b> sent an audio file: $message" | |
| config.bridge.message_formats."m.emote" | string | "* <b>$sender_displayname</b> $message" | |
| config.bridge.message_formats."m.file" | string | "<b>$sender_displayname</b> sent a file: $message" | |
| config.bridge.message_formats."m.image" | string | "<b>$sender_displayname</b> sent an image: $message" | |
| config.bridge.message_formats."m.location" | string | "<b>$sender_displayname</b> sent a location: $message" | |
| config.bridge.message_formats."m.notice" | string | "<b>$sender_displayname</b>: $message" | |
| config.bridge.message_formats."m.text" | string | "<b>$sender_displayname</b>: $message" | |
| config.bridge.message_formats."m.video" | string | "<b>$sender_displayname</b> sent a video: $message" | |
| config.bridge.parallel_file_transfer | bool | false | |
| config.bridge.permissions.* | string | "relaybot" | |
| config.bridge.plaintext_highlights | bool | false | |
| config.bridge.public_portals | bool | true | |
| config.bridge.relaybot.authless_portals | bool | true | |
| config.bridge.relaybot.group_chat_invite | list | [] | |
| config.bridge.relaybot.ignore_own_incoming_events | bool | true | |
| config.bridge.relaybot.ignore_unbridged_group_chat | bool | true | |
| config.bridge.relaybot.private_chat.invite | list | [] | |
| config.bridge.relaybot.private_chat.message | string | "This is a Matrix bridge relaybot and does not support direct chats" | |
| config.bridge.relaybot.private_chat.state_changes | bool | true | |
| config.bridge.relaybot.whitelist[0] | string | "myusername" | |
| config.bridge.relaybot.whitelist[1] | int | 12345678 | |
| config.bridge.relaybot.whitelist_group_admins | bool | true | |
| config.bridge.skip_deleted_members | bool | true | |
| config.bridge.startup_sync | bool | true | |
| config.bridge.state_event_formats.join | string | "<b>$displayname</b> joined the room." | |
| config.bridge.state_event_formats.leave | string | "<b>$displayname</b> left the room." | |
| config.bridge.state_event_formats.name_change | string | "<b>$prev_displayname</b> changed their name to <b>$displayname</b>" | |
| config.bridge.sync_channel_members | bool | true | |
| config.bridge.sync_dialog_limit | int | 30 | |
| config.bridge.sync_direct_chats | bool | false | |
| config.bridge.sync_matrix_state | bool | true | |
| config.bridge.sync_with_custom_puppets | bool | true | |
| config.bridge.telegram_link_preview | bool | true | |
| config.bridge.username_template | string | "telegram_{userid}" | |
| config.logging.formatters.colored.() | string | "mautrix_telegram.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.loggers.aiohttp.level | string | "INFO" | |
| config.logging.loggers.mau.level | string | "DEBUG" | |
| config.logging.loggers.telethon.level | string | "INFO" | |
| config.logging.root.handlers[0] | 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-telegram.manhole" | |
| config.manhole.whitelist[0] | int | 0 | |
| config.metrics.enabled | bool | true | |
| config.metrics.listen_port | int | 8000 | |
| config.telegram.api_hash | string | nil | |
| config.telegram.api_id | string | nil | |
| config.telegram.bot_token | string | "disabled" | |
| config.telegram.connection.flood_sleep_threshold | int | 60 | |
| config.telegram.connection.request_retries | int | 5 | |
| config.telegram.connection.retries | int | 5 | |
| config.telegram.connection.retry_delay | int | 1 | |
| config.telegram.connection.timeout | int | 120 | |
| config.telegram.device_info.app_version | string | "auto" | |
| config.telegram.device_info.device_model | string | "auto" | |
| config.telegram.device_info.lang_code | string | "en" | |
| config.telegram.device_info.system_lang_code | string | "en" | |
| config.telegram.device_info.system_version | string | "auto" | |
| config.telegram.proxy.address | string | "127.0.0.1" | |
| config.telegram.proxy.password | string | "" | |
| config.telegram.proxy.port | int | 1080 | |
| config.telegram.proxy.rdns | bool | true | |
| config.telegram.proxy.type | string | "disabled" | |
| config.telegram.proxy.username | string | "" | |
| config.telegram.server.dc | int | 2 | |
| config.telegram.server.enabled | bool | false | |
| config.telegram.server.ip | string | "149.154.167.40" | |
| config.telegram.server.port | int | 80 | |
| deploymentAnnotations | object | {} | |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "Always" | |
| image.repository | string | "dock.mau.dev/mautrix/telegram" | |
| image.tag | string | "latest" | |
| imagePullSecrets | list | [] | |
| ingress.annotations | object | {} | |
| ingress.enabled | bool | false | |
| ingress.hosts[0].host | string | "chart-example.local" | |
| ingress.hosts[0].paths | list | [] | |
| ingress.ingressClassName | string | nil | |
| ingress.tls | list | [] | |
| nameOverride | string | "" | |
| nodeSelector | object | {} | |
| podAnnotations | object | {} | |
| podSecurityContext.fsGroup | int | 1000 | |
| 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 | |
| replicaCount | int | 1 | |
| resources | object | {} | |
| securityContext.runAsGroup | int | 1000 | |
| securityContext.runAsUser | int | 1000 | |
| service.externalTrafficPolicy | string | nil | |
| service.type | string | "ClusterIP" | |
| serviceAccount.annotations | object | {} | |
| serviceAccount.create | bool | true | |
| serviceAccount.name | string | nil | |
| strategy.rollingUpdate | string | nil | |
| strategy.type | string | "Recreate" | |
| tolerations | list | [] |
Autogenerated from chart metadata using helm-docs v1.5.0
Deploy mautrix-telegram with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mautrix-telegram 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-telegram is pinned at v1.0.1 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